jpicedt.graphic.toolkit
Class EditorKit.PasteAction
java.lang.Object
javax.swing.AbstractAction
jpicedt.graphic.toolkit.PEAbstractAction<Element>
jpicedt.graphic.toolkit.PEAction
jpicedt.graphic.toolkit.EditorKit.PasteAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- EditorKit
public static class EditorKit.PasteAction
- extends PEAction
Paste the content of the given ClipBoard
into the target canvas.
- 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 |
KEY_PASTE
public static final String KEY_PASTE
- See Also:
- Constant Field Values
KEY_PASTE_SPECIAL
public static final String KEY_PASTE_SPECIAL
- See Also:
- Constant Field Values
EditorKit.PasteAction
public EditorKit.PasteAction(ActionDispatcher actionDispatcher,
ActionLocalizer localizer,
Clipboard clipboard)
- paste from the given clipboard
EditorKit.PasteAction
public EditorKit.PasteAction(ActionDispatcher actionDispatcher,
ActionLocalizer localizer)
- Paste from System clipboard ; action name =
PasteSpecial
undoableActionPerformed
public void undoableActionPerformed(ActionEvent e)
- Description copied from class:
PEAbstractAction
- called by "actionPerformed" ; default implementation does nothing. Action that want
to be undoable override this method instead of "actionPerformed".
Note : this is not an abstract method, since this would force all PEAbstractAction's, including
those we don't want to be undoable, to implement this method.
- Overrides:
undoableActionPerformed
in class PEAbstractAction<Element>
Submit a bug : syd@jpicedt.org