Package com.hp.lft.sdk.winforms
Class ComboBoxDescription.Init<T extends ComboBoxDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.winforms.UiObjectDescriptionBase.Init<T>
com.hp.lft.sdk.winforms.ComboBoxDescription.Init<T>
- Direct Known Subclasses:
ComboBoxDescription.Builder
- Enclosing class:
- ComboBoxDescription
protected abstract static class ComboBoxDescription.Init<T extends ComboBoxDescription.Init<T>>
extends UiObjectDescriptionBase.Init<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).Initializes the items in the combo box.itemsCount
(Integer count) 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.winforms.UiObjectDescriptionBase.Init
absoluteLocation, absoluteLocation, absoluteLocation, childWindow, enabled, focused, fullNamePath, fullNamePath, fullType, fullType, location, location, location, nativeClass, nativeClass, objectName, objectName, ownedWindow, size, size, size, text, text, visible, windowClassRegExp, windowClassRegExp, windowId, windowTitleRegExp, windowTitleRegExp
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 classDescriptionBase.Init<T extends ComboBoxDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
items
Initializes the items in the combo box.- Parameters:
items
- the items in the combo box- Returns:
- the description instance with the update state (builder pattern)
-
selectedItem
Initializes the selected item in the combo box- Parameters:
selectedItem
- the selected item in the combo box- 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)
-
itemsCount
Initializes the number of items in the combo box.- Parameters:
count
- the item count- Returns:
- the description instance with the update state (builder pattern)
-