public class GraphicsModeEdit extends WiredEdit implements GraphicsPanelEdit
RedoName, UndoName| Constructor and Description |
|---|
GraphicsModeEdit(String name) |
GraphicsModeEdit(String name,
boolean value) |
GraphicsModeEdit(String name,
double value) |
GraphicsModeEdit(String name,
int value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addEdit(UndoableEdit edit) |
WiredEdit |
copy(RecordPlot plot)
Creates a copy of the edit which is attached to the plot, and thus can be
(re/un)done.
|
String |
getPresentationName() |
boolean |
isSupportedBy(GraphicsPanel p)
Returns true if this edit is supported by the given graphics panel.
|
void |
redoEdit() |
void |
undoEdit() |
endAnimation, getID, getRecordPlot, setRecordPlot, showAnimation, startAnimation, toStringcreateTransformedShape, getFrames, getNextEdit, getParent, getPreviousEdit, redo, setNextEdit, setParent, setPreviousEdit, undodie, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEditclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIDcanRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEditpublic GraphicsModeEdit(String name)
public GraphicsModeEdit(String name, boolean value)
public GraphicsModeEdit(String name, double value)
public GraphicsModeEdit(String name, int value)
public WiredEdit copy(RecordPlot plot)
WiredEditpublic String getPresentationName()
getPresentationName in interface UndoableEditgetPresentationName in class AbstractUndoableEditpublic boolean isSupportedBy(GraphicsPanel p)
GraphicsPanelEditisSupportedBy in interface GraphicsPanelEditp - panel by which this edit will be handled.public boolean addEdit(UndoableEdit edit)
addEdit in interface UndoableEditaddEdit in class AbstractUndoableEditpublic void redoEdit()
redoEdit in class org.freehep.swing.undo.AnimatedEditpublic void undoEdit()
undoEdit in class org.freehep.swing.undo.AnimatedEditCopyright © 1996-2014 FreeHEP. All Rights Reserved.