|
||||||||||
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.DeleteBoxGroupEdit
public class DeleteBoxGroupEdit
class uses to save the state of the graph delete a group of boxes
Constructor Summary | |
---|---|
DeleteBoxGroupEdit(java.util.ArrayList selectedBoxes,
java.util.ArrayList graphBoxes,
GenericGraphicalZone zone)
|
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 DeleteBoxGroupEdit(java.util.ArrayList selectedBoxes, java.util.ArrayList graphBoxes, GenericGraphicalZone zone)
selectedBoxes
- the boxes selected before the delete actiongraphBoxes
- the boxes of the graphzone
- the zone where the graph is 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 |