hep.wired.heprep.edit
Class GraphicsModeEdit

java.lang.Object
  extended byjavax.swing.undo.AbstractUndoableEdit
      extended byorg.freehep.swing.undo.AbstractDoableEdit
          extended byorg.freehep.swing.undo.AnimatedEdit
              extended byhep.wired.edit.WiredEdit
                  extended byhep.wired.heprep.edit.GraphicsModeEdit
All Implemented Interfaces:
org.freehep.swing.undo.DoableEdit, hep.wired.services.Edit, hep.wired.edit.GraphicsPanelEdit, org.freehep.swing.undo.LinkableEdit, java.io.Serializable, javax.swing.undo.UndoableEdit, hep.wired.util.WiredRegistry.ID

public class GraphicsModeEdit
extends hep.wired.edit.WiredEdit
implements hep.wired.edit.GraphicsPanelEdit

Generic Edit for changing the GraphicsMode.

Version:
$Id: GraphicsModeEdit.java 2136 2005-07-30 00:25:21Z duns $
Author:
Mark Donszelmann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class hep.wired.edit.WiredEdit
format
 
Fields inherited from class org.freehep.swing.undo.AbstractDoableEdit
firstTimeDone
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
GraphicsModeEdit(java.lang.String name)
           
GraphicsModeEdit(java.lang.String name, boolean value)
           
GraphicsModeEdit(java.lang.String name, double value)
           
GraphicsModeEdit(java.lang.String name, int value)
           
 
Method Summary
 boolean addEdit(javax.swing.undo.UndoableEdit edit)
           
 hep.wired.edit.WiredEdit copy(hep.wired.services.RecordPlot plot)
           
 java.lang.String getPresentationName()
           
 boolean isSupportedBy(hep.wired.services.GraphicsPanel p)
           
 void redoEdit()
           
 void undoEdit()
           
 
Methods inherited from class hep.wired.edit.WiredEdit
endAnimation, getID, getRecordPlot, setRecordPlot, showAnimation, startAnimation, toString
 
Methods inherited from class org.freehep.swing.undo.AnimatedEdit
createTransformedShape, getFrames, getNextEdit, getParent, getPreviousEdit, redo, setNextEdit, setParent, setPreviousEdit, undo
 
Methods inherited from class org.freehep.swing.undo.AbstractDoableEdit
canRedo, canUndo
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
die, 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 hep.wired.util.WiredRegistry.ID
getID
 
Methods inherited from interface javax.swing.undo.UndoableEdit
canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
 

Constructor Detail

GraphicsModeEdit

public GraphicsModeEdit(java.lang.String name)

GraphicsModeEdit

public GraphicsModeEdit(java.lang.String name,
                        boolean value)

GraphicsModeEdit

public GraphicsModeEdit(java.lang.String name,
                        double value)

GraphicsModeEdit

public GraphicsModeEdit(java.lang.String name,
                        int value)
Method Detail

copy

public hep.wired.edit.WiredEdit copy(hep.wired.services.RecordPlot plot)

getPresentationName

public java.lang.String getPresentationName()
Specified by:
getPresentationName in interface javax.swing.undo.UndoableEdit

isSupportedBy

public boolean isSupportedBy(hep.wired.services.GraphicsPanel p)
Specified by:
isSupportedBy in interface hep.wired.edit.GraphicsPanelEdit

addEdit

public boolean addEdit(javax.swing.undo.UndoableEdit edit)
Specified by:
addEdit in interface javax.swing.undo.UndoableEdit

redoEdit

public void redoEdit()

undoEdit

public void undoEdit()


Copyright © 1996-2005 WIRED - FreeHEP. All Rights Reserved.