Package com.hp.lft.sdk.web
Class NumericFieldDescription.Init<T extends NumericFieldDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.web.WebBaseDescription.Init<T>
com.hp.lft.sdk.web.WebElementDescription.Init<T>
com.hp.lft.sdk.web.FormFieldDescription.Init<T>
com.hp.lft.sdk.web.EditFieldBaseDescription.Init<T>
com.hp.lft.sdk.web.EditFieldDescription.Init<T>
com.hp.lft.sdk.web.NumericFieldDescription.Init<T>
- Direct Known Subclasses:
NumericFieldDescription.Builder
,SliderDescription.Init
- Enclosing class:
- NumericFieldDescription
protected abstract static class NumericFieldDescription.Init<T extends NumericFieldDescription.Init<T>>
extends EditFieldDescription.Init<T>
Helper class for NumericFieldDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).defaultNumericValue
(Double defaultNumericValue) Initializes the initial value of the object, which is set when the object is reset.Initializes the maximum value that can be entered in the field.Initializes the minimum value that can be entered in the field.numericValue
(Double numericValue) Initializes the current value in the number field.Methods inherited from class com.hp.lft.sdk.web.EditFieldDescription.Init
defaultValue, defaultValue, maxLength, pattern, pattern, rowsCount
Methods inherited from class com.hp.lft.sdk.web.EditFieldBaseDescription.Init
enabled, maxCharsInLine, placeholder, placeholder, readOnly, required, value, value
Methods inherited from class com.hp.lft.sdk.web.FormFieldDescription.Init
type, type
Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.Init
accessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpath
Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription.Init
absoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visible
Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init
index, objectProperties, self, vri, vri
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
build
Description copied from class:DescriptionBase.Init
Returns the built description instance (builder pattern).- Overrides:
build
in classEditFieldDescription.Init<T extends NumericFieldDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
numericValue
Initializes the current value in the number field.- Parameters:
numericValue
- the current value in the number field.- Returns:
- the description instance with the update state (builder pattern).
-
defaultNumericValue
Initializes the initial value of the object, which is set when the object is reset.- Parameters:
defaultNumericValue
- the initial value of the object, which is set when the object is reset.- Returns:
- the description instance with the update state (builder pattern).
-
min
Initializes the minimum value that can be entered in the field.- Parameters:
min
- the minimum value that can be entered in the field.- Returns:
- the description instance with the update state (builder pattern).
-
max
Initializes the maximum value that can be entered in the field.- Parameters:
max
- the maximum value that can be entered in the field.- Returns:
- the description instance with the update state (builder pattern).
-