public abstract class AbstractPreferencesAction extends AbstractApplicationAction
This action is called when the user selects the Preferences item in the Application menu. The menu item is automatically created by the application.
If you want this behavior in your application, you have to create an action
with this ID and put it in your ApplicationModel
in method
ApplicationModel.initApplication(org.jhotdraw.app.Application)
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Constructor and Description |
---|
AbstractPreferencesAction(Application app)
Creates a new instance.
|
dispose, getApplication, installApplicationListeners, isEnabled, setEnabled, uninstallApplicationListeners, updateApplicationEnabled
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener
public static final java.lang.String ID
public AbstractPreferencesAction(Application app)