org.graffiti.plugin.parameter
Class IntegerParameter

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

public class IntegerParameter
extends AbstractLimitableParameter<Integer>

Parameter that contains an Integer value.

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

Field Summary
 
Fields inherited from class org.graffiti.plugin.parameter.AbstractLimitableParameter
max, min, sliderMax, sliderMin
 
Constructor Summary
IntegerParameter(Integer value, Integer min, Integer max, String name, String description)
          Constructs a new integer parameter.
IntegerParameter(Integer value, String name, String description)
          Constructs a new integer parameter.
IntegerParameter(Integer val, String name, String description, Integer sliderMin, Integer sliderMax, Integer min, Integer max)
          Constructs a new integer parameter.
 
Method Summary
 Integer getInteger()
          Returns the value of this parameter as an Integer.
 
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, getStandardXML, getValue, isVisible, setDependency, setDescription, setObjectValue, setValue, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

IntegerParameter

public IntegerParameter(Integer value,
                        Integer min,
                        Integer max,
                        String name,
                        String description)
Constructs a new integer parameter.

Parameters:
value - the new integer value. May be null.
min - the minimum value.
max - the maximum value.
name - the name of the parameter.
description - the description of the parameter.

IntegerParameter

public IntegerParameter(Integer value,
                        String name,
                        String description)
Constructs a new integer parameter.

Parameters:
value - the new integer value. May be null.
name - the name of the parameter.
description - the description of the parameter.

IntegerParameter

public IntegerParameter(Integer val,
                        String name,
                        String description,
                        Integer sliderMin,
                        Integer sliderMax,
                        Integer min,
                        Integer max)
Constructs a new integer 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

getInteger

public Integer getInteger()
Returns the value of this parameter as an Integer.

Returns:
the value of this parameter as an Integer.


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