edu.princeton.swing
Class ClipboardTargetManager.PasteAction
java.lang.Object
javax.swing.AbstractAction
edu.princeton.swing.AbstractAction2
edu.princeton.swing.ClipboardTargetManager.PasteAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- ClipboardTargetManager
protected static class ClipboardTargetManager.PasteAction
- extends AbstractAction2
PasteAction is an action which calls the paste() method of the ClipboardTargetManager. The
ClipboardTargetManager also manages this action's enabled status.
- See Also:
- Serialized Form
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 |
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 |
ClipboardTargetManager.PasteAction
protected ClipboardTargetManager.PasteAction()
- Creates a new PasteAction.
actionPerformed
public void actionPerformed(ActionEvent e)
- Implements ActionListener to perform the cut operation.