DynamicSliderConstraint

org.nlogo.agent.DynamicSliderConstraint

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

Attributes

Source
SliderConstraint.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def increment: Try[Double]

Attributes

Definition Classes
Source
SliderConstraint.scala
override def maximum: Try[Double]

Attributes

Definition Classes
Source
SliderConstraint.scala
override def minimum: Try[Double]

Attributes

Definition Classes
Source
SliderConstraint.scala

Inherited methods

def assertConstraint(o: Object): Unit

Throws a Violation condition if the input is not acceptable.

Throws a Violation condition if the input is not acceptable.

Attributes

Inherited from:
SliderConstraint
Source
SliderConstraint.scala
def coerceValue(o: Object): Object

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

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

Attributes

Inherited from:
SliderConstraint
Source
SliderConstraint.scala

Inherited fields

var defaultValue: Double

Returns the default value for this constraint.

Returns the default value for this constraint.

Attributes

Inherited from:
SliderConstraint
Source
SliderConstraint.scala