viewtify.ui
View
AutoDisposable
kiss.Disposable
kiss.Extensible
UserInterfaceProvider
Node
IDSeparator
String
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
String
kiss.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
(ClassV
viewType
)
kiss.VariableV
ClassV
viewType
)V
V
|
|
Class viewType |
|
kiss.Variable |
The typed |
Returns the nearest ancestor typed View
.
findAncestorView
(PredicateView
condition
)
kiss.VariableView
PredicateView
condition
)View
Predicate condition |
A condition to match. |
kiss.Variable |
A found |
Finds the nearest ancestor view that meets the specified criteria.
findUI
(ClassT
type
)
kiss.SignalT
ClassT
type
)T
T |
|
Class type |
|
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.Stage
kiss.Variable |
Find Stage of this View
.
centerize
(ScreenSelector
screenSelector
)
void
ScreenSelector
screenSelector
)ScreenSelector screenSelector |
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
(boolean
visibility
)
void
boolean
visibility
)boolean visibility |
Config view visibility.
en
(String
text
, Object
context
)
kiss.VariableString
String
text
, Object
context
)String
String text |
Your english text. |
Object context |
|
kiss.Variable |
Localized text. |
Create the localized text. (base lang is english)
vandalize
()
void
supportAutomaticDispose
()
boolean
boolean |