public class AddVariable extends WiredEdit implements GraphicsPanelEdit
RedoName, UndoName
Constructor and Description |
---|
AddVariable(String name)
Creates a variable edit.
|
AddVariable(String name,
double v)
Creates a variable edit.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addEdit(UndoableEdit edit) |
WiredEdit |
copy(RecordPlot plot) |
String |
getName() |
String |
getPresentationName() |
boolean |
isSupportedBy(GraphicsPanel p) |
protected void |
redoEdit() |
String |
toString() |
protected void |
undoEdit() |
endAnimation, getID, getRecordPlot, setRecordPlot, showAnimation, startAnimation
createTransformedShape, getFrames, getNextEdit, getParent, getPreviousEdit, redo, setNextEdit, setParent, setPreviousEdit, undo
die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getID
canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
public AddVariable(String name)
public AddVariable(String name, double v)
public WiredEdit copy(RecordPlot plot)
public String getPresentationName()
getPresentationName
in interface UndoableEdit
getPresentationName
in class AbstractUndoableEdit
public boolean addEdit(UndoableEdit edit)
addEdit
in interface UndoableEdit
addEdit
in class AbstractUndoableEdit
public boolean isSupportedBy(GraphicsPanel p)
isSupportedBy
in interface GraphicsPanelEdit
protected void redoEdit()
redoEdit
in class org.freehep.swing.undo.AnimatedEdit
protected void undoEdit()
undoEdit
in class org.freehep.swing.undo.AnimatedEdit
public String getName()
Copyright © 1996-2014 FreeHEP. All Rights Reserved.