org.jhotdraw.draw.action
Class MoveConstrainedAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jhotdraw.draw.action.AbstractSelectedAction
-
- org.jhotdraw.draw.action.MoveConstrainedAction
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
- Direct Known Subclasses:
- MoveConstrainedAction.East, MoveConstrainedAction.North, MoveConstrainedAction.South, MoveConstrainedAction.West
public abstract class MoveConstrainedAction extends AbstractSelectedAction
Moves the selected figures by one constrained unit.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classMoveConstrainedAction.Eaststatic classMoveConstrainedAction.Northstatic classMoveConstrainedAction.Southstatic classMoveConstrainedAction.West
-
Constructor Summary
Constructors Constructor and Description MoveConstrainedAction(DrawingEditor editor, TranslationDirection dir)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
-
MoveConstrainedAction
public MoveConstrainedAction(DrawingEditor editor, TranslationDirection dir)
Creates a new instance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG