Class Spinner
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public abstract class Spinner extends InputText
Component wrapper for the PrimeFacesp:spinner.
-
-
Constructor Summary
Constructors Constructor Description Spinner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchange()Fire the change event for the spinnervoiddecrement()Decrements this spinner by one SpinnerCfg.steporg.openqa.selenium.WebElementgetButtonDown()Gets the Spinner's Down button.org.openqa.selenium.WebElementgetButtonUp()Gets the Spinner's Up button.org.openqa.selenium.WebElementgetInput()The input element reference.voidincrement()Increments this spinner by one SpinnerCfg.stepvoidsetValue(Serializable value)-
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.
-
getButtonUp
public org.openqa.selenium.WebElement getButtonUp()
Gets the Spinner's Up button.- Returns:
- the
WebElementrepresenting the up button
-
getButtonDown
public org.openqa.selenium.WebElement getButtonDown()
Gets the Spinner's Down button.- Returns:
- the
WebElementrepresenting the down button
-
setValue
public void setValue(Serializable value)
-
increment
public void increment()
Increments this spinner by one SpinnerCfg.step
-
decrement
public void decrement()
Decrements this spinner by one SpinnerCfg.step
-
change
public void change()
Fire the change event for the spinner
-
-