|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
fr.umlv.unitex.undo.TranslationGroupEdit
public class TranslationGroupEdit
class uses to save the state of the graph before translate boxes
Constructor Summary | |
---|---|
TranslationGroupEdit(java.util.ArrayList selectedBoxes,
int x,
int y)
|
Method Summary | |
---|---|
void |
redo()
|
void |
undo()
|
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TranslationGroupEdit(java.util.ArrayList selectedBoxes, int x, int y)
selectedBoxes
- boes selected in the graphx
- length of X shift in pixelsy
- length of Y shift in pixelsMethod Detail |
---|
public void undo()
undo
in interface javax.swing.undo.UndoableEdit
undo
in class javax.swing.undo.AbstractUndoableEdit
public void redo()
redo
in interface javax.swing.undo.UndoableEdit
redo
in class javax.swing.undo.AbstractUndoableEdit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |