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
Component wrapper for the PrimeFaces
selectCheckboxMenu .-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAll()Selects all available options.List<org.openqa.selenium.WebElement> org.openqa.selenium.WebElementorg.openqa.selenium.WebElementgetPanel()List<org.openqa.selenium.WebElement> voidhide()Hides the SelectOneMenu panel.booleanIs the input using AJAX "itemSelect" event?booleanIs the input using AJAX "itemUnselect" event?voidResets the input.voidselectValue(String value) Checks the checkbox option with the given value.voidshow()Shows the SelectOneMenu panel.voidBring up the overlay panel if its not showing or hide it if it is showing.voidUnselects all available options.Methods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
clear, copyToClipboard, disable, enable, getAssignedLabel, getAssignedLabelText, getInput, isEnabled, isOnchangeAjaxified, pasteFromClipboard, selectAllTextMethods inherited from class org.primefaces.selenium.component.base.AbstractComponent
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxifiedMethods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAsMethods inherited from interface org.openqa.selenium.WebElement
click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isSelected, sendKeys, submit
-
Constructor Details
-
SelectCheckboxMenu
public SelectCheckboxMenu()
-
-
Method Details
-
getFilterInput
public org.openqa.selenium.WebElement getFilterInput() -
getPanel
public org.openqa.selenium.WebElement getPanel() -
getCheckboxes
-
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
Checks the checkbox option with the given value.- Parameters:
value- the value to check
-