viewtify.preference
Preferences.Preference
<V
>
V
>V
kiss.Variable
V
Preference value.
requirements
ListFunctionV
, V
FunctionV
, V
Requirements.
Preference
(V
defaultValue
)
V
defaultValue
)V defaultValue |
Hide constructor.
require
(FunctionV
, V
requirement
)
PreferenceV
FunctionV
, V
requirement
)V
Function requirement |
|
Preference |
Chainable API. |
Add requirement on this preference.
syncTo
(ConsumerV
target
)
PreferenceV
ConsumerV
target
)V
Consumer target |
|
Preference |
Synchronize value to the target sink.
syncTo
(kiss.WiseFunctionV
, R
converter
, ConsumerR
target
)
PreferenceV
kiss.WiseFunctionV
, R
converter
, ConsumerR
target
)V
R |
|
kiss.WiseFunction converter |
|
Consumer target |
|
Preference |
Synchronize value to the target sink.
reset
()
void
Reset to the default value.
setDefault
(V
defaultValue
)
void
V
defaultValue
)V defaultValue |
Change the default value.