public class SimpleBytePreferenceProperty extends SimpleByteProperty implements BytePreferenceProperty
PROPERTY_VALUE| Constructor and Description |
|---|
SimpleBytePreferenceProperty(java.lang.String basicName)
Constructor.
|
SimpleBytePreferenceProperty(java.lang.String basicName,
byte value)
Constructor.
|
SimpleBytePreferenceProperty(java.lang.String basicName,
int initialValue)
Convenience 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, setValueaddValueChangeListener, addValueChangeListenerWeakly, firePropertyChange, fireValueChange, fireValueChange, fireValueChange, getBasicName, getPropertyName, removeValueChangeListener, removeValueChangeListenerWeaklyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetValueaddValueChangeListener, addValueChangeListenerWeakly, removeValueChangeListener, removeValueChangeListenerWeaklypublic SimpleBytePreferenceProperty(@NotNull java.lang.String basicName)
basicName - basic property name or prefixpublic SimpleBytePreferenceProperty(@NotNull java.lang.String basicName, int initialValue)
basicName - basic property name or prefixinitialValue - initialValue, only the lower 8 bits are usedpublic SimpleBytePreferenceProperty(@NotNull java.lang.String basicName, byte value)
basicName - name or name prefixvalue - initial valuepublic void readFrom(@NotNull java.util.prefs.Preferences preferences)
readFrom in interface PreferencePropertypreferences - preferences from where to read the property valuepublic void storeTo(@NotNull java.util.prefs.Preferences preferences)
storeTo in interface PreferencePropertypreferences - preferences where to store the property value