public class RedoAction extends CayenneAction
alwaysOn, applicationchangeSupport, enabledACCELERATOR_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 |
|---|
RedoAction(Application application) |
| Modifier and Type | Method and Description |
|---|---|
KeyStroke |
getAcceleratorKey()
Returns keyboard shortcut for this action.
|
static String |
getActionName() |
String |
getIconName()
Returns the name of the icon that should be used for buttons.
|
boolean |
isAlwaysOn()
Returns true if this action is always enabled.
|
void |
performAction(ActionEvent e)
Subclasses must implement this method instead of
actionPerformed to
allow for exception handling. |
void |
setEnabled(boolean b)
Overrides super implementation to take into account "alwaysOn" flag.
|
actionPerformed, buildButton, buildCheckBoxMenu, buildMenu, createIcon, enableForPath, getApplication, getCurrentProject, getKey, getProjectController, setAlwaysOn, setNameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListenerpublic RedoAction(Application application)
public void setEnabled(boolean b)
CayenneActionsetEnabled in interface ActionsetEnabled in class CayenneActionpublic boolean isAlwaysOn()
CayenneActionisAlwaysOn in class CayenneActionpublic static String getActionName()
public KeyStroke getAcceleratorKey()
CayenneActionnull.getAcceleratorKey in class CayenneActionpublic String getIconName()
CayenneActionRESOURCE_PATH. Default implementation returns
null.getIconName in class CayenneActionpublic void performAction(ActionEvent e)
CayenneActionactionPerformed to
allow for exception handling.performAction in class CayenneActionCopyright © 2001–2015 Apache Cayenne. All rights reserved.