JTP API Documentation

jtp.frame
Class LinkAsserter.UndoInsert

java.lang.Object
  |
  +--javax.swing.undo.AbstractUndoableEdit
        |
        +--jtp.frame.LinkAsserter.UndoInsert
All Implemented Interfaces:
Serializable, UndoableEdit
Enclosing class:
LinkAsserter

protected static class LinkAsserter.UndoInsert
extends AbstractUndoableEdit

Class of undoable edits that corresponds to adding a ValueLink to a ValueCollection's input links.

See Also:
ValueLink, ValueCollection, Serialized Form

Field Summary
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
LinkAsserter.UndoInsert(ValueLink vl)
           
 
Method Summary
 void redo()
           
 void undo()
          Undoes the effect of the edit.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkAsserter.UndoInsert

public LinkAsserter.UndoInsert(ValueLink vl)
Method Detail

undo

public void undo()
          throws CannotUndoException
Undoes the effect of the edit. link is removed from links.

Specified by:
undo in interface UndoableEdit
Overrides:
undo in class AbstractUndoableEdit
CannotUndoException

redo

public void redo()
          throws CannotRedoException
Specified by:
redo in interface UndoableEdit
Overrides:
redo in class AbstractUndoableEdit
CannotRedoException

JTP API Documentation