hep.aida.ref.pdf
Class Variable
- java.lang.Object
-
- hep.aida.ref.pdf.Variable
-
-
Field Summary
Fields Modifier and Type Field and Description static intDEPENDENTstatic intFUNCTIONstatic intPARAMETER
-
Constructor Summary
Constructors Constructor and Description Variable(java.lang.String name, int type)Variable(java.lang.String name, int type, java.lang.String units)Variable(java.lang.String name, int type, Units units)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description voidaddVariableListener(VariableListener listener)java.lang.Stringname()Get the name.voidremoveVariableListener(VariableListener listener)voidsetName(java.lang.String name)Set the name.voidsetUnits(Units units)Set the object's Units.voidsetValue(double value)Set the current value.inttype()Unitsunits()Get the Units of the object.abstract doublevalue()Get the current value.
-
-
-
Field Detail
-
FUNCTION
public static int FUNCTION
-
DEPENDENT
public static int DEPENDENT
-
PARAMETER
public static int PARAMETER
-
-
Constructor Detail
-
Variable
public Variable(java.lang.String name, int type)
-
Variable
public Variable(java.lang.String name, int type, java.lang.String units)
-
Variable
public Variable(java.lang.String name, int type, Units units)
-
-
Method Detail
-
addVariableListener
public void addVariableListener(VariableListener listener)
-
removeVariableListener
public void removeVariableListener(VariableListener listener)
-
type
public int type()
-
name
public java.lang.String name()
Description copied from interface:HasNameGet the name.
-
setName
public void setName(java.lang.String name)
Description copied from interface:HasNameSet the name.
-
setUnits
public void setUnits(Units units)
Description copied from interface:HasUnitsSet the object's Units.
-
value
public abstract double value()
Description copied from interface:HasValueGet the current value.
-
-
DMelt 3.0 © DataMelt by jWork.ORG