Package com.hp.lft.sdk.java
Class ListDescription.Init<T extends ListDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.java.UiObjectBaseDescription.Init<T>
com.hp.lft.sdk.java.ListDescription.Init<T>
- Direct Known Subclasses:
ListDescription.Builder
- Enclosing class:
- ListDescription
protected abstract static class ListDescription.Init<T extends ListDescription.Init<T>>
extends UiObjectBaseDescription.Init<T>
Helper class for ListDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).itemsCount
(Integer count) Initializes the number of items in the list.selectedItems
(String[] selectedItems) Initializes the selected items in the list.Methods inherited from class com.hp.lft.sdk.java.UiObjectBaseDescription.Init
absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, backgroundColor, backgroundColor, enabled, focused, foregroundColor, foregroundColor, label, label, location, location, location, nativeClass, nativeClass, objectName, objectName, path, path, size, size, size, tagName, tagName, visible, wrapped
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 ListDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
selectedItems
Initializes the selected items in the list.- Parameters:
selectedItems
- the selected items in the list.- Returns:
- the description instance with the update state (builder pattern).
-
itemsCount
Initializes the number of items in the list.- Parameters:
count
- the number of items in the list.- Returns:
- the description instance with the update state (builder pattern).
-