viewtify.ui.helper
VisibleHelper
<Self
>
Self
>Self
VisibleHelper
The type of the implementing class, enabling method chaining.
AbstractChart
Self
,C
,D
AbstractComboBox
T
,Self
,W
AbstractPane
E
,P
,Self
EnhancedCanvas
UIButton
UICheckBox
UICheckSwitch
UIChoiceBox
T
UIColorPicker
UIComboBox
T
UIComboCheckBox
T
UIDatePicker
UIFlowView
E
UIFontPicker
UIGridView
E
UIHBox
UIImage
UILabel
UILineChart
X
,Y
UIListView
E
UIMenuItem
M
UIPane
UIPieChart
UIProgressBar
UIScrollPane
UISegmentedButton
UISelectPane
UISlidePane
UISlider
UISpinner
T
UISplitPane
UIStackPane
UITabPane
UITableView
RowV
UITextArea
UIText
V
UITileView
E
UIToggleButton
UIToolBar
UITreeTableView
RowV
UIVBox
UIWeb
UserInterface
Self
,W
An interface providing methods for managing the visibility and opacity of a UI element.
show
(boolean
state
)
Self
boolean
state
)boolean state |
The visibility state. |
Self |
The implementing class instance for method chaining. |
Manages the visibility and opacity of the UI element.
isManaged
()
boolean
boolean |
True if managed, false otherwise. |
Checks if the UI element is managed.
managed
(boolean
state
)
Self
boolean
state
)boolean state |
The management state. |
Self |
The implementing class instance for method chaining. |
Manages the UI element.
isVisible
()
boolean
boolean |
True if visible, false otherwise. |
Checks if the UI element is visible.
visible
(boolean
state
)
Self
boolean
state
)boolean state |
The visibility state. |
Self |
The implementing class instance for method chaining. |
Sets the visibility of the UI element.
visibleWhen
(ValueHelper?
, V
context
, PredicateV
condition
)
Self
ValueHelper?
, V
context
, PredicateV
condition
)V |
The type of the condition. |
ValueHelper context |
The context for the condition. |
Predicate condition |
The condition to determine visibility. |
Self |
The implementing class instance for method chaining. |
Sets the visibility of the UI element based on a condition.
visibleWhen
(kiss.SignalBoolean
condition
, kiss.SignalBoolean
conditions
)
Self
kiss.SignalBoolean
condition
, kiss.SignalBoolean
conditions
)kiss.Signal condition |
The main condition. |
kiss.Signal conditions |
Additional conditions. |
Self |
The implementing class instance for method chaining. |
Sets the visibility of the UI element based on a condition and additional conditions.
visibleWhen
(kiss.VariableBoolean
condition
)
Self
kiss.VariableBoolean
condition
)kiss.Variable condition |
A timing condition. |
Self |
Chainable API. |
Show itself when the specified condition is True, and hide it when False.
visibleWhen
(javafx.beans.value.ObservableValueBoolean
condition
)
Self
javafx.beans.value.ObservableValueBoolean
condition
)javafx.beans.value.ObservableValue condition |
A timing condition. |
Self |
Chainable API. |
Show itself when the specified condition is True, and hide it when False.
visibleDuring
(long
time
, TimeUnit
unit
)
Self
long
time
, TimeUnit
unit
)long time |
A time value. |
TimeUnit unit |
A time unit. |
Self |
Chainable API. |
Show itself for a specified time.
visibleDuring
(long
time
, ChronoUnit
unit
)
Self
long
time
, ChronoUnit
unit
)long time |
A time value. |
ChronoUnit unit |
A time unit. |
Self |
Chainable API. |
Show itself for a specified time.
visibleBriefly
()
Self
Self |
Chainable API. |
Show itself for a bit.
isInvisible
()
boolean
boolean |
A result. |
Gets whether it is invisible.
invisible
(boolean
state
)
Self
boolean
state
)boolean state |
A invisible state. |
Self |
Chainable API. |
Hide itself.
invisibleWhen
(ValueHelper?
, V
context
, PredicateV
condition
)
Self
ValueHelper?
, V
context
, PredicateV
condition
)V |
|
ValueHelper context |
|
Predicate condition |
A timing condition. |
Self |
Chainable API. |
Hide itself when the specified condition is True, and show it when False.
invisibleWhen
(kiss.SignalBoolean
condition
, kiss.SignalBoolean
conditions
)
Self
kiss.SignalBoolean
condition
, kiss.SignalBoolean
conditions
)kiss.Signal condition |
A timing condition. |
kiss.Signal conditions |
Additional timing conditions. |
Self |
Chainable API. |
Hide itself when the specified condition is True, and show it when False.
invisibleWhen
(kiss.VariableBoolean
condition
)
Self
kiss.VariableBoolean
condition
)kiss.Variable condition |
A timing condition. |
Self |
Chainable API. |
Hide itself when the specified condition is True, and show it when False.
invisibleWhen
(javafx.beans.value.ObservableValueBoolean
condition
)
Self
javafx.beans.value.ObservableValueBoolean
condition
)javafx.beans.value.ObservableValue condition |
A timing condition. |
Self |
Chainable API. |
Hide itself when the specified condition is True, and show it when False.
invisibleDuring
(long
time
, TimeUnit
unit
)
Self
long
time
, TimeUnit
unit
)long time |
A time value. |
TimeUnit unit |
A time unit. |
Self |
Chainable API. |
Hide itself for a specified time.
invisibleDuring
(long
time
, ChronoUnit
unit
)
Self
long
time
, ChronoUnit
unit
)long time |
A time value. |
ChronoUnit unit |
A time unit. |
Self |
Chainable API. |
Hide itself for a specified time.
invisibleBriefly
()
Self
Self |
Chainable API. |
Hide itself for a bit.
opacity
(double
value
)
Self
double
value
)double value |
|
Self |
Set the opacity of this UI.