Class InputMask
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public abstract class InputMask extends InputText
Component wrapper for the PrimeFacesp:inputMask.
-
-
Constructor Summary
Constructors Constructor Description InputMask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetWidgetValue()Client side widget method to get the current value.StringgetWidgetValueUnmasked()Client side widget method to get the unmasked value.voidsetValue(Serializable value)voidsetWidgetValue(Serializable value)Client side widget method to set the current value.-
Methods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
clear, copyToClipboard, disable, enable, getAssignedLabel, getAssignedLabelText, getInput, 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
-
setValue
public void setValue(Serializable value)
-
setWidgetValue
public void setWidgetValue(Serializable value)
Client side widget method to set the current value.- Parameters:
value- the value to set the input to
-
getWidgetValue
public String getWidgetValue()
Client side widget method to get the current value.- Returns:
- the current value
-
getWidgetValueUnmasked
public String getWidgetValueUnmasked()
Client side widget method to get the unmasked value.- Returns:
- the unmasked value
- Since:
- 9.0
-
-