|
UndoRedo V1.2 by Matthew Ford 2005/06/27 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.com.forward.undoRedo.UndoRedo
au.com.forward.undoRedo.BranchUndoRedo
public class BranchUndoRedo
An UndoRedo node that starts a Redo Branch.
Nested Class Summary | |
---|---|
static class |
BranchUndoRedo.BranchUndoableEdit
A dummy UndoableEdit for the BranchUndoRedo node to wrap. |
Field Summary | |
---|---|
static javax.swing.undo.UndoableEdit |
BRANCH_UNDOABLE_EDIT
|
Fields inherited from class au.com.forward.undoRedo.UndoRedo |
---|
ALL_REDONE_PREFIX, DEAD_FORMAT, edit, HTML_START, INSIGNIFICANT_FORMAT, REDONE_PREFIX, UNREACHABLE_FORMAT |
Constructor Summary | |
---|---|
BranchUndoRedo()
Creates a new instance of BranchUndoRedo. |
Method Summary | |
---|---|
boolean |
equalsComplement(UndoRedo complement)
Returns true if the obj is the complement of this BranchUndoRedo. |
java.lang.String |
getBranchSuffix()
Returns the current suffix. |
UndoRedo |
getComplement()
Get the complement of this object, keep reference to edit. |
void |
setBranchSuffix(java.lang.String name)
Sets the string suffix used for Branch Node lables. |
java.lang.String |
toString()
Returns the string represenation of this BranchNode, includes the suffix. |
Methods inherited from class au.com.forward.undoRedo.UndoRedo |
---|
addEdit, canRedo, canUndo, clone, die, equalsComplement, escapeHTML, getPresentationName, getRedoPresentationName, getUndoableEdit, getUndoPresentationName, isDead, isSignificant, isUndo, isUnreachable, redo, replaceEdit, setUnreachable, undo |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final javax.swing.undo.UndoableEdit BRANCH_UNDOABLE_EDIT
Constructor Detail |
---|
public BranchUndoRedo()
Method Detail |
---|
public boolean equalsComplement(UndoRedo complement)
complement
- the object to test
public void setBranchSuffix(java.lang.String name)
name
- the suffix to use.public java.lang.String getBranchSuffix()
public java.lang.String toString()
toString
in class UndoRedo
public UndoRedo getComplement()
getComplement
in class UndoRedo
|
©2005, Forward Computing and Control Pty. Ltd ACN 003 669 994 NSW Australia All Rights Reserved. |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |