Package com.hp.lft.sdk.sap.gui
Class LabelDescription.Init<T extends LabelDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.sap.gui.ElementDescription.Init<T>
com.hp.lft.sdk.sap.gui.LabelDescription.Init<T>
- Direct Known Subclasses:
LabelDescription.Builder
- Enclosing class:
- LabelDescription
protected abstract static class LabelDescription.Init<T extends LabelDescription.Init<T>>
extends ElementDescription.Init<T>
Helper class for LabelDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).highlighted
(Boolean isHighlighted) Initializes whether the label is highlighted.iconName
(StringProperty iconName) Initializes the name of the icon used in the label.Initializes the name of the icon used in the label.Initializes the maximum number of characters that can be displayed in the label.Initializes whether the label is a numerical field.Initializes the object's unique identifier relative to the parent window ID.relativeId
(String id) Initializes the object's unique identifier relative to the parent window ID.text
(StringProperty text) Initializes the text of the label.Initializes the text of the label.Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescription.Init
absoluteLocation, absoluteLocation, absoluteLocation, id, id, location, location, location, name, name, size, size, size, type
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 classElementDescription.Init<T extends LabelDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
text
Initializes the text of the label.- Parameters:
text
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
text
Initializes the text of the label.- Parameters:
text
- the text.- Returns:
- the description instance with the update state (builder pattern).
-
highlighted
Initializes whether the label is highlighted.- Parameters:
isHighlighted
- true to set as highlighted.- Returns:
- the description instance with the update state (builder pattern).
-
iconName
Initializes the name of the icon used in the label.- Parameters:
iconName
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
iconName
Initializes the name of the icon used in the label.- Parameters:
iconName
- the name of the icon.- Returns:
- the description instance with the update state (builder pattern).
-
maxLength
Initializes the maximum number of characters that can be displayed in the label.- Parameters:
maxLength
- the maximum number of characters.- Returns:
- the description instance with the update state (builder pattern).
-
numerical
Initializes whether the label is a numerical field.- Parameters:
isNumerical
- true to set as numerical field.- Returns:
- the description instance with the update state (builder pattern).
-
relativeId
Initializes the object's unique identifier relative to the parent window ID.- Parameters:
id
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
relativeId
Initializes the object's unique identifier relative to the parent window ID.- Parameters:
id
- the object's unique identifier.- Returns:
- the description instance with the update state (builder pattern).
-