trait Field extends ConfirmField
A field that's part of a Screen
- Alphabetic
- By Inheritance
- Field
- ConfirmField
- BaseField
- FieldContainer
- SettableField
- SettableValueHolder
- Settable
- ReadableField
- Bindable
- ValueHolder
- FieldIdentifier
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- abstract type OtherValueType
-
abstract
type
ValueType
- Definition Classes
- ValueHolder
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allFields: Seq[BaseField]
- Definition Classes
- BaseField → FieldContainer
-
def
asHtml: NodeSeq
Default read-only rendering of field
Default read-only rendering of field
- Definition Classes
- ReadableField → Bindable
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
atomicUpdate(f: (ValueType) ⇒ ValueType): ValueType
Perform an atomic update of this Settable.
Perform an atomic update of this Settable. The current value is passed to the function and the ValueHolder is set to the result of the function. This is enclosed in the performAtomicOperation method which will, by default, synchronize this instance
- Definition Classes
- Settable
- def binding: Box[FieldBinding]
-
def
buildIt[T](implicit man: Manifest[T]): Manifest[T]
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
displayHtml: NodeSeq
- Definition Classes
- ReadableField
-
def
displayName: String
The display name of this field (e.g., "First Name")
The display name of this field (e.g., "First Name")
- Definition Classes
- ReadableField
-
def
displayNameHtml: Box[NodeSeq]
- Definition Classes
- ReadableField
-
def
editable_?: Boolean
Is the field editable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fieldId: Option[NodeSeq]
A unique 'id' for the field for form generation
A unique 'id' for the field for form generation
- Definition Classes
- SettableField
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formElemAttrs: Seq[SHtml.ElemAttr]
What form elements are we going to add to this field?
-
def
get: ValueType
get the value
get the value
- Definition Classes
- Field → ValueHolder
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
helpAsHtml: Box[NodeSeq]
- Definition Classes
- Field → SettableField
- def is: ValueType
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
onConfirm_?: Boolean
Is this field on the confirm screen
Is this field on the confirm screen
- Definition Classes
- Field → ConfirmField
-
def
otherFuncVendors(what: Manifest[ValueType]): Box[(ValueType, (ValueType) ⇒ Any) ⇒ NodeSeq]
- Attributes
- protected
-
def
otherValue: OtherValueType
A field my have an "otherValue" which can be used to store a list of options or other information that the fields needs on a Screen/Wizard by Screen/Wizard basis
-
def
otherValueDefault: OtherValueType
- Attributes
- protected
- def otherValueSet_?: Boolean
-
def
performAtomicOperation[T](f: ⇒ T): T
Perform an atomic operation on the Settable.
Perform an atomic operation on the Settable. By default synchronizes the instance, but it could use other mechanisms
- Definition Classes
- Settable
-
def
required_?: Boolean
Is the Field required (and will have a style designating it as such)
Is the Field required (and will have a style designating it as such)
- Definition Classes
- SettableField
- def set(v: ValueType): ValueType
-
def
setFilter: List[(ValueType) ⇒ ValueType]
A list of functions that transform the value before it is set.
A list of functions that transform the value before it is set. The transformations are also applied before the value is used in a query. Typical applications of this are trimming and/or toLowerCase-ing strings
- Definition Classes
- Field → SettableField
- def setOtherValue(v: OtherValueType): OtherValueType
- def set_?: Boolean
-
def
shouldDisplay_?: Boolean
Given the current context, should this field be displayed
Given the current context, should this field be displayed
- Definition Classes
- ReadableField
-
def
show_?: Boolean
Given the current state of things, should this field be shown
Given the current state of things, should this field be shown
- Definition Classes
- SettableField
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toForm: Box[NodeSeq]
Create an input field for the item
Create an input field for the item
- Definition Classes
- Field → SettableField
-
def
toString(): String
- Definition Classes
- Field → AnyRef → Any
- def transforms: List[(BaseField) ⇒ (NodeSeq) ⇒ NodeSeq]
-
def
uniqueFieldId: Box[String]
- Definition Classes
- Field → FieldIdentifier
-
def
uploadField_?: Boolean
Set to true if this field is part of a multi-part mime upload
Set to true if this field is part of a multi-part mime upload
- Definition Classes
- Field → SettableField
-
def
validate: List[FieldError]
Validate this field and return a list of Validation Issues
Validate this field and return a list of Validation Issues
- Definition Classes
- Field → SettableField
-
def
validations: List[(ValueType) ⇒ List[FieldError]]
- Definition Classes
- Field → SettableField
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )