public interface PanelMenu
Modifier and Type | Method and Description |
---|---|
PanelMenu |
collapseAll()
Collapses all enabled and visible groups.
|
void |
collapseGroup(ChoicePicker picker)
Collapses group which satisfies the rules given in
picker object. |
void |
collapseGroup(int index)
Collapses group which index equals the given
index . |
void |
collapseGroup(String header)
Collapses group which text representation matches the given
header . |
PanelMenu |
expandAll()
Expands all enabled and visible groups.
|
PanelMenuGroup |
expandGroup(ChoicePicker picker)
Expands group which satisfies the rules given in
picker object. |
PanelMenuGroup |
expandGroup(int index)
Expands group which index equals the given
index . |
PanelMenuGroup |
expandGroup(String header)
Expands group which text representation matches the given
header . |
PanelMenuItem |
selectItem(ChoicePicker picker)
Selects a menu item which satisfies the rules given in
picker object. |
PanelMenuItem |
selectItem(int index)
Selects a menu item which index equals the given
index . |
PanelMenuItem |
selectItem(String header)
Selects a menu item which text representation matches the given
header . |
PanelMenuGroup expandGroup(ChoicePicker picker)
picker
object.
Note that group need to be enabled and visible before calling this method.picker
- object to define which group should be expandedIllegalArgumentException
- if group is not enabled or visible, or does not existPanelMenuGroup expandGroup(String header)
header
.
Note that group need to be enabled and visible before calling this method.header
- the header of the group which should be expandedIllegalArgumentException
- if group is not enabled or visible, or does not existPanelMenuGroup expandGroup(int index)
index
.
Note that group need to be enabled and visible before calling this method.index
- 0 based index of the group to expandIllegalArgumentException
- if group is not enabled or visible, or does not existvoid collapseGroup(ChoicePicker picker)
picker
object.
Note that group need to be enabled and visible before calling this method.picker
- object to define which group should be collapsedIllegalArgumentException
- if group is not enabled or visible, or does not existvoid collapseGroup(String header)
header
.
Note that group need to be enabled and visible before calling this method.header
- the header of the group which should be collapsedIllegalArgumentException
- if group is not enabled or visible, or does not existvoid collapseGroup(int index)
index
.
Note that group needs to be enabled and visible before calling this method.index
- 0 based index of the group to collapseIllegalArgumentException
- if group is not enabled or visible, or does not existPanelMenuItem selectItem(ChoicePicker picker)
picker
object.
Note that item needs to be enabled and visible before calling this method.picker
- object to define which item should be selectedIllegalArgumentException
- if menu item is not enabled or visible, or does not existPanelMenuItem selectItem(String header)
header
.
Note that item needs to be enabled and visible before calling this method.header
- the header of the item which should be selectedIllegalArgumentException
- if menu item is not enabled or visible, or does not existPanelMenuItem selectItem(int index)
index
.
Note that item need to be enabled and visible before calling this method.index
- 0 based index of the item to be selectedIllegalArgumentException
- if group is not enabled or visible, or does not existPanelMenu expandAll()
PanelMenu collapseAll()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.