org.graffiti.plugin.parameter
Class DoubleParameter

java.lang.Object
  extended by org.graffiti.plugin.parameter.AbstractSingleParameter<T>
      extended by org.graffiti.plugin.parameter.AbstractLimitableParameter<Double>
          extended by org.graffiti.plugin.parameter.DoubleParameter
All Implemented Interfaces:
Serializable, Displayable<Double>, LimitableParameter<Double>, Parameter<Double>, SingleParameter<Double>

public class DoubleParameter
extends AbstractLimitableParameter<Double>

Represents a double parameter.

Version:
$Revision: 5767 $
See Also:
Serialized Form

Constructor Summary
DoubleParameter(Double val, String name, String description)
          Constructs a new double parameter.
DoubleParameter(Double val, String name, String description, Double sliderMin, Double sliderMax)
          Constructs a new double parameter.
DoubleParameter(Double val, String name, String description, Double sliderMin, Double sliderMax, Double min, Double max)
          Constructs a new double parameter.
DoubleParameter(String name, String description)
          Constructs a new double parameter.
DoubleParameter(String name, String description, Double sliderMin, Double sliderMax)
          Constructs a new double parameter.
 
Method Summary
 Double getDouble()
          Returns the value of this parameter as a Double.
 void setDouble(Double val)
          DOCUMENT ME!
 
Methods inherited from class org.graffiti.plugin.parameter.AbstractLimitableParameter
getMax, getMin, getSliderMax, getSliderMin, isValid, toXMLString
 
Methods inherited from class org.graffiti.plugin.parameter.AbstractSingleParameter
canCopy, copy, getDependencyParent, getDependencyValue, getDescription, getImage, getName, getValue, isVisible, setDependency, setDescription, setObjectValue, setValue, setVisible, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.graffiti.plugin.parameter.Parameter
canCopy, copy, getDependencyParent, getDependencyValue, getImage, isVisible, setDependency, setObjectValue, setVisible
 
Methods inherited from interface org.graffiti.plugin.Displayable
getDescription, getName, getValue, setDescription, setValue
 

Constructor Detail

DoubleParameter

public DoubleParameter(String name,
                       String description)
Constructs a new double parameter.

Parameters:
name - the name of the parameter.
description - the description of the parameter.

DoubleParameter

public DoubleParameter(String name,
                       String description,
                       Double sliderMin,
                       Double sliderMax)
Constructs a new double parameter.

Parameters:
name - the name of the parameter.
description - the description of the parameter.
sliderMin - The parameter's slider minimum.
sliderMax - The parameter's slider maximum.

DoubleParameter

public DoubleParameter(Double val,
                       String name,
                       String description)
Constructs a new double parameter.

Parameters:
val - the value of the parameter
name - the name of the parameter.
description - the description of the parameter.

DoubleParameter

public DoubleParameter(Double val,
                       String name,
                       String description,
                       Double sliderMin,
                       Double sliderMax)
Constructs a new double parameter.

Parameters:
val - the value of the parameter
name - the name of the parameter.
description - the description of the parameter.
sliderMin - The parameter's slider minimum.
sliderMax - The parameter's slider maximum.

DoubleParameter

public DoubleParameter(Double val,
                       String name,
                       String description,
                       Double sliderMin,
                       Double sliderMax,
                       Double min,
                       Double max)
Constructs a new double parameter.

Parameters:
val - the value of the parameter
name - the name of the parameter.
description - the description of the parameter.
sliderMin - The parameter's slider minimum.
sliderMax - The parameter's slider maximum.
min - The parameter's minimum.
max - The parameter's maximum.
Method Detail

setDouble

public void setDouble(Double val)
DOCUMENT ME!

Parameters:
val - DOCUMENT ME!

getDouble

public Double getDouble()
Returns the value of this parameter as a Double.

Returns:
the value of this parameter as a Double.


Generated at 2012-05-30 11:00:14 PM CEST