Package jpicedt
Class JPicEdt.FragmentInsertAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jpicedt.graphic.toolkit.PEAction
-
- jpicedt.JPicEdt.FragmentInsertAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Enclosing class:
- JPicEdt
public static class JPicEdt.FragmentInsertAction extends PEAction
Insert a fragment into the active board, performing I/O operation in a separate thread.This action is undoable.
- Since:
- PicEdt 1.2.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKEY
-
Constructor Summary
Constructors Constructor Description FragmentInsertAction()prompt user for fragment file nameFragmentInsertAction(java.lang.String fileName)insert a fragment from the given file name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidundoableActionPerformed(java.awt.event.ActionEvent e)called by "actionPerformed" ; default implementation does nothing.-
Methods inherited from class jpicedt.graphic.toolkit.PEAction
actionPerformed, getCanvas, getDrawing, getEditorKit, getSelectedObject, setAttribute
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
KEY
public static final java.lang.String KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
undoableActionPerformed
public void undoableActionPerformed(java.awt.event.ActionEvent e)
Description copied from class:PEActioncalled 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 PEAction's, including those we don't want to be undoable, to implement this method.
- Overrides:
undoableActionPerformedin classPEAction
-
-