edu.princeton.swing
Class ClipboardTargetManager.CutAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by edu.princeton.swing.AbstractAction2
          extended by edu.princeton.swing.ClipboardTargetManager.CutAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
ClipboardTargetManager

protected static class ClipboardTargetManager.CutAction
extends AbstractAction2

CutAction is an action which calls the cut() method of the ClipboardTargetManager. The ClipboardTargetManager also manages this action's enabled status.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.princeton.swing.AbstractAction2
EXTRA_INFO_KEY, LONG_DESCRIPTION_KEY, NAME_KEY, SHORT_DESCRIPTION_KEY, SMALL_ICON_KEY
 
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
 
Constructor Summary
protected ClipboardTargetManager.CutAction()
          Creates a new CutAction.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Implements ActionListener to perform the cut operation.
 
Methods inherited from class edu.princeton.swing.AbstractAction2
createMenuItem, getAccelerator, getActionCommand, getExtraInfo, getLongDescription, getMnemonic, getName, getShortDescription, getSmallIcon, setAccelerator, setActionCommand, setExtraInfo, setLongDescription, setMnemonic, setName, setShortDescription, setSmallIcon
 
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

ClipboardTargetManager.CutAction

protected ClipboardTargetManager.CutAction()
Creates a new CutAction.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Implements ActionListener to perform the cut operation.