org.freehep.swing.undo
Interface LinkableEdit

All Superinterfaces:
UndoableEdit
All Known Implementing Classes:
AnimatedCompoundEdit, AnimatedEdit

public interface LinkableEdit
extends UndoableEdit

Allows edits to be linked together to form undoable compound edits in a linked list.

Version:
$Id: LinkableEdit.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

Method Summary
 LinkableEdit getNextEdit()
          Returns the next edit.
 LinkableEdit getParent()
          Returns the parent.
 LinkableEdit getPreviousEdit()
          Returns the previous edit.
 void setNextEdit(LinkableEdit edit)
          Connects to the next edit.
 void setParent(LinkableEdit edit)
          Sets the parent, can only be called once.
 void setPreviousEdit(LinkableEdit edit)
          Connext to the previous edit.
 
Methods inherited from interface javax.swing.undo.UndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, undo
 

Method Detail

getNextEdit

LinkableEdit getNextEdit()
Returns the next edit.


setNextEdit

void setNextEdit(LinkableEdit edit)
Connects to the next edit.


getPreviousEdit

LinkableEdit getPreviousEdit()
Returns the previous edit.


setPreviousEdit

void setPreviousEdit(LinkableEdit edit)
Connext to the previous edit.


getParent

LinkableEdit getParent()
Returns the parent.


setParent

void setParent(LinkableEdit edit)
Sets the parent, can only be called once.



Copyright © 2000-2007 FreeHEP. All Rights Reserved.