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
public abstract class SelectManyMenu extends AbstractInputComponent
Component wrapper for the PrimeFacesp:selectOneMenu.
-
-
Constructor Summary
Constructors Constructor Description SelectManyMenu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeselect(String label)org.openqa.selenium.WebElementgetFilterInput()org.openqa.selenium.WebElementgetInput()The input element reference.StringgetLabel(int index)List<String>getLabels()List<String>getSelectedLabels()org.openqa.selenium.WebElementgetSelectlistbox()booleanisSelected(int index)booleanisSelected(String label)voidselect(String label, boolean withMetaKey)voidtoggleSelection(String label, boolean withMetaKey)-
Methods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
clear, copyToClipboard, disable, enable, getAssignedLabel, getAssignedLabelText, isEnabled, isOnchangeAjaxified, pasteFromClipboard, selectAllText
-
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
-
deselect
public void deselect(String label)
-
select
public void select(String label, boolean withMetaKey)
-
toggleSelection
public void toggleSelection(String label, boolean withMetaKey)
-
isSelected
public boolean isSelected(String label)
-
isSelected
public boolean isSelected(int index)
-
getLabel
public String getLabel(int index)
-
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()
-
-