public class SimpleLongPreferenceProperty extends SimpleLongProperty implements LongPreferenceProperty
PROPERTY_VALUE
Constructor and Description |
---|
SimpleLongPreferenceProperty(java.lang.String basicName)
Constructor.
|
SimpleLongPreferenceProperty(java.lang.String basicName,
long initialValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
readFrom(java.util.prefs.Preferences preferences)
Read the property value from the preferences.
|
void |
storeTo(java.util.prefs.Preferences preferences)
Store the current property value in the preferences.
|
getValue, setValue, setValue
addValueChangeListener, addValueChangeListenerWeakly, firePropertyChange, fireValueChange, fireValueChange, fireValueChange, getBasicName, getPropertyName, removeValueChangeListener, removeValueChangeListenerWeakly
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addValueChangeListener, addValueChangeListenerWeakly, removeValueChangeListener, removeValueChangeListenerWeakly
public SimpleLongPreferenceProperty(@NotNull java.lang.String basicName)
basicName
- basic property name or prefixpublic SimpleLongPreferenceProperty(@NotNull java.lang.String basicName, long initialValue)
basicName
- basic property name or prefixinitialValue
- initial valuepublic void readFrom(@NotNull java.util.prefs.Preferences preferences)
readFrom
in interface PreferenceProperty
preferences
- preferences from where to read the property valuepublic void storeTo(@NotNull java.util.prefs.Preferences preferences)
storeTo
in interface PreferenceProperty
preferences
- preferences where to store the property value