FreeHEP API
Version current

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,v 1.2 2004/04/30 23:37:24 duns Exp $
Author:
Mark Donszelmann
Source Code:
LinkableEdit.java

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

public LinkableEdit getNextEdit()
Returns the next edit.


setNextEdit

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


getPreviousEdit

public LinkableEdit getPreviousEdit()
Returns the previous edit.


setPreviousEdit

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


getParent

public LinkableEdit getParent()
Returns the parent.


setParent

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


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.