org.jhotdraw.samples.odg.action
Class SplitAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jhotdraw.draw.action.AbstractSelectedAction
-
- org.jhotdraw.draw.action.GroupAction
-
- org.jhotdraw.draw.action.UngroupAction
-
- org.jhotdraw.samples.odg.action.SplitAction
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
public class SplitAction extends UngroupAction
SplitPathsAction.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringID
-
Constructor Summary
Constructors Constructor and Description SplitAction(DrawingEditor editor)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidgroupFigures(DrawingView view, CompositeFigure group, java.util.Collection<Figure> figures)java.util.Collection<Figure>ungroupFigures(DrawingView view, CompositeFigure group)-
Methods inherited from class org.jhotdraw.draw.action.GroupAction
actionPerformed
-
Methods inherited from class org.jhotdraw.draw.action.AbstractSelectedAction
dispose, getEditor, isUpdatEnabledState, setEditor, setUpdateEnabledState
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SplitAction
public SplitAction(DrawingEditor editor)
Creates a new instance.
-
-
Method Detail
-
ungroupFigures
public java.util.Collection<Figure> ungroupFigures(DrawingView view, CompositeFigure group)
- Overrides:
ungroupFiguresin classGroupAction
-
groupFigures
public void groupFigures(DrawingView view, CompositeFigure group, java.util.Collection<Figure> figures)
- Overrides:
groupFiguresin classGroupAction
-
-
DataMelt 3.0 © DataMelt by jWork.ORG