Package org.mozilla.geckoview
Class GeckoSession.PromptDelegate.ChoicePrompt.Choice
Object
org.mozilla.geckoview.GeckoSession.PromptDelegate.ChoicePrompt.Choice
- Enclosing class:
- GeckoSession.PromptDelegate.ChoicePrompt
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
A boolean indicating if the item is disabled.final String
A String giving the URI of the item icon, or null if none exists (only valid for menus)final String
A String giving the ID of the item or groupA Choice array of sub-items in a group, or null if not a groupfinal String
A string giving the label for displaying the item or groupfinal boolean
A boolean indicating if the item should be pre-selected (pre-checked for menu items)final boolean
A boolean indicating if the item should be a menu separator (only valid for menus) -
Constructor Summary
-
Method Summary
-
Field Details
-
disabled
public final boolean disabledA boolean indicating if the item is disabled. Item should not be selectable if this is true. -
icon
A String giving the URI of the item icon, or null if none exists (only valid for menus) -
id
A String giving the ID of the item or group -
items
A Choice array of sub-items in a group, or null if not a group -
label
A string giving the label for displaying the item or group -
selected
public final boolean selectedA boolean indicating if the item should be pre-selected (pre-checked for menu items) -
separator
public final boolean separatorA boolean indicating if the item should be a menu separator (only valid for menus)
-
-
Constructor Details
-
Choice
protected Choice()Empty constructor for tests.
-