|
||||||||||
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.AddBoxeEdit
public class AddBoxeEdit
class uses to save the state of the graph before add a boxe
Constructor Summary | |
---|---|
AddBoxeEdit(GenericGraphBox boxe,
java.util.ArrayList boxes,
GenericGraphicalZone zone)
contruct an edit to redo and undo an add boxe action |
Method Summary | |
---|---|
void |
redo()
redo action |
void |
undo()
undo action |
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 AddBoxeEdit(GenericGraphBox boxe, java.util.ArrayList boxes, GenericGraphicalZone zone)
boxe
- the boxe to save for the do undo processboxes
- the unit boxes of a graphzone
- the zone where boxes are drawnMethod 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 |