ConstantSliderConstraint

org.nlogo.agent.ConstantSliderConstraint
case class ConstantSliderConstraint(min: Double, max: Double, inc: Double) extends SliderConstraint

Attributes

Source
SliderConstraint.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
SliderConstraint.scala

Attributes

Source
SliderConstraint.scala

Attributes

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

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