public abstract class AbstractPanelMenu extends Object implements PanelMenu, PanelMenuGroup, AdvancedVisibleComponentIteractions<AbstractPanelMenu.AdvancedAbstractPanelMenuInteractions>
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPanelMenu.AdvancedAbstractPanelMenuInteractions |
| Constructor and Description |
|---|
AbstractPanelMenu() |
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractPanelMenu.AdvancedAbstractPanelMenuInteractions |
advanced() |
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. |
abstract List<org.openqa.selenium.WebElement> |
getMenuGroups() |
abstract List<org.openqa.selenium.WebElement> |
getMenuItems() |
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. |
public PanelMenuItem selectItem(ChoicePicker picker)
PanelMenupicker object.
Note that item needs to be enabled and visible before calling this method.selectItem in interface PanelMenupicker - object to define which item should be selectedpublic PanelMenuItem selectItem(String header)
PanelMenuheader.
Note that item needs to be enabled and visible before calling this method.selectItem in interface PanelMenuheader - the header of the item which should be selectedpublic PanelMenuItem selectItem(int index)
PanelMenuindex.
Note that item need to be enabled and visible before calling this method.selectItem in interface PanelMenuindex - 0 based index of the item to be selectedpublic PanelMenuGroup expandGroup(ChoicePicker picker)
PanelMenupicker object.
Note that group need to be enabled and visible before calling this method.expandGroup in interface PanelMenupicker - object to define which group should be expandedpublic PanelMenuGroup expandGroup(String header)
PanelMenuheader.
Note that group need to be enabled and visible before calling this method.expandGroup in interface PanelMenuheader - the header of the group which should be expandedpublic PanelMenuGroup expandGroup(int index)
PanelMenuindex.
Note that group need to be enabled and visible before calling this method.expandGroup in interface PanelMenuindex - 0 based index of the group to expandpublic void collapseGroup(ChoicePicker picker)
PanelMenupicker object.
Note that group need to be enabled and visible before calling this method.collapseGroup in interface PanelMenupicker - object to define which group should be collapsedpublic void collapseGroup(String header)
PanelMenuheader.
Note that group need to be enabled and visible before calling this method.collapseGroup in interface PanelMenuheader - the header of the group which should be collapsedpublic void collapseGroup(int index)
PanelMenuindex.
Note that group needs to be enabled and visible before calling this method.collapseGroup in interface PanelMenuindex - 0 based index of the group to collapsepublic PanelMenu expandAll()
PanelMenupublic PanelMenu collapseAll()
PanelMenucollapseAll in interface PanelMenupublic abstract List<org.openqa.selenium.WebElement> getMenuItems()
public abstract List<org.openqa.selenium.WebElement> getMenuGroups()
public abstract AbstractPanelMenu.AdvancedAbstractPanelMenuInteractions advanced()
advanced in interface AdvancedInteractions<AbstractPanelMenu.AdvancedAbstractPanelMenuInteractions>Copyright © 2014 JBoss by Red Hat. All Rights Reserved.