public class ExportProfileAction extends AbstractAction
Modifier and Type | Field and Description |
---|---|
private String |
prefPattern |
private Preferences |
prefs |
private String |
schemaKey |
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 |
---|
ExportProfileAction(Preferences prefs,
String schemaKey,
String prefPattern)
Constructs a new
ExportProfileAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent ae) |
private File |
askUserForCustomSettingsFile() |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private final String prefPattern
private final transient Preferences prefs
public ExportProfileAction(Preferences prefs, String schemaKey, String prefPattern)
ExportProfileAction
.prefs
- preferencesschemaKey
- filename prefixprefPattern
- preference key pattern used to determine which entries are exportedpublic void actionPerformed(ActionEvent ae)
private File askUserForCustomSettingsFile()