ptolemy.gui
Class UndoListener.UndoAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ptolemy.gui.UndoListener.UndoAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Enclosing class:
UndoListener

protected class UndoListener.UndoAction
extends javax.swing.AbstractAction

Perform the undo action.

See Also:
Serialized Form

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
UndoListener.UndoAction()
           
 
Method Summary
protected  void _updateUndoState()
          Depending on the whether the undo manager can undo, enable and disable the undo state.
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
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

UndoListener.UndoAction

public UndoListener.UndoAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

_updateUndoState

protected void _updateUndoState()
Depending on the whether the undo manager can undo, enable and disable the undo state.