final case class ChoiceHolder[T](items: Seq[ChoiceItem[T]]) extends Product with Serializable
Holds a series of choices: HTML for input controls alongside some user defined value
- Alphabetic
- By Inheritance
- ChoiceHolder
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ChoiceHolder(items: Seq[ChoiceItem[T]])
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
apply(in: Int): NodeSeq
Retrieve the nth ChoiceItem, 0-based
-
def
apply(in: T): NodeSeq
Retrieve the ChoiceItem that has the given key, throwing NoSuchElementException if there is no matching ChoiceItem
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
filter(f: (ChoiceItem[T]) ⇒ Boolean): Seq[ChoiceItem[T]]
Return the ChoiceItems that the given function returns true for
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[A](f: (ChoiceItem[T]) ⇒ Iterable[A]): Seq[A]
Apply a function to each ChoiceItem, concatenating the results
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val items: Seq[ChoiceItem[T]]
-
def
map[A](f: (ChoiceItem[T]) ⇒ A): Seq[A]
Apply a function to each ChoiceItem, collecting the results
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toForm: NodeSeq
Generate a simple form by calling ChoiceItem.htmlize on each ChoiceItem and concatenating the resulting HTML
-
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( ... )