Package com.hp.lft.sdk.sap.gui
Class ComboBoxDescription.Init<T extends ComboBoxDescription.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.ComboBoxDescription.Init<T>
- Direct Known Subclasses:
ComboBoxDescription.Builder
- Enclosing class:
- ComboBoxDescription
protected abstract static class ComboBoxDescription.Init<T extends ComboBoxDescription.Init<T>>
extends ElementDescription.Init<T>
Helper class for ComboBoxDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).Initializes whether the object can accept user input.Initializes the items list of the combo box.itemsCount
(Integer itemsCount) Initializes the number of items in the combo box.selectedItem
(StringProperty selectedItem) Initializes the selected item in the combo box.selectedItem
(String selectedItem) Initializes the selected item in the combo boxMethods 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 ComboBoxDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
selectedItem
Initializes the selected item in the combo box- Parameters:
selectedItem
- the selected item.- Returns:
- the description instance with the update state (builder pattern)
-
selectedItem
Initializes the selected item in the combo box.- Parameters:
selectedItem
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern)
-
enabled
Initializes whether the object can accept user input.- Parameters:
isEnabled
- true if enabled.- Returns:
- the description instance with the update state (builder pattern).
-
items
Initializes the items list of the combo box.- Parameters:
items
- the items.- Returns:
- the description instance with the update state (builder pattern).
-
itemsCount
Initializes the number of items in the combo box.- Parameters:
itemsCount
- the number of items.- Returns:
- the description instance with the update state (builder pattern).
-