Package com.hp.lft.sdk.sap.gui
Class EditFieldDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.sap.gui.ElementDescription
com.hp.lft.sdk.sap.gui.EditFieldDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
Description of a SAP GUI for Windows edit box.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the EditFieldDescription class using the builder pattern.protected static classEditFieldDescription.Init<T extends EditFieldDescription.Init<T>>Helper class for EditFieldDescription.Builder.
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the EditFieldDescription class.protectedInitializes a new instance of the EditFieldDescription class using the Builder pattern.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the static text attached to the edit field.Returns the name of the icon used in the edit box.Returns the maximum number of characters that can be entered in the edit box.getText()Returns the text string value of the object.Indicates whether the object can accept user input.Indicates whether whether the edit box is highlighted.Returns the whether the edit box is a numerical field.Returns the whether the edit box is required.voidsetAttachedText(StringProperty attachedText) Sets the static text attached to the edit field.voidsetAttachedText(String attachedText) Sets the static text attached to the edit field.voidsetEnabled(Boolean isEnabled) Sets whether the object can accept user input.voidsetHighlighted(Boolean isHighlighted) Sets whether whether the edit box is highlighted.voidsetIconName(StringProperty iconName) Sets the name of the icon used in the edit box.voidsetIconName(String iconName) Sets the name of the icon used in the edit box.voidsetMaxLength(Integer maxLength) Sets the maximum number of characters that can be entered in the edit box.voidsetNumerical(Boolean isNumerical) Sets whether whether the edit box is a numerical field.voidsetRequired(Boolean isRequired) Sets the whether the edit box is required.voidsetText(StringProperty text) Sets the text string value of the object.voidSets the text string value of the object.Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescriptiongetAbsoluteLocation, getId, getLocation, getName, getSize, getType, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setId, setId, setLocation, setLocation, setLocation, setName, setName, setSize, setSize, setSize, setTypeMethods inherited from class com.hp.lft.sdk.DescriptionBasecloneTo, getIndex, 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- 
EditFieldDescriptionpublic EditFieldDescription()Initializes a new instance of the EditFieldDescription class.
- 
EditFieldDescriptionInitializes a new instance of the EditFieldDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setAttachedTextSets the static text attached to the edit field.- Parameters:
- attachedText- a- StringPropertyor- RegExpProperty.
 
- 
setAttachedTextSets the static text attached to the edit field.- Parameters:
- attachedText- the static text.
 
- 
getAttachedTextReturns the static text attached to the edit field.- Returns:
- the static text.
 
- 
setEnabledSets whether the object can accept user input.- Parameters:
- isEnabled- true to set as enabled.
 
- 
isEnabledIndicates whether the object can accept user input.- Returns:
- true if enabled.
 
- 
setHighlightedSets whether whether the edit box is highlighted.- Parameters:
- isHighlighted- true to set as highlighted.
 
- 
isHighlightedIndicates whether whether the edit box is highlighted.- Returns:
- true if highlighted.
 
- 
setIconNameSets the name of the icon used in the edit box.- Parameters:
- iconName- a- StringPropertyor- RegExpProperty.
 
- 
setIconNameSets the name of the icon used in the edit box.- Parameters:
- iconName- the name of the icon.
 
- 
getIconNameReturns the name of the icon used in the edit box.- Returns:
- the name of the icon.
 
- 
setMaxLengthSets the maximum number of characters that can be entered in the edit box.- Parameters:
- maxLength- the maximum number of characters.
 
- 
getMaxLengthReturns the maximum number of characters that can be entered in the edit box.- Returns:
- the maximum number of characters.
 
- 
setNumericalSets whether whether the edit box is a numerical field.- Parameters:
- isNumerical- true to set as numerical field
 
- 
isNumericalReturns the whether the edit box is a numerical field.- Returns:
- true if numerical field
 
- 
setRequiredSets the whether the edit box is required.- Parameters:
- isRequired- true to set as required.
 
- 
isRequiredReturns the whether the edit box is required.- Returns:
- true if required.
 
- 
setTextSets the text string value of the object.- Parameters:
- text- a- StringPropertyor- RegExpProperty.
 
- 
setTextSets the text string value of the object.- Parameters:
- text- the text.
 
- 
getTextReturns the text string value of the object.- Returns:
- a StringProperty representing the text string value of the object.
 
 
-