Class Chips
- java.lang.Object
-
- org.primefaces.selenium.AbstractPrimePageFragment
-
- org.primefaces.selenium.component.base.AbstractComponent
-
- org.primefaces.selenium.component.base.AbstractInputComponent
-
- org.primefaces.selenium.component.Chips
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public abstract class Chips extends AbstractInputComponent
Component wrapper for the PrimeFacesp:chips.
-
-
Constructor Summary
Constructors Constructor Description Chips()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(String value)List<org.openqa.selenium.WebElement>getChipTokens()org.openqa.selenium.WebElementgetInput()The input element reference.List<String>getValues()voidremoveValue(String value)voidtoggleEditor()Converts the current list into a separator delimited list for mass editing while keeping original order of the items or closes the editor turning the values back into chips.-
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
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
-
-
-
Method Detail
-
getInput
public org.openqa.selenium.WebElement getInput()
Description copied from class:AbstractInputComponentThe input element reference.- Overrides:
getInputin classAbstractInputComponent- Returns:
- the
WebElementrepresenting the input.
-
getChipTokens
public List<org.openqa.selenium.WebElement> getChipTokens()
-
addValue
public void addValue(String value)
-
removeValue
public void removeValue(String value)
-
toggleEditor
public void toggleEditor()
Converts the current list into a separator delimited list for mass editing while keeping original order of the items or closes the editor turning the values back into chips.
-
-