Class AccordionPanel
- java.lang.Object
-
- org.primefaces.selenium.AbstractPrimePageFragment
-
- org.primefaces.selenium.component.base.AbstractComponent
-
- org.primefaces.selenium.component.AccordionPanel
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public abstract class AccordionPanel extends AbstractComponent
Component wrapper for the PrimeFacesp:accordionPanel.
-
-
Constructor Summary
Constructors Constructor Description AccordionPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.openqa.selenium.WebElement>getContents()List<org.openqa.selenium.WebElement>getHeaders()List<Tab>getSelectedTabs()Provides the selectedAccordionPaneltab(s).List<Tab>getTabs()Gets the accordion tabs.voidtoggleTab(int index)Toggle the tab denoted by the specified index.-
Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openqa.selenium.WebElement
clear, click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit
-
-
-
-
Method Detail
-
getHeaders
public List<org.openqa.selenium.WebElement> getHeaders()
-
getContents
public List<org.openqa.selenium.WebElement> getContents()
-
toggleTab
public void toggleTab(int index)
Toggle the tab denoted by the specified index.- Parameters:
index- the index of the tab to expand
-
getSelectedTabs
public List<Tab> getSelectedTabs()
Provides the selectedAccordionPaneltab(s).- Returns:
- the selected tab(s)
-
-