Class TriStateCheckbox
- java.lang.Object
-
- org.primefaces.selenium.AbstractPrimePageFragment
-
- org.primefaces.selenium.component.base.AbstractComponent
-
- org.primefaces.selenium.component.base.AbstractInputComponent
-
- org.primefaces.selenium.component.TriStateCheckbox
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public abstract class TriStateCheckbox extends AbstractInputComponent
Component wrapper for the PrimeFacesp:triStateCheckbox.
-
-
Constructor Summary
Constructors Constructor Description TriStateCheckbox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclick()org.openqa.selenium.WebElementgetBox()org.openqa.selenium.WebElementgetInput()The input element reference.StringgetValue()voidsetValue(String value)voidtoggle()Toggles between its three states.-
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.
-
getBox
public org.openqa.selenium.WebElement getBox()
-
click
public void click()
-
setValue
public void setValue(String value)
-
getValue
public String getValue()
-
toggle
public void toggle()
Toggles between its three states. (0, 1, 2)
-
-