org.graffiti.plugin.parameter
Interface LimitableParameter<T extends Comparable<T>>

All Superinterfaces:
Displayable<T>, Parameter<T>, Serializable, SingleParameter<T>
All Known Implementing Classes:
AbstractLimitableParameter, DoubleParameter, FloatParameter, IntegerParameter, ProbabilityParameter

public interface LimitableParameter<T extends Comparable<T>>
extends SingleParameter<T>

The value of a LimitableParameter can be limited by giving maximum and minimum values.

Version:
$Revision: 5767 $

Method Summary
 T getMax()
          Returns the maximum value for this LimitableParameter.
 T getMin()
          Returns the minimum value for this LimitableParameter.
 T getSliderMax()
          Returns the maximum value of the slider of this LimitableParameter.
 T getSliderMin()
          Returns the minimum value of the slider for this LimitableParameter.
 boolean isValid()
          Returns true if the value is between the minimum and the maximum, false otherwise.
 
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, toXMLString
 

Method Detail

getMax

T getMax()
Returns the maximum value for this LimitableParameter.

Returns:
the maximum value for this LimitableParameter.

getMin

T getMin()
Returns the minimum value for this LimitableParameter.

Returns:
the minimum value for this LimitableParameter.

getSliderMax

T getSliderMax()
Returns the maximum value of the slider of this LimitableParameter.

Returns:
the maximum value of the slider of this LimitableParameter.

getSliderMin

T getSliderMin()
Returns the minimum value of the slider for this LimitableParameter.

Returns:
the minimum value of the slider for this LimitableParameter.

isValid

boolean isValid()
Returns true if the value is between the minimum and the maximum, false otherwise.

Returns:
true if the value is between the minimum and the maximum, false otherwise.


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