Package com.hp.lft.sdk.sap.gui
Class EditorDescription.Init<T extends EditorDescription.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.EditorDescription.Init<T>
- Direct Known Subclasses:
EditorDescription.Builder
- Enclosing class:
- EditorDescription
protected abstract static class EditorDescription.Init<T extends EditorDescription.Init<T>>
extends ElementDescription.Init<T>
Helper class for EditorDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).Initializes whether the editor can accept user input.text
(StringProperty text) Initializes the text of the editor.Initializes the text of the editor.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 EditorDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
text
Initializes the text of the editor.- Parameters:
text
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
text
Initializes the text of the editor.- Parameters:
text
- the text.- Returns:
- the description instance with the update state (builder pattern).
-
enabled
Initializes whether the editor can accept user input.- Parameters:
enabled
- true to enable.- Returns:
- the description instance with the update state (builder pattern).
-