IUndoableCommand
public class MovingAnnotationLabelCommand extends java.lang.Object implements IUndoableCommand
Constructor | Description |
---|---|
MovingAnnotationLabelCommand(Annotation annotation) |
Modifier and Type | Method | Description |
---|---|---|
void |
redo() |
Restore the state of the target to the state after this command has been
executed.
|
void |
setAfterMovingDxDy(double dx,
double dy) |
|
void |
setBeforeMovingDxDy(double dx,
double dy) |
|
java.lang.String |
toString() |
|
void |
undo() |
Restore the state of the target to the state before this command has been
executed.
|
public MovingAnnotationLabelCommand(Annotation annotation)
public void redo()
IUndoableCommand
redo
in interface IUndoableCommand
public void undo()
IUndoableCommand
undo
in interface IUndoableCommand
public void setBeforeMovingDxDy(double dx, double dy)
public void setAfterMovingDxDy(double dx, double dy)
public java.lang.String toString()
toString
in class java.lang.Object