public final class EditUserPreferencesAction extends AbstractAction
Related preferences are grouped together and placed in
a single pane of a JTabbedPane, which corresponds to an
implementation of PreferencesEditor
. Values are pre-populated with
current values for preferences.
Most preferences have default values. If so, a Restore Defaults button is provided for that set of related preferences.
Preferences are not changed until the OK button is pressed. Exception: the logging preferences take effect immediately, without the need for hitting OK.
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
EditUserPreferencesAction(JFrame aFrame,
List<PreferencesEditor> aPrefEditors)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent event)
Display the user preferences dialog.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public EditUserPreferencesAction(JFrame aFrame, List<PreferencesEditor> aPrefEditors)
aFrame
- parent window to which this dialog is attached.aPrefEditors
- contains implementations of PreferencesEditor
,
each of which is placed in a pane of a JTabbedPane.public void actionPerformed(ActionEvent event)
Copyright Hirondelle Systems - License - Generated 2013Sep20.10.58