hep.wired.heprep.edit
Class AddVariable

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.AddVariable
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 AddVariable
extends hep.wired.edit.WiredEdit
implements hep.wired.edit.GraphicsPanelEdit

Version:
$Id: AddVariable.java 1929 2005-06-19 05:04:46Z 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
AddVariable(java.lang.String name)
          Creates a variable edit.
AddVariable(java.lang.String name, double v)
          Creates a variable edit.
 
Method Summary
 boolean addEdit(javax.swing.undo.UndoableEdit edit)
           
 hep.wired.edit.WiredEdit copy(hep.wired.services.RecordPlot plot)
           
 java.lang.String getName()
           
 java.lang.String getPresentationName()
           
 boolean isSupportedBy(hep.wired.services.GraphicsPanel p)
           
protected  void redoEdit()
           
 java.lang.String toString()
           
protected  void undoEdit()
           
 
Methods inherited from class hep.wired.edit.WiredEdit
endAnimation, getID, getRecordPlot, setRecordPlot, showAnimation, startAnimation
 
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

AddVariable

public AddVariable(java.lang.String name)
Creates a variable edit.


AddVariable

public AddVariable(java.lang.String name,
                   double v)
Creates a variable edit.

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

toString

public java.lang.String toString()

addEdit

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

isSupportedBy

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

redoEdit

protected void redoEdit()

undoEdit

protected void undoEdit()

getName

public java.lang.String getName()


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