viewtify.ui.helper
VerifyHelper
<Self
>
Self
>Self
VerifyHelper
Self
AbstractChart
Self
,C
,D
AbstractComboBox
T
,Self
,W
AbstractPane
E
,P
,Self
UIButton
UICheckBox
UICheckSwitch
UIChoiceBox
T
UIColorPicker
UIComboBox
T
UIComboCheckBox
T
UIDatePicker
UIFlowView
E
UIFontPicker
UIGridView
E
UIHBox
UIImage
UILabel
UILineChart
X
,Y
UIListView
E
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
verifier
()
Verifier
Verifier |
Retrieve the associated Verifier
.
valid
()
Self
Self |
Chainable API. |
Mark as valid.
invalid
(Object
message
)
Self
Object
message
)Object message |
Details of the problem. |
Self |
Chainable API. |
Mark as invalid.
invalid
(kiss.VariableString
message
)
Self
kiss.VariableString
message
)kiss.Variable message |
Details of the problem. |
Self |
Chainable API. |
Mark as invalid.
isValid
()
kiss.SignalBoolean
Boolean
kiss.Signal |
Get the current validity. true if all conditions registered in this verifier are met, otherwise returns false.
isInvalid
()
kiss.SignalBoolean
Boolean
kiss.Signal |
Get the current validity. false if all conditions registered in this verifier are met, otherwise returns true.
verify
(Object
prerequisiteDescription
, Predicate?
Self
verifier
)
Self
Object
prerequisiteDescription
, Predicate?
Self
verifier
)Object prerequisiteDescription |
Description of Requirements. This will be displayed as an error message if the condition is not met. |
Predicate verifier |
Definition of Requirements. |
Self |
Chainable API. |
Register the specified verifier. Thereafter, this verification will be performed at every
specified timing (#verifyWhen(Signal...)
). The verification results can be obtained
by using #isValid()
or #isInvalid()
.
verifyBy
(kiss.WiseRunnable
verifier
)
Self
kiss.WiseRunnable
verifier
)kiss.WiseRunnable verifier |
Definition of Requirements. |
Self |
Chainable API. |
Register the specified verifier. Thereafter, this verification will be performed at every
specified timing (#verifyWhen(Signal...)
). The verification results can be obtained
by using #isValid()
or #isInvalid()
.
verifyBy
(kiss.WiseConsumer?
Self
verifier
)
Self
kiss.WiseConsumer?
Self
verifier
)kiss.WiseConsumer verifier |
Definition of Requirements. |
Self |
Chainable API. |
Register the specified verifier. Thereafter, this verification will be performed at every
specified timing (#verifyWhen(Signal...)
). The verification results can be obtained
by using #isValid()
or #isInvalid()
.
verifyBy
(D
one
, kiss.WiseConsumerD
verification
)
Self
D
one
, kiss.WiseConsumerD
verification
)D
|
|
D one |
|
kiss.WiseConsumer verification |
|
Self |
verifyBy
(D
one
, D
other
, kiss.WiseBiConsumerD
, D
verification
)
Self
D
one
, D
other
, kiss.WiseBiConsumerD
, D
verification
)D
|
|
D one |
|
D other |
|
kiss.WiseBiConsumer verification |
|
Self |
verifyWhen
(kiss.Signal?
timings
)
Self
kiss.Signal?
timings
)kiss.Signal timings |
Timing of verification. |
Self |
Chainable API. |
Register with the timing of the verification. The verification results can be obtained by
using #isValid()
or #isInvalid()
.
verifyWhenChanging
(ValueHelper
timings
)
Self
ValueHelper
timings
)ValueHelper timings |
Timing of verification. |
Self |
Chainable API. |
Register with the timing of the verification. The verification results can be obtained by
using #isValid()
or #isInvalid()
.
validAll
(VerifyHelper?
base
, VerifyHelper?
values
)
kiss.SignalBoolean
VerifyHelper?
base
, VerifyHelper?
values
)Boolean
VerifyHelper base |
|
VerifyHelper values |
|
kiss.Signal |
Combine conditional state.
invalidAny
(VerifyHelper?
base
, VerifyHelper?
values
)
kiss.SignalBoolean
VerifyHelper?
base
, VerifyHelper?
values
)Boolean
VerifyHelper base |
|
VerifyHelper values |
|
kiss.Signal |
Combine conditional state.