viewtify.ui
View
AutoDisposablekiss.Disposablekiss.ExtensibleUserInterfaceProviderNode
IDSeparatorString
The human-readable ID separator.
View()
Use class name as view name.
declareUI()ViewDSL
ViewDSL |
Declare user interface.
initialize()void
Initialize View.
name()String
String |
Compute human-readable name for this view. Default is simple class name.
id()String
String |
Compute computer-awarable identifier for this view.
title()kiss.VariableString
Stringkiss.Variable |
The title of this View.
icon()String
String |
The icon of this View.
ui()Node
Node |
findRootView()View
View |
The root view. |
Returns the root View.
findAncestorView(ClassVviewType)kiss.VariableV
ClassVviewType)VV |
|
ClassviewType |
|
kiss.Variable |
The typed |
Returns the nearest ancestor typed View.
findAncestorView(PredicateViewcondition)kiss.VariableView
PredicateViewcondition)ViewPredicatecondition |
A condition to match. |
kiss.Variable |
A found |
Finds the nearest ancestor view that meets the specified criteria.
findUI(ClassTtype)kiss.SignalT
ClassTtype)TT |
|
Classtype |
|
kiss.Signal |
Finds all declared UI by the specified type.
screen()javafx.stage.Screen
javafx.stage.Screen |
The Screen which this |
Returns the Screen which this View is displayed.
stage()kiss.Variablejavafx.stage.Stage
javafx.stage.Stagekiss.Variable |
Find Stage of this View.
centerize(ScreenSelectorscreenSelector)void
ScreenSelectorscreenSelector)ScreenSelectorscreenSelector |
show()void
Force to show the current application window which this View is displayed.
blink()void
Force to blink the current application window which this View is displayed.
visible(booleanvisibility)void
booleanvisibility)booleanvisibility |
Config view visibility.
en(Stringtext, Objectcontext)kiss.VariableString
Stringtext, Objectcontext)StringStringtext |
Your english text. |
Objectcontext |
|
kiss.Variable |
Localized text. |
Create the localized text. (base lang is english)
vandalize()void
supportAutomaticDispose()boolean
boolean |