c

org.nlogo.agent

InputBoxConstraint

class InputBoxConstraint extends ValueConstraint

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

Instance Constructors

  1. new InputBoxConstraint(typeName: String, _defaultValue: AnyRef)

Value Members

  1. def assertConstraint(value: AnyRef): Unit

    Throws a Violation condition if the input is not acceptable.

    Throws a Violation condition if the input is not acceptable.

    Definition Classes
    InputBoxConstraintValueConstraint
    Annotations
    @throws( classOf[ValueConstraint.Violation] )
  2. def coerceValue(value: 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
    InputBoxConstraintValueConstraint
  3. def correctType(obj: AnyRef): Boolean
  4. var defaultValue: AnyRef
    Definition Classes
    InputBoxConstraintValueConstraint
  5. def setType(typeName: String, defaultValue: AnyRef): Unit
  6. var typeName: String