org.freehep.jas.extension.tupleExplorer.cut
Class CutChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.freehep.jas.extension.tupleExplorer.cut.CutChangedEvent
All Implemented Interfaces:
Serializable

public class CutChangedEvent
extends EventObject

A CutChangedEvent describes the change in a Cut.

Version:
$Id: CutChangedEvent.java 13893 2011-09-28 23:42:34Z tonyj $
Author:
The FreeHEP team @ SLAC.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CutChangedEvent(Cut cut)
          Constract a CutChangedEvent object from a Cut
CutChangedEvent(CutGUI cutGUI)
          Construct a CutChangedEvent object from a CutGUI
CutChangedEvent(CutVariable cutVar)
          Construct a CutChangedEvent object from a CutVariable
CutChangedEvent(CutVariableGUI cutVariableGUI)
          Construct a CutChangedEvent object from a CutVariableGUI
 
Method Summary
 String getCutName()
          Get the cut name
 int getCutState()
          Get the cut state
 double getVarMax()
          Get the CutVariable's upper bound
 double getVarMin()
          Get the CutVariable's lower bound
 int getVarState()
          Get the state the CutVariable is in
 double getVarValue()
          Get the CutVariable's current value
 double getVarValueChange()
          Get the change in the CutVariable's value
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CutChangedEvent

public CutChangedEvent(Cut cut)
Constract a CutChangedEvent object from a Cut

Parameters:
cut - the parent Cut that is firing the event

CutChangedEvent

public CutChangedEvent(CutVariable cutVar)
Construct a CutChangedEvent object from a CutVariable

Parameters:
cutVar - the parent CutVariable that is firing the event

CutChangedEvent

public CutChangedEvent(CutGUI cutGUI)
Construct a CutChangedEvent object from a CutGUI

Parameters:
cutGUI - the parent CutGUI that is firing the event

CutChangedEvent

public CutChangedEvent(CutVariableGUI cutVariableGUI)
Construct a CutChangedEvent object from a CutVariableGUI

Parameters:
cutVariableGUI - the parent CutGUI that is firing the event
Method Detail

getCutName

public String getCutName()
Get the cut name

Returns:
the name of the cut

getCutState

public int getCutState()
Get the cut state

Returns:
the state of the cut
See Also:
Cut.getState()

getVarMin

public double getVarMin()
Get the CutVariable's lower bound

Returns:
the Cut Variable's lower bound

getVarMax

public double getVarMax()
Get the CutVariable's upper bound

Returns:
the CutVariable's upper bound

getVarValue

public double getVarValue()
Get the CutVariable's current value

Returns:
the CutVariable current value

getVarState

public int getVarState()
Get the state the CutVariable is in

Returns:
the CutVariable's state

getVarValueChange

public double getVarValueChange()
Get the change in the CutVariable's value

Returns:
the change in the CutVariable's value


Copyright © 2013. All Rights Reserved.