c

org.nlogo.agent

DynamicSliderConstraint

class DynamicSliderConstraint extends SliderConstraint

Constraint suitable for Slider variables. The various limits on the Slider value can be specified using a NetLogo reporter.

Source
SliderConstraint.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DynamicSliderConstraint
  2. SliderConstraint
  3. ValueConstraint
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DynamicSliderConstraint(min: ReporterLogoThunk, max: ReporterLogoThunk, inc: ReporterLogoThunk)

Value Members

  1. def assertConstraint(o: AnyRef): Unit

    Throws a Violation condition if the input is not acceptable.

    Throws a Violation condition if the input is not acceptable.

    Definition Classes
    SliderConstraintValueConstraint
  2. def coerceValue(o: AnyRef): AnyRef

    Returns the constrained value, which can differ from the input.

    Returns the constrained value, which can differ from the input. Throws a Violation condition if the input is not coercable.

    Definition Classes
    SliderConstraintValueConstraint
  3. var defaultValue: Double
    Definition Classes
    SliderConstraintValueConstraint
  4. def increment: Try[Double]
  5. def maximum: Try[Double]
  6. def minimum: Try[Double]