|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
simtools.diagram.DiagramSelectedLineShape.TranslatePointsEdit
public class DiagramSelectedLineShape.TranslatePointsEdit
Field Summary |
---|
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
RedoName, UndoName |
Constructor Summary | |
---|---|
DiagramSelectedLineShape.TranslatePointsEdit(int dx,
int dy,
LineShapeInterface sourceShape)
|
Method Summary | |
---|---|
void |
addPointIndex(int i)
|
java.lang.String |
getPresentationName()
|
void |
redo()
|
void |
undo()
|
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DiagramSelectedLineShape.TranslatePointsEdit(int dx, int dy, LineShapeInterface sourceShape)
sourceShape
- The shape which is resizeddx
- Length of resize (X axis)dy
- Length of resize (Y axis)Method Detail |
---|
public void undo()
undo
in interface javax.swing.undo.UndoableEdit
undo
in class javax.swing.undo.AbstractUndoableEdit
AbstractUndoableEdit.undo()
public void redo()
redo
in interface javax.swing.undo.UndoableEdit
redo
in class javax.swing.undo.AbstractUndoableEdit
AbstractUndoableEdit.redo()
public void addPointIndex(int i)
public java.lang.String getPresentationName()
getPresentationName
in interface javax.swing.undo.UndoableEdit
getPresentationName
in class javax.swing.undo.AbstractUndoableEdit
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |