Class SelectManyMenu
java.lang.Object
org.primefaces.selenium.AbstractPrimePageFragment
org.primefaces.selenium.component.base.AbstractComponent
org.primefaces.selenium.component.base.AbstractInputComponent
org.primefaces.selenium.component.SelectManyMenu
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
Component wrapper for the PrimeFaces
p:selectOneMenu.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidorg.openqa.selenium.WebElementorg.openqa.selenium.WebElementgetInput()The input element reference.getLabel(int index) org.openqa.selenium.WebElementbooleanIs the input using AJAX "itemSelect" event?booleanIs the input using AJAX "itemUnselect" event?booleanisSelected(int index) booleanisSelected(String label) voidvoidvoidtoggleSelection(String label, boolean withMetaKey) voidtoggleSelection(String label, boolean withMetaKey, boolean withGuardAjax) Methods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
clear, copyToClipboard, disable, enable, focus, getAssignedLabel, getAssignedLabelText, 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
-
SelectManyMenu
public SelectManyMenu()
-
-
Method Details
-
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
-
deselect
-
deselect
-
select
-
select
-
toggleSelection
-
toggleSelection
-
isSelected
-
getLabels
-
isSelected
public boolean isSelected(int index) -
getLabel
-
getSelectedLabels
-
getInput
public org.openqa.selenium.WebElement getInput()Description copied from class:AbstractInputComponentThe input element reference.- Overrides:
getInputin classAbstractInputComponent- Returns:
- the
WebElementrepresenting the input.
-
getSelectlistbox
public org.openqa.selenium.WebElement getSelectlistbox() -
getFilterInput
public org.openqa.selenium.WebElement getFilterInput()
-