data class Choice : Parcelable
(source)
Value type that represents a select option, optgroup or menuitem html element.
companion object CREATOR : Creator<Choice> |
Choice(id: String, enable: Boolean = true, label: String, selected: Boolean = false, isASeparator: Boolean = false, children: Array<Choice>? = null)
Value type that represents a select option, optgroup or menuitem html element. |
val children: Array<Choice>?
Sub-items in a group, or null if not a group. |
|
var enable: Boolean
indicate if item should be selectable or not. |
|
val id: String
of the option, optgroup or menuitem. |
|
val isASeparator: Boolean
Indicating if the item should be a menu separator (only valid for menus). |
|
val isGroupType: Boolean |
|
var label: String
The label for displaying the option, optgroup or menuitem. |
|
var selected: Boolean
Indicate if the item should be pre-selected. |
fun describeContents(): Int |
|
fun writeToParcel(parcel: Parcel, flags: Int): Unit |
fun createFromParcel(parcel: Parcel): Choice |
|
fun newArray(size: Int): Array<Choice?> |