Package com.hp.lft.sdk.sap.gui
Class LabelDescription
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.LabelDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
Description of a SAP GUI for Windows label.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the LabelDescription class using the builder pattern.protected static classLabelDescription.Init<T extends LabelDescription.Init<T>>Helper class for LabelDescription.Builder.
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the LabelDescription class.protectedLabelDescription(LabelDescription.Init<?> init) Initializes a new instance of the LabelDescription class using the Builder pattern.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the name of the icon used within the label.Returns the maximum number of characters that can be displayed in the label.Returns the object's unique identifier relative to the parent window ID in text format.getText()Returns the text of the label.Indicates whether the label is highlighted.Indicates whether the label is a numerical field.voidsetHighlighted(Boolean isHighlighted) Sets whether the label is highlighted.voidsetIconName(StringProperty iconName) Sets the name of the icon used in the label.voidsetIconName(String iconName) Sets the name of the icon used in the label.voidsetMaxLength(Integer maxLength) Sets the maximum number of characters that can be displayed in the label.voidsetNumerical(Boolean isNumerical) Sets whether the label is a numerical field.voidsetRelativeId(StringProperty relativeId) Sets the object's unique identifier relative to the parent window ID in text format.voidsetRelativeId(String relativeId) Sets the object's unique identifier relative to the parent window ID.voidsetText(StringProperty text) Sets the the text of the label.voidSets the the text of the label.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- 
LabelDescriptionpublic LabelDescription()Initializes a new instance of the LabelDescription class.
- 
LabelDescriptionInitializes a new instance of the LabelDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setTextSets the the text of the label.- Parameters:
- text- a- StringPropertyor- RegExpProperty.
 
- 
setTextSets the the text of the label.- Parameters:
- text- the text.
 
- 
getTextReturns the text of the label.- Returns:
- the text.
 
- 
setHighlightedSets whether the label is highlighted.- Parameters:
- isHighlighted- true to set highlighted.
 
- 
isHighlightedIndicates whether the label is highlighted.- Returns:
- true if highlighted.
 
- 
setIconNameSets the name of the icon used in the label.- Parameters:
- iconName- a- StringPropertyor- RegExpProperty.
 
- 
setIconNameSets the name of the icon used in the label.- Parameters:
- iconName- name of the icon.
 
- 
getIconNameReturns the name of the icon used within the label.- Returns:
- the name of the icon.
 
- 
setMaxLengthSets the maximum number of characters that can be displayed in the label.- Parameters:
- maxLength- the maximum number of characters.
 
- 
getMaxLengthReturns the maximum number of characters that can be displayed in the label.- Returns:
- the maximum number of characters.
 
- 
setNumericalSets whether the label is a numerical field.- Parameters:
- isNumerical- true to set as numerical field.
 
- 
isNumericalIndicates whether the label is a numerical field.- Returns:
- true if numerical field.
 
- 
setRelativeIdSets the object's unique identifier relative to the parent window ID in text format.- Parameters:
- relativeId- a- StringPropertyor- RegExpProperty.
 
- 
setRelativeIdSets the object's unique identifier relative to the parent window ID.- Parameters:
- relativeId- the UID in text format.
 
- 
getRelativeIdReturns the object's unique identifier relative to the parent window ID in text format.- Returns:
- the UID in text format.
 
 
-