viewtify.preference
Preferences
kiss.Extensible
kiss.Storable
Preferences
name
PreferenceString
String
The user defined name.
container
kiss.Storable
The grouping container.
Preferences
()
Hide constructor.
initialize
(V
defaultValue
)
PreferenceV
V
defaultValue
)V
V |
|
V defaultValue |
The default value. (non-null) |
Preference |
A created new |
Create Preference
with the default value.
initialize
(C
defaultValue
)
ComparablePreferenceC
C
defaultValue
)C
C
|
|
C defaultValue |
The default value. |
ComparablePreference |
A created new |
Create Preference
with the default value.
initialize
(int
defaultValue
)
IntPreference
int
defaultValue
)int defaultValue |
The default value. |
IntPreference |
A created new |
Create Preference
with the default value.
initialize
(long
defaultValue
)
LongPreference
long
defaultValue
)long defaultValue |
The default value. |
LongPreference |
A created new |
Create Preference
with the default value.
initialize
(double
defaultValue
)
DoublePreference
double
defaultValue
)double defaultValue |
The default value. |
DoublePreference |
A created new |
Create Preference
with the default value.
initialize
(kiss.VariableV
defaultValue
)
PreferenceV
kiss.VariableV
defaultValue
)V
V |
|
kiss.Variable defaultValue |
The default value. (non-null) |
Preference |
A created new |
Create Preference
with the default value.
store
()
Preferences
Preferences |
observe
()
kiss.SignalObject
Object
kiss.Signal |
Observe the value change events.
reset
()
void
Reset all values to default.
locate
()
Path
Path |
of
(ClassP
type
)
P
ClassP
type
)P
|
|
Class type |
|
P |
Search the user preference of the specified type.
of
(ClassP
type
, String
name
)
P
ClassP
type
, String
name
)P
|
|
Class type |
|
String name |
|
P |
Search the user preference of the specified type and name.
all
(ClassP
type
)
javafx.collections.ObservableListP
ClassP
type
)P
P
|
|
Class type |
|
javafx.collections.ObservableList |
Search all user preferences of the specified type.
save
(ClassP
type
)
void
ClassP
type
)P
|
|
Class type |
Save the specified user preferences.
reload
()
void
Reload all preferences.
theme
()
Theme
Theme |
Shorthand method to access theme.