|
VTT Java 2010 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.nls.vtt.Model.UndoManager
public class UndoManager
This is the undo manager java class which manages the list of Undo Java objects. This class is used directly in VTT for undo and redo operations.
History:
Constructor Summary | |
---|---|
UndoManager()
Create an undo manager Java object with default values. |
Method Summary | |
---|---|
void |
AddUndoNode(UndoNode undo)
Add Undo node to undoNodes list. |
int |
GetIndex()
Get the index. |
int |
GetSize()
Get the size of the undo nodes list. |
UndoNode |
GetUndoNode(int index)
Get the undo node of the specified index. |
java.util.Vector<UndoNode> |
GetUndoNodes()
Get the undo nodes list. |
void |
IncreaseIndex()
Increase index of current undo nodes list. |
boolean |
IsRedoable()
Check if redoable. |
boolean |
IsUndoable()
Check if undoable. |
void |
ReduceIndex()
Decrease index of current undo nodes list. |
void |
Reset()
Reset the undo manager. |
java.lang.String |
ToString()
Converts undos to String representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UndoManager()
Method Detail |
---|
public void AddUndoNode(UndoNode undo)
undo
- the undo node to be addedpublic int GetIndex()
public UndoNode GetUndoNode(int index)
index
- the index of interest
public int GetSize()
public java.util.Vector<UndoNode> GetUndoNodes()
public boolean IsUndoable()
public boolean IsRedoable()
public void IncreaseIndex()
public void ReduceIndex()
public java.lang.String ToString()
public void Reset()
|
VTT Java 2010 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |