class InputBoxConstraint extends ValueConstraint
- Source
- InputBoxConstraint.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- InputBoxConstraint
- ValueConstraint
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new InputBoxConstraint(typeName: String, _defaultValue: AnyRef)
Value Members
-
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
- InputBoxConstraint → ValueConstraint
- Annotations
- @throws( classOf[ValueConstraint.Violation] )
-
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
- InputBoxConstraint → ValueConstraint
- def correctType(obj: AnyRef): Boolean
-
var
defaultValue: AnyRef
- Definition Classes
- InputBoxConstraint → ValueConstraint
- def setType(typeName: String, defaultValue: AnyRef): Unit
- var typeName: String