Class SelectManyCheckbox
- java.lang.Object
-
- org.primefaces.selenium.AbstractPrimePageFragment
-
- org.primefaces.selenium.component.base.AbstractComponent
-
- org.primefaces.selenium.component.SelectManyCheckbox
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public abstract class SelectManyCheckbox extends AbstractComponent
Component wrapper for the PrimeFacesp:selectManyCheckbox.
-
-
Constructor Summary
Constructors Constructor Description SelectManyCheckbox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeselect(int... indexes)voiddeselectAll()List<org.openqa.selenium.WebElement>getCheckboxes()List<SelectItem>getItems()intgetItemsSize()StringgetLabel(int index)List<String>getLabels()booleanisSelected(int index)voidselect(int... indexes)voidselectAll()voidtoggle(int... indexes)voidtoggleAll()-
Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
-
-
-
Method Detail
-
getCheckboxes
public List<org.openqa.selenium.WebElement> getCheckboxes()
-
toggle
public void toggle(int... indexes)
-
toggleAll
public void toggleAll()
-
select
public void select(int... indexes)
-
selectAll
public void selectAll()
-
deselect
public void deselect(int... indexes)
-
deselectAll
public void deselectAll()
-
getItemsSize
public int getItemsSize()
-
getLabel
public String getLabel(int index)
-
getItems
public List<SelectItem> getItems()
-
isSelected
public boolean isSelected(int index)
-
-