public static class GeckoSession.PromptDelegate.ChoicePrompt.Choice extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
disabled
A boolean indicating if the item is disabled.
|
String |
icon
A String giving the URI of the item icon, or null if none exists
(only valid for menus)
|
String |
id
A String giving the ID of the item or group
|
GeckoSession.PromptDelegate.ChoicePrompt.Choice[] |
items
A Choice array of sub-items in a group, or null if not a group
|
String |
label
A string giving the label for displaying the item or group
|
boolean |
selected
A boolean indicating if the item should be pre-selected
(pre-checked for menu items)
|
boolean |
separator
A boolean indicating if the item should be a menu separator
(only valid for menus)
|
Modifier | Constructor and Description |
---|---|
protected |
Choice()
Empty constructor for tests.
|
public final boolean disabled
@Nullable public final String icon
@NonNull public final String id
@Nullable public final GeckoSession.PromptDelegate.ChoicePrompt.Choice[] items
@NonNull public final String label
public final boolean selected
public final boolean separator