Package com.hp.lft.sdk.web
Class EditFieldBaseDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.web.WebBaseDescription
com.hp.lft.sdk.web.WebElementDescription
com.hp.lft.sdk.web.FormFieldDescription
com.hp.lft.sdk.web.EditFieldBaseDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
- Direct Known Subclasses:
- EditFieldDescription,- FileFieldDescription
A base class description for all edit fields (Edit, Number and File).
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classHelper class for derived Builder classes.Nested classes/interfaces inherited from class com.hp.lft.sdk.web.WebElementDescriptionWebElementDescription.Builder
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotected
- 
Method SummaryModifier and TypeMethodDescriptionReturns the number of characters that will be presented in each row.Returns the hint text that is displayed in the edit box until a value is entered into it.getValue()Returns the current text in the field.Indicates whether the check box is enabled.Returns true if the object is read-only.Returns true if the field is mandatory.voidsetEnabled(Boolean isEnabled) Sets whether the check box is enabled.voidsetMaxCharsInLine(Integer maxCharsInLine) Sets the number of characters that will be presented in each row.voidsetPlaceholder(StringProperty placeholder) Sets the hint text that is displayed in the edit box until a value is entered into it.voidsetPlaceholder(String placeholder) Sets the hint text that is displayed in the edit box until a value is entered into it.voidsetReadOnly(Boolean readOnly) Sets whether or not the control is read only.voidsetRequired(Boolean required) Sets whether or not the field is mandatory in the form.voidsetValue(StringProperty value) Sets the text in the field.voidSets the text in the field.Methods inherited from class com.hp.lft.sdk.web.FormFieldDescriptiongetType, setType, setTypeMethods inherited from class com.hp.lft.sdk.web.WebElementDescriptiongetAccessibilityName, getCSSSelector, getRole, getXPath, setAccessibilityName, setAccessibilityName, setCSSSelector, setCSSSelector, setRole, setRole, setXPath, setXPathMethods inherited from class com.hp.lft.sdk.web.WebBaseDescriptioncloneTo, getAbsoluteLocation, getAttributes, getClassName, getId, getInnerHTML, getInnerText, getLocation, getName, getOuterHTML, getOuterText, getSize, getStyles, getTagName, getTitle, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttributes, setClassName, setClassName, setId, setId, setInnerHTML, setInnerHTML, setInnerText, setInnerText, setLocation, setLocation, setLocation, setName, setName, setOuterHTML, setOuterHTML, setOuterText, setOuterText, setSize, setSize, setSize, setStyles, setTagName, setTagName, setTitle, setTitle, setVisibleMethods inherited from class com.hp.lft.sdk.DescriptionBasegetIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescriptioncloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBasegetValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObjectclone
- 
Constructor Details- 
EditFieldBaseDescription
- 
EditFieldBaseDescriptionprotected EditFieldBaseDescription()
 
- 
- 
Method Details- 
setValueSets the text in the field.- Parameters:
- value- a StringProperty (or RegExpProperty) representing the text in the field.
 
- 
setValueSets the text in the field.- Parameters:
- value- the text in the field.
 
- 
getValueReturns the current text in the field.- Returns:
- the current text in the field.
 
- 
setPlaceholderSets 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.
 
- 
setPlaceholderSets 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.
 
- 
getPlaceholderReturns the hint text that is displayed in the edit box until a value is entered into it.- Returns:
- the hint text that is displayed in the edit box until a value is entered into it.
 
- 
setReadOnlySets whether or not the control is read only.- Parameters:
- readOnly- whether or not the control is read only.
 
- 
isReadOnlyReturns true if the object is read-only.- Returns:
- true if read-only.
 
- 
setRequiredSets whether or not the field is mandatory in the form.- Parameters:
- required- whether or not the field is mandatory in the form.
 
- 
isRequiredReturns true if the field is mandatory.- Returns:
- True if the field is mandatory.
 
- 
setMaxCharsInLineSets the number of characters that will be presented in each row.- Parameters:
- maxCharsInLine- the number of characters that will be presented in each row.
 
- 
getMaxCharsInLineReturns the number of characters that will be presented in each row.- Returns:
- the number of characters that will be presented in each row.
 
- 
setEnabledSets whether the check box is enabled.- Parameters:
- isEnabled- true if enabled.
 
- 
isEnabledIndicates whether the check box is enabled.- Returns:
- true if enabled.
 
 
-