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, undoEdit
addEdit, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
public WiredEdit()
public WiredEdit(int frames)
public String toString()
toString
in class org.freehep.swing.undo.AnimatedEdit
public String getID()
getID
in interface WiredRegistry.ID
protected 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.AnimatedEdit
protected void showAnimation(int frameNo)
showAnimation
in class org.freehep.swing.undo.AnimatedEdit
protected void endAnimation()
endAnimation
in class org.freehep.swing.undo.AnimatedEdit
Copyright © 1996-2014 FreeHEP. All Rights Reserved.