SliderConstraint

org.nlogo.agent.SliderConstraint
See theSliderConstraint companion object
abstract class SliderConstraint extends ValueConstraint

Attributes

Companion
object
Source
SliderConstraint.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

Attributes

Source
SliderConstraint.scala

Attributes

Source
SliderConstraint.scala

Attributes

Source
SliderConstraint.scala

Concrete 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

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

Source
SliderConstraint.scala

Concrete fields

var defaultValue: Double

Returns the default value for this constraint.

Returns the default value for this constraint.

Attributes

Source
SliderConstraint.scala