|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
com.anthonyeden.lib.gui.RedoAction
A UI action for redo.
Field Summary |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
RedoAction(javax.swing.undo.UndoManager undoManager)
Construct a new RedoAction which uses the given UndoManager for managing undos and redos. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an ActionEvent occurs. |
void |
executeRedo()
Execute the redo. |
void |
setUndoAction(UndoAction undoAction)
Set the undo action. |
void |
updateRedoState()
Update the redo state in the UndoManager. |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RedoAction(javax.swing.undo.UndoManager undoManager)
undoManager
- The UndoManagerMethod Detail |
public void setUndoAction(UndoAction undoAction)
undoAction
- The undo actionpublic void executeRedo()
public void actionPerformed(java.awt.event.ActionEvent e)
e
- The ActionEventpublic void updateRedoState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |