public class EditablePreferenceGroup extends EditablePropertyGroup<EditablePreferenceProperty> implements EditablePreferenceProperty
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TABBED_SUFFIX
The suffix for the tab index preference property.
|
nameTag, propertyList, tabbedPROPERTY_VALUE| Constructor and Description |
|---|
EditablePreferenceGroup(java.lang.String nameTag,
boolean tabbed)
Create a preference group.
|
EditablePreferenceGroup(java.lang.String nameTag,
boolean tabbed,
EditablePreferenceProperty... properties)
Create a preference group.
|
| 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.
|
addProperty, addValueChangeListener, addValueChangeListenerWeakly, getEditorProvider, getName, getNameTag, getTabIndex, propertyIterator, removeValueChangeListener, removeValueChangeListenerWeakly, setTabIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEditorProvider, getNameaddValueChangeListener, addValueChangeListenerWeakly, removeValueChangeListener, removeValueChangeListenerWeaklypublic static final java.lang.String TABBED_SUFFIX
public EditablePreferenceGroup(@NotNull java.lang.String nameTag, boolean tabbed)
nameTag - the name tagtabbed - are there tabs to create for each added property?public EditablePreferenceGroup(@NotNull java.lang.String nameTag, boolean tabbed, EditablePreferenceProperty... properties)
nameTag - the name tagtabbed - are there tabs to create for each added property?properties - preferences to collect in this grouppublic 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