Class SelectCheckboxMenu
- java.lang.Object
-
- org.primefaces.selenium.AbstractPrimePageFragment
-
- org.primefaces.selenium.component.base.AbstractComponent
-
- org.primefaces.selenium.component.base.AbstractInputComponent
-
- org.primefaces.selenium.component.SelectCheckboxMenu
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public abstract class SelectCheckboxMenu extends AbstractInputComponent
Component wrapper for the PrimeFacesselectCheckboxMenu.
-
-
Constructor Summary
Constructors Constructor Description SelectCheckboxMenu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckAll()Selects all available options.List<org.openqa.selenium.WebElement>getCheckboxes()org.openqa.selenium.WebElementgetFilterInput()org.openqa.selenium.WebElementgetPanel()List<org.openqa.selenium.WebElement>getSelectedCheckboxes()voidhide()Hides the SelectOneMenu panel.booleanisItemSelectAjaxified()Is the input using AJAX "itemSelect" event?booleanisItemUnselectAjaxified()Is the input using AJAX "itemUnselect" event?voidresetValue()Resets the input.voidselectValue(String value)Checks the checkbox option with the given value.voidshow()Shows the SelectOneMenu panel.voidtogglPanel()Bring up the overlay panel if its not showing or hide it if it is showing.voiduncheckAll()Unselects all available options.-
Methods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
clear, copyToClipboard, disable, enable, getAssignedLabel, getAssignedLabelText, getInput, isEnabled, isOnchangeAjaxified, pasteFromClipboard, selectAllText
-
Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
-
-
-
Method Detail
-
getFilterInput
public org.openqa.selenium.WebElement getFilterInput()
-
getPanel
public org.openqa.selenium.WebElement getPanel()
-
getCheckboxes
public List<org.openqa.selenium.WebElement> getCheckboxes()
-
getSelectedCheckboxes
public List<org.openqa.selenium.WebElement> getSelectedCheckboxes()
-
isItemSelectAjaxified
public boolean isItemSelectAjaxified()
Is the input using AJAX "itemSelect" event?- Returns:
- true if using AJAX for itemSelect
-
isItemUnselectAjaxified
public boolean isItemUnselectAjaxified()
Is the input using AJAX "itemUnselect" event?- Returns:
- true if using AJAX for itemUnselect
-
togglPanel
public void togglPanel()
Bring up the overlay panel if its not showing or hide it if it is showing.
-
show
public void show()
Shows the SelectOneMenu panel.
-
hide
public void hide()
Hides the SelectOneMenu panel.
-
checkAll
public void checkAll()
Selects all available options.
-
uncheckAll
public void uncheckAll()
Unselects all available options.
-
resetValue
public void resetValue()
Resets the input.
-
selectValue
public void selectValue(String value)
Checks the checkbox option with the given value.- Parameters:
value- the value to check
-
-