Class AccordionPanel
- java.lang.Object
-
- org.primefaces.extensions.arquillian.component.base.AbstractComponent
-
- org.primefaces.extensions.arquillian.component.AccordionPanel
-
- All Implemented Interfaces:
org.jboss.arquillian.graphene.GrapheneElement,org.jboss.arquillian.graphene.GrapheneElementAction,org.openqa.selenium.interactions.internal.Locatable,org.openqa.selenium.internal.WrapsElement,org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement
public abstract class AccordionPanel extends AbstractComponent
Component wrapper for the PrimeFacesp:accordionPanel.
-
-
Field Summary
-
Fields inherited from class org.primefaces.extensions.arquillian.component.base.AbstractComponent
driver, root
-
-
Constructor Summary
Constructors Constructor Description AccordionPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTabHeader(int index)Provides the header of anAccordionPaneltab at the specified index.List<String>getTabHeaders()Provides the headers of theAccordionPaneltabs in their order.voidtoggleTab(int index)Toggle the tab denoted by the specified index.-
Methods inherited from class org.primefaces.extensions.arquillian.component.base.AbstractComponent
getId, getRoot, getWidgetByIdScript
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.arquillian.graphene.GrapheneElement
findElement, findGrapheneElements, isPresent
-
Methods inherited from interface org.jboss.arquillian.graphene.GrapheneElementAction
doubleClick, writeIntoElement
-
-
-
-
Method Detail
-
toggleTab
public void toggleTab(int index)
Toggle the tab denoted by the specified index.- Parameters:
index- the index of the tab to expand
-
getTabHeader
public String getTabHeader(int index)
Provides the header of anAccordionPaneltab at the specified index.- Parameters:
index- the index- Returns:
- the header of the
AccordionPaneltab
-
getTabHeaders
public List<String> getTabHeaders()
Provides the headers of theAccordionPaneltabs in their order.- Returns:
- a copy of the headers in order
-
-