Graph Common

pl.psnc.graph.action
Class UndoAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by pl.psnc.vlab.util.gui.action.AbstractActionDefault
          extended by pl.psnc.vlab.util.gui.action.LocalizedAbstractAction
              extended by pl.psnc.graph.action.factory.AbstractGraphAction
                  extended by pl.psnc.graph.action.UndoAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, pl.psnc.vlab.util.gui.action.ActionDecorator

public class UndoAction
extends AbstractGraphAction

UndoAction class - represents the undo action

Author:
Dominik Stoklosa (~osa~)
See Also:
Serialized Form
Email address
osa@man.poznan.pl

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface pl.psnc.vlab.util.gui.action.ActionDecorator
DISABLED_ICON, PARENT_OBJECT
 
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
 
Constructor Summary
UndoAction()
          Creates a new instance of undo Action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class pl.psnc.graph.action.factory.AbstractGraphAction
getBundle, getCurrentGraph
 
Methods inherited from class pl.psnc.vlab.util.gui.action.LocalizedAbstractAction
setAcceleratorKey, setDisabledActionIcon, setMnemonic, setShortDescription
 
Methods inherited from class pl.psnc.vlab.util.gui.action.AbstractActionDefault
addSource, getDisabledActionIcon, getName, getShortDescription, getSources, setDisabledActionIcon, setIcon, setMnemonic, setName
 
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

UndoAction

public UndoAction()
Creates a new instance of undo Action. The action is created with the default name, icons, mnemonic and accelerator key - these are taken from the resource bundle

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Specified by:
actionPerformed in class pl.psnc.vlab.util.gui.action.AbstractActionDefault
See Also:
ActionListener.actionPerformed(ActionEvent)

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa