Package com.hp.lft.sdk.web
Class EditFieldBaseDescription.Init<T extends EditFieldBaseDescription.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>
- Direct Known Subclasses:
EditFieldDescription.Init
,FileFieldDescription.Init
- Enclosing class:
- EditFieldBaseDescription
protected abstract static class EditFieldBaseDescription.Init<T extends EditFieldBaseDescription.Init<T>>
extends FormFieldDescription.Init<T>
Helper class for derived Builder classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInitializes whether the object is enabled.maxCharsInLine
(Integer maxCharsInLine) Initializes the number of characters that will be presented in each row.placeholder
(StringProperty placeholder) Initializes the hint text that is displayed in the edit box until a value is entered into it.placeholder
(String placeholder) Initializes the hint text that is displayed in the edit box until a value is entered into it.Initializes whether or not the control is read only.Initializes whether or not the field is mandatory in the form.value
(StringProperty value) Initializes the text in the field.Initializes the text in the field.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, build, 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
-
value
Initializes the text in the field.- Parameters:
value
- the text in the field.- Returns:
- the description instance with the update state (builder pattern).
-
value
Initializes the text in the field.- Parameters:
value
- a StringProperty (or RegExpProperty) representing the text in the field.- Returns:
- the description instance with the update state (builder pattern).
-
placeholder
Initializes the hint text that is displayed in the edit box until a value is entered into it.- Parameters:
placeholder
- the hint text that is displayed in the edit box until a value is entered into it.- Returns:
- the description instance with the update state (builder pattern).
-
placeholder
Initializes the hint text that is displayed in the edit box until a value is entered into it.- Parameters:
placeholder
- a StringProperty (or RegExpProperty) representing the hint text that is displayed in the edit box until a value is entered into it.- Returns:
- the description instance with the update state (builder pattern).
-
readOnly
Initializes whether or not the control is read only.- Parameters:
readOnly
- whether or not the control is read only.- Returns:
- the description instance with the update state (builder pattern).
-
required
Initializes whether or not the field is mandatory in the form.- Parameters:
required
- whether or not the field is mandatory in the form.- Returns:
- the description instance with the update state (builder pattern).
-
maxCharsInLine
Initializes the number of characters that will be presented in each row.- Parameters:
maxCharsInLine
- the number of characters that will be presented in each row.- Returns:
- the description instance with the update state (builder pattern).
-
enabled
Initializes whether the object is enabled.- Parameters:
isEnabled
- true if the object is enabled.- Returns:
- the description instance with the update state (builder pattern).
-