csheets.ui.ctrl
Class ClipboardAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by csheets.ui.ctrl.BaseAction
          extended by csheets.ui.ctrl.FocusOwnerAction
              extended by csheets.ui.ctrl.ClipboardAction
All Implemented Interfaces:
ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
CopyAction, CutAction, PasteAction

public abstract class ClipboardAction
extends FocusOwnerAction

A clipboard action, i.e. a cut, copy or paste operation.

Author:
Einar Pehrson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class csheets.ui.ctrl.FocusOwnerAction
focusOwner
 
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
ClipboardAction()
          Creates a new clipboard action.
 
Method Summary
 void actionPerformed(ActionEvent event)
          Forwards the event to the focus owner.
 
Methods inherited from class csheets.ui.ctrl.FocusOwnerAction
propertyChange
 
Methods inherited from class csheets.ui.ctrl.BaseAction
defineProperties, getName, requiresFile, requiresModification, showErrorDialog
 
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

ClipboardAction

public ClipboardAction()
Creates a new clipboard action.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Forwards the event to the focus owner.

Parameters:
event - the event that was fired