Class Choice<T>
java.lang.Object
com.ultikits.ultitools.ui.Choice<T>
- Type Parameters:
T- answer type; values must be immutable
- All Implemented Interfaces:
UiIntent<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA reusable, non-thread-safe builder. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateChoice(Choice.Builder<T> builder, List<ChoiceOption<T>> options) -
Method Summary
-
Field Details
-
title
-
body
-
options
-
-
Constructor Details
-
Choice
-
-
Method Details
-
builder
- Throws:
IllegalArgumentException- at build if empty or values are not unique
-
title
-
body
-
options
Options in display order; unmodifiable. -
equals
-
hashCode
-
toString
-