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
Component wrapper for the PrimeFaces
p:accordionPanel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollapseTab(int index) Collapse the tab denoted by the specified index.voidexpandTab(int index) Expands the tab denoted by the specified index.List<org.openqa.selenium.WebElement> List<org.openqa.selenium.WebElement> Provides the selectedAccordionPaneltab(s).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, isAjaxifiedMethods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAsMethods 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
-
Constructor Details
-
AccordionPanel
public AccordionPanel()
-
-
Method Details
-
getHeaders
-
getContents
-
getTabs
-
toggleTab
public void toggleTab(int index) Toggle the tab denoted by the specified index.- Parameters:
index- the index of the tab to toggle
-
expandTab
public void expandTab(int index) Expands the tab denoted by the specified index.- Parameters:
index- the index of the tab to expand
-
collapseTab
public void collapseTab(int index) Collapse the tab denoted by the specified index.- Parameters:
index- the index of the tab to collapse
-
getSelectedTabs
Provides the selectedAccordionPaneltab(s).- Returns:
- the selected tab(s)
-