|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
org.freehep.swing.undo.AnimatedCompoundEdit
hep.wired.edit.WiredCompoundEdit
public class WiredCompoundEdit
Class for a compound edit. A compound edit contains a series of edits (which may be compound edits as well). This class keeps a reference to the plot when the edit is posted to the plot.
Field Summary |
---|
Fields inherited from class javax.swing.undo.CompoundEdit |
---|
edits |
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
RedoName, UndoName |
Constructor Summary | |
---|---|
WiredCompoundEdit(String name)
Creates an empty composite edit with given name. |
Method Summary | |
---|---|
WiredCompoundEdit |
copy(RecordPlot plot)
Creates a copy of the compound edit and its contained edits. |
String |
getID()
|
protected RecordPlot |
getRecordPlot()
Returns the record plot to which this edit was sent. |
void |
setRecordPlot(RecordPlot recordPlot)
To be called as part of the copy procedure to set the recordPlot variable. |
String |
toString()
|
Methods inherited from class org.freehep.swing.undo.AnimatedCompoundEdit |
---|
addEdit, addEdit, canRedo, canUndo, die, end, getFirstEdit, getLastEdit, getName, getNextEdit, getParent, getPresentationName, getPreviousEdit, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, redo, setNextEdit, setParent, setPreviousEdit, undo |
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
replaceEdit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.swing.undo.UndoableEdit |
---|
replaceEdit |
Constructor Detail |
---|
public WiredCompoundEdit(String name)
Method Detail |
---|
public String getID()
getID
in interface WiredRegistry.ID
protected RecordPlot getRecordPlot()
public void setRecordPlot(RecordPlot recordPlot)
public WiredCompoundEdit copy(RecordPlot plot)
public String toString()
toString
in class org.freehep.swing.undo.AnimatedCompoundEdit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |