|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.undoredo.UndoRedoUnit
public class UndoRedoUnit
Stores several UndoRedoElements as one unit. All this elements will be undoed or redoed in one step.
| Constructor Summary | |
|---|---|
UndoRedoUnit()
Creates an UndoRedoUnit |
|
| Method Summary | |
|---|---|
void |
addElement(UndoRedoElement ure)
Adds an UndoRedoElement to this UndoRedoUnit. |
boolean |
equals(java.lang.Object o)
|
java.util.Vector |
getElements()
Returns all UndoRedoElements of this UndoRedoUnit |
int |
getMaxAppendPos()
Returns the maximum position of all APPEND-UndoRedoElements. |
UndoRedoUnit |
invert()
Inverts this UndoRedoUnit. |
void |
perform(java.util.Vector v)
Performs this unit on the given object-vector |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UndoRedoUnit()
| Method Detail |
|---|
public void addElement(UndoRedoElement ure)
ure - UndoRedoElement to addpublic java.util.Vector getElements()
public void perform(java.util.Vector v)
v - object-vectorpublic UndoRedoUnit invert()
public int getMaxAppendPos()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||