org.nlogo.agent
Class DynamicSliderConstraint

java.lang.Object
  extended by org.nlogo.agent.SliderConstraint
      extended by org.nlogo.agent.DynamicSliderConstraint
All Implemented Interfaces:
ValueConstraint

public class DynamicSliderConstraint
extends SliderConstraint


Nested Class Summary
 
Nested classes/interfaces inherited from class org.nlogo.agent.SliderConstraint
SliderConstraint.ConstraintCompilerException, SliderConstraint.RuntimeConstraintException
 
Nested classes/interfaces inherited from interface org.nlogo.agent.ValueConstraint
ValueConstraint.Violation
 
Constructor Summary
DynamicSliderConstraint(Thunk min, Thunk max, Thunk inc)
           
 
Method Summary
 Double increment()
           
 Double maximum()
           
 Double minimum()
           
 
Methods inherited from class org.nlogo.agent.SliderConstraint
assertConstraint, coerceValue, defaultValue, defaultValue, effectiveMaximum, getPrecision, makeSliderConstraint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicSliderConstraint

public DynamicSliderConstraint(Thunk min,
                               Thunk max,
                               Thunk inc)
Method Detail

minimum

public Double minimum()
               throws LogoException
Specified by:
minimum in class SliderConstraint
Throws:
LogoException

maximum

public Double maximum()
               throws LogoException
Specified by:
maximum in class SliderConstraint
Throws:
LogoException

increment

public Double increment()
                 throws LogoException
Specified by:
increment in class SliderConstraint
Throws:
LogoException