org.jhotdraw.samples.svg.action
Class SplitAction
java.lang.Object
javax.swing.AbstractAction
org.jhotdraw.draw.action.AbstractSelectedAction
org.jhotdraw.draw.action.UngroupAction
org.jhotdraw.samples.svg.action.SplitAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class SplitAction
- extends UngroupAction
SplitPathsAction.
- Version:
- 1.0 2006-07-12 Created.
- Author:
- Werner Randelshofer
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
ID
|
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 |
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 |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
SplitAction
public SplitAction(DrawingEditor editor)
- Creates a new instance.
canUngroup
protected boolean canUngroup()
- Overrides:
canUngroup
in class UngroupAction
ungroupFigures
public java.util.Collection<Figure> ungroupFigures(DrawingView view,
CompositeFigure group)
- Overrides:
ungroupFigures
in class UngroupAction
groupFigures
public void groupFigures(DrawingView view,
CompositeFigure group,
java.util.Collection<Figure> figures)
- Overrides:
groupFigures
in class UngroupAction