http://www.jpicedt.org

jpicedt.graphic.toolkit
Class EditorKit.GroupAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jpicedt.graphic.toolkit.PEAbstractAction<Element>
          extended by jpicedt.graphic.toolkit.PEAction
              extended by jpicedt.graphic.toolkit.EditorKit.GroupAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
EditorKit

public static class EditorKit.GroupAction
extends PEAction

Group all selected objects into a new PicGroup.

See Also:
Serialized Form

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
EditorKit.GroupAction(ActionDispatcher actionDispatcher, ActionLocalizer localizer)
          set "GroupAction" as the action's name
 
Method Summary
 void undoableActionPerformed(ActionEvent e)
          called by "actionPerformed" ; default implementation does nothing.
 
Methods inherited from class jpicedt.graphic.toolkit.PEAction
getIterator, setAttribute
 
Methods inherited from class jpicedt.graphic.toolkit.PEAbstractAction
actionPerformed, getCanvas, getDrawing, getEditorKit, getSelectedObject, setSelectedObject
 
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

EditorKit.GroupAction

public EditorKit.GroupAction(ActionDispatcher actionDispatcher,
                             ActionLocalizer localizer)
set "GroupAction" as the action's name

Method Detail

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>

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org