public abstract class WiredEdit extends org.freehep.swing.undo.AnimatedEdit implements Edit
| Modifier and Type | Field and Description |
|---|---|
protected static org.freehep.util.ScientificFormat |
format |
RedoName, UndoName| Constructor and Description |
|---|
WiredEdit()
Creates an Edit with zero frames.
|
WiredEdit(int frames)
Creates and edit with given frames.
|
| Modifier and Type | Method and Description |
|---|---|
abstract WiredEdit |
copy(RecordPlot plot)
Creates a copy of the edit which is attached to the plot, and thus can be
(re/un)done.
|
protected void |
endAnimation()
Called when the animation is to be ended.
|
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.
|
protected void |
showAnimation(int frameNo)
Called when the given frameNo is to be shown.
|
protected void |
startAnimation(boolean redo)
Called when an animation is started.
|
String |
toString() |
createTransformedShape, getFrames, getNextEdit, getParent, getPreviousEdit, redo, redoEdit, setNextEdit, setParent, setPreviousEdit, undo, undoEditaddEdit, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEditclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEditpublic WiredEdit()
public WiredEdit(int frames)
public String toString()
toString in class org.freehep.swing.undo.AnimatedEditpublic String getID()
getID in interface WiredRegistry.IDprotected RecordPlot getRecordPlot()
public void setRecordPlot(RecordPlot recordPlot)
public abstract WiredEdit copy(RecordPlot plot)
protected void startAnimation(boolean redo)
startAnimation in class org.freehep.swing.undo.AnimatedEditprotected void showAnimation(int frameNo)
showAnimation in class org.freehep.swing.undo.AnimatedEditprotected void endAnimation()
endAnimation in class org.freehep.swing.undo.AnimatedEditCopyright © 1996-2014 FreeHEP. All Rights Reserved.