Package ipsk.swing
Class UndoAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- ipsk.swing.AbstractLocalizableAction
-
- ipsk.swing.UndoAction
-
- All Implemented Interfaces:
ActionLeaf,ActionNode,java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public abstract class UndoAction extends AbstractLocalizableAction
- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static javax.swing.KeyStrokeACCELERATOR_VALstatic java.lang.StringACTION_COMMANDstatic java.lang.StringNAMEstatic java.lang.StringSHORT_DESCRIPTION_VAL
-
Constructor Summary
Constructors Constructor Description UndoAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidactionPerformed(java.awt.event.ActionEvent e)java.lang.StringgetActionCommand()voidupdate(javax.swing.undo.UndoManager undoManager)Update to the corresponding undo manager-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from class ipsk.swing.AbstractLocalizableAction
getAccelerator, getDisplayName, getIcon, getMnemonic, setAccelerator, setDisplayName, setIcon, setMnemonic
-
-
-
-
Method Detail
-
getActionCommand
public java.lang.String getActionCommand()
- Overrides:
getActionCommandin classAbstractLocalizableAction
-
actionPerformed
public abstract void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener- Specified by:
actionPerformedin classAbstractLocalizableAction
-
update
public void update(javax.swing.undo.UndoManager undoManager)
Update to the corresponding undo manager- Parameters:
undoManager-
-
-