Class SelectOneMenu

  • All Implemented Interfaces:
    org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

    public abstract class SelectOneMenu
    extends AbstractInputComponent
    Component wrapper for the PrimeFaces p:selectOneMenu.
    • Constructor Detail

      • SelectOneMenu

        public SelectOneMenu()
    • Method Detail

      • isItemSelectAjaxified

        public boolean isItemSelectAjaxified()
        Is the input using AJAX "itemSelect" event?
        Returns:
        true if using AJAX for itemSelect
      • toggleDropdown

        public void toggleDropdown()
        Either display the dropdown or hide it if is already displayed.
      • show

        public void show()
        Shows the SelectOneMenu panel.
      • hide

        public void hide()
        Hides the SelectOneMenu panel.
      • deselect

        public void deselect​(String label)
      • select

        public void select​(String label)
      • getSelectedLabel

        public String getSelectedLabel()
      • isSelected

        public boolean isSelected​(String label)
      • getLabels

        public List<String> getLabels()
        All labels independent of filter.
        Returns:
      • select

        public void select​(int index)
      • deselect

        public void deselect​(int index)
      • selectByValue

        public void selectByValue​(String value)
      • isSelected

        public boolean isSelected​(int index)
      • getLabel

        public String getLabel​(int index)
      • getEditableInput

        public org.openqa.selenium.WebElement getEditableInput()
      • getLabel

        public org.openqa.selenium.WebElement getLabel()
      • getItems

        public org.openqa.selenium.WebElement getItems()
      • getPanel

        public org.openqa.selenium.WebElement getPanel()
      • click

        protected void click​(org.openqa.selenium.WebElement element)
      • getFilterInput

        public org.openqa.selenium.WebElement getFilterInput()