http://www.jpicedt.org

jpicedt
Class JPicEdt.WindowCascadeAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byjpicedt.graphic.toolkit.PEAction
          extended byjpicedt.JPicEdt.WindowCascadeAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Enclosing class:
JPicEdt

public static class JPicEdt.WindowCascadeAction
extends PEAction

Cascades internal frames

Since:
PicEdt 1.2.1
See Also:
Serialized Form

Field Summary
static String KEY
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
JPicEdt.WindowCascadeAction()
           
 
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
getCanvas, getDrawing, getEditorKit, getSelectedObject, setAttribute, 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

KEY

public static final String KEY
See Also:
Constant Field Values
Constructor Detail

JPicEdt.WindowCascadeAction

public JPicEdt.WindowCascadeAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Description copied from class: PEAction
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.

Action that don't want to be undoable should simply override this method as usual.

Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class PEAction

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org