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
Method Summary |
void |
redo()
|
void |
undo()
Undoes the effect of the edit. |
LinkAsserter.UndoInsert
public LinkAsserter.UndoInsert(ValueLink vl)
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