public final class GoalBackAction extends MainWindowAction
| Modifier and Type | Field and Description |
|---|---|
private boolean |
longName |
private static long |
serialVersionUID |
mainWindow, SHORTCUT_KEY_MASKchangeSupport, 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 |
|---|
GoalBackAction(MainWindow mainWindow,
boolean longName)
creates an undo action
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
init()
Registers the action at some listeners to update its status
in a correct fashion.
|
private void |
setBackMode() |
getMediator, getName, isSelected, setAcceleratorKey, setAcceleratorLetter, setIcon, setName, setSelected, setTooltipaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprivate static final long serialVersionUID
private boolean longName
public GoalBackAction(MainWindow mainWindow, boolean longName)
longName - a boolean true iff the long name should be shown (e.g. in
MenuItems)public void init()
private void setBackMode()
public void actionPerformed(ActionEvent e)