|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
org.freehep.swing.undo.AnimatedCompoundEdit
hep.wired.edit.WiredCompoundEdit
hep.wired.edit.FitToWindow
public class FitToWindow
Fits plot to window by translation and scaling. If rotation is available a fit (translate and scale) will also be done perpendicular to the visible plane.
Field Summary |
---|
Fields inherited from class javax.swing.undo.CompoundEdit |
---|
edits |
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
RedoName, UndoName |
Constructor Summary | |
---|---|
FitToWindow()
Creates a Fit to Window edit. |
Method Summary | |
---|---|
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. |
Methods inherited from class hep.wired.edit.WiredCompoundEdit |
---|
getID, getRecordPlot, setRecordPlot, toString |
Methods inherited from class org.freehep.swing.undo.AnimatedCompoundEdit |
---|
addEdit, canRedo, canUndo, die, end, getFirstEdit, getLastEdit, getName, getNextEdit, getParent, getPresentationName, getPreviousEdit, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, redo, setNextEdit, setParent, setPreviousEdit, undo |
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
replaceEdit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface hep.wired.util.WiredRegistry.ID |
---|
getID |
Methods inherited from interface javax.swing.undo.UndoableEdit |
---|
replaceEdit |
Constructor Detail |
---|
public FitToWindow()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |