public class FitToWindow extends WiredCompoundEdit implements GraphicsPanelEdit
edits
RedoName, UndoName
Constructor and Description |
---|
FitToWindow()
Creates a Fit to Window edit.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addEdit(UndoableEdit edit) |
WiredCompoundEdit |
copy(RecordPlot plot)
Creates a copy of the compound edit and its contained edits.
|
boolean |
isSupportedBy(GraphicsPanel p)
Returns true if this edit is supported by the given graphics panel.
|
getID, getRecordPlot, setRecordPlot, toString
addEdit, canRedo, canUndo, die, end, getFirstEdit, getLastEdit, getName, getNextEdit, getParent, getPresentationName, getPreviousEdit, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, redo, setNextEdit, setParent, setPreviousEdit, undo
replaceEdit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getID
replaceEdit
public WiredCompoundEdit copy(RecordPlot plot)
WiredCompoundEdit
copy
in class WiredCompoundEdit
public boolean isSupportedBy(GraphicsPanel p)
GraphicsPanelEdit
isSupportedBy
in interface GraphicsPanelEdit
p
- panel by which this edit will be handled.public boolean addEdit(UndoableEdit edit)
addEdit
in interface UndoableEdit
addEdit
in class org.freehep.swing.undo.AnimatedCompoundEdit
Copyright © 1996-2014 FreeHEP. All Rights Reserved.