freemind.modes.mindmapmode.actions
Class UndoAction
java.lang.Object
javax.swing.AbstractAction
freemind.modes.mindmapmode.actions.FreemindAction
freemind.modes.mindmapmode.actions.xml.AbstractXmlAction
freemind.modes.mindmapmode.actions.UndoAction
- All Implemented Interfaces:
- ActorXml, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Direct Known Subclasses:
- RedoAction
public class UndoAction
- extends AbstractXmlAction
- implements ActorXml
- See Also:
- Serialized Form
Field Summary |
protected java.util.Vector |
actionPairList
|
protected static java.util.logging.Logger |
logger
|
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
actionPairList
protected java.util.Vector actionPairList
logger
protected static java.util.logging.Logger logger
UndoAction
public UndoAction(MindMapController controller)
UndoAction
protected UndoAction(MindMapController adapter,
java.lang.String text,
javax.swing.Icon icon,
MindMapController mode)
isUndoAction
public boolean isUndoAction()
xmlActionPerformed
protected void xmlActionPerformed(java.awt.event.ActionEvent arg0)
- Specified by:
xmlActionPerformed
in class AbstractXmlAction
informUndoPartner
protected void informUndoPartner(ActionPair pair)
undoDoAction
protected void undoDoAction(ActionPair pair)
act
public void act(freemind.controller.actions.generated.instance.XmlAction action)
- Specified by:
act
in interface ActorXml
getDoActionClass
public java.lang.Class getDoActionClass()
- Specified by:
getDoActionClass
in interface ActorXml
setEnabled
public void setEnabled(boolean arg0)
- Specified by:
setEnabled
in interface javax.swing.Action
- Overrides:
setEnabled
in class javax.swing.AbstractAction
add
public void add(ActionPair pair)
clear
public void clear()
print
public void print()