|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
org.freehep.swing.undo.AbstractDoableEdit
org.freehep.swing.undo.AnimatedEdit
hep.wired.edit.WiredEdit
public abstract class WiredEdit
Base class for a non-animated single edit. This class keeps the plot when the edit is posted to the plot.
Field Summary | |
---|---|
protected static org.freehep.util.ScientificFormat |
format
|
Fields inherited from class org.freehep.swing.undo.AbstractDoableEdit |
---|
firstTimeDone |
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
RedoName, UndoName |
Constructor Summary | |
---|---|
WiredEdit()
Creates an Edit with zero frames. |
|
WiredEdit(int frames)
Creates and edit with given frames. |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.freehep.swing.undo.AnimatedEdit |
---|
createTransformedShape, getFrames, getNextEdit, getParent, getPreviousEdit, redo, redoEdit, setNextEdit, setParent, setPreviousEdit, undo, undoEdit |
Methods inherited from class org.freehep.swing.undo.AbstractDoableEdit |
---|
canRedo, canUndo |
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
addEdit, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, 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 |
---|
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit |
Field Detail |
---|
protected static org.freehep.util.ScientificFormat format
Constructor Detail |
---|
public WiredEdit()
public WiredEdit(int frames)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |