Class SelectOneRadio

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

public abstract class SelectOneRadio extends AbstractComponent
Component wrapper for the PrimeFaces p:selectOneRadio.
  • Constructor Details

    • SelectOneRadio

      public SelectOneRadio()
  • Method Details

    • getRadioButtons

      public List<org.openqa.selenium.WebElement> getRadioButtons()
    • getRadioButton

      public org.openqa.selenium.WebElement getRadioButton(int index)
    • getRadioButtonBox

      public org.openqa.selenium.WebElement getRadioButtonBox(int index)
    • select

      public void select(int index)
    • select

      public void select(String text)
    • getSelectedIndex

      public int getSelectedIndex()
    • getSelectedLabel

      public String getSelectedLabel()
    • getLabels

      public List<String> getLabels()
    • getLabel

      public String getLabel(int index)
    • getItemsSize

      public int getItemsSize()
    • getItems

      public List<SelectItem> getItems()
    • disable

      public void disable()
      Disables the entire component.
    • enable

      public void enable()
      Enables the entire component
    • disableOption

      public void disableOption(int index)
      Disables a given radio button option of this widget.
      Parameters:
      index - Index of the radio button option to disable.
    • enableOption

      public void enableOption(int index)
      Enables a given radio button option of this widget.
      Parameters:
      index - Index of the radio button option to enable.
    • isReadOnly

      public boolean isReadOnly()
      Is this component readonly?
      Returns:
      true if readonly