Class 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 PrimeFaces p:accordionPanel.
    • Constructor Summary

      Constructors 
      Constructor Description
      AccordionPanel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getTabHeader​(int index)
      Provides the header of an AccordionPanel tab at the specified index.
      List<String> getTabHeaders()
      Provides the headers of the AccordionPanel tabs in their order.
      void toggleTab​(int index)
      Toggle the tab denoted by the specified index.
      • Methods inherited from interface org.jboss.arquillian.graphene.GrapheneElement

        findElement, findGrapheneElements, isPresent
      • Methods inherited from interface org.jboss.arquillian.graphene.GrapheneElementAction

        doubleClick, writeIntoElement
      • Methods inherited from interface org.openqa.selenium.interactions.internal.Locatable

        getCoordinates
      • Methods inherited from interface org.openqa.selenium.TakesScreenshot

        getScreenshotAs
      • Methods inherited from interface org.openqa.selenium.WebElement

        clear, click, findElements, getAttribute, getCssValue, getLocation, getRect, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit
      • Methods inherited from interface org.openqa.selenium.internal.WrapsElement

        getWrappedElement
    • Constructor Detail

      • AccordionPanel

        public AccordionPanel()
    • 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 an AccordionPanel tab at the specified index.
        Parameters:
        index - the index
        Returns:
        the header of the AccordionPanel tab
      • getTabHeaders

        public List<String> getTabHeaders()
        Provides the headers of the AccordionPanel tabs in their order.
        Returns:
        a copy of the headers in order