|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction jpicedt.graphic.toolkit.PEAbstractAction<Element> jpicedt.graphic.toolkit.PEAction jpicedt.JPicEdt.RedoAction
public static class JPicEdt.RedoAction
Redoes last action
Field Summary | |
---|---|
static String |
KEY
|
Fields inherited from class jpicedt.graphic.toolkit.PEAbstractAction |
---|
targetElement |
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 | |
---|---|
JPicEdt.RedoAction()
|
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
This is a default implementation of the "actionPerformed" method suited for undoable actions : we first call "beginUndoableUpdate" with "actionName" as the presentation name, then delegate to "undoableActionPerformed", finally mark the undoable-update as ended. |
Methods inherited from class jpicedt.graphic.toolkit.PEAction |
---|
getIterator, setAttribute |
Methods inherited from class jpicedt.graphic.toolkit.PEAbstractAction |
---|
getCanvas, getDrawing, getEditorKit, getSelectedObject, setSelectedObject, undoableActionPerformed |
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 |
Field Detail |
---|
public static final String KEY
Constructor Detail |
---|
public JPicEdt.RedoAction()
Method Detail |
---|
public void actionPerformed(ActionEvent e)
PEAbstractAction
Action that don't want to be undoable should simply override this method as usual.
actionPerformed
in interface ActionListener
actionPerformed
in class PEAbstractAction<Element>
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |