org.jhotdraw.draw.action
Class MoveAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jhotdraw.draw.action.AbstractSelectedAction
-
- org.jhotdraw.draw.action.MoveAction
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
- Direct Known Subclasses:
- MoveAction.East, MoveAction.North, MoveAction.South, MoveAction.West
public abstract class MoveAction extends AbstractSelectedAction
Moves the selected figures by one unit.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classMoveAction.Eaststatic classMoveAction.Northstatic classMoveAction.Southstatic classMoveAction.West
-
Constructor Summary
Constructors Constructor and Description MoveAction(DrawingEditor editor, int dx, int dy)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidactionPerformed(java.awt.event.ActionEvent e)-
Methods inherited from class org.jhotdraw.draw.action.AbstractSelectedAction
dispose, getEditor, isUpdatEnabledState, setEditor, setUpdateEnabledState
-
-
-
-
Constructor Detail
-
MoveAction
public MoveAction(DrawingEditor editor, int dx, int dy)
Creates a new instance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG