Package com.hp.lft.sdk.web
Class ListBoxDescription.Init<T extends ListBoxDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.web.WebBaseDescription.Init<T>
com.hp.lft.sdk.web.WebElementDescription.Init<T>
com.hp.lft.sdk.web.FormFieldDescription.Init<T>
com.hp.lft.sdk.web.ListBoxDescription.Init<T>
- Direct Known Subclasses:
- ListBoxDescription.Builder,- ListBoxDescription.Init
- Enclosing class:
- ListBoxDescription
protected abstract static class ListBoxDescription.Init<T extends ListBoxDescription.Init<T>>
extends FormFieldDescription.Init<T>
Helper class for ListBoxDescription.Builder.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Returns the built description instance (builder pattern).defaultValue(StringProperty defaultValue) Initializes the initial text value, which is set when the object is reset.defaultValue(String defaultValue) Initializes the initial text value, which is set when the object is reset.Initializes whether the list box is enabled.firstItem(StringProperty firstItem) Initializes the first item in the list of items in the list.Initializes the first item in the list of items in the list.Initializes the items in the list.itemsCount(Integer count) Initializes the number of items in the list.Initializes whether the user can select multiple choices.selectedItems(String[] selectedItems) Initializes the selected items in the list.value(StringProperty value) Initializes the current text in the edit field.Initializes the current text in the edit field.visibleItemsCount(Integer visibleItemsCount) Initializes the number of items that are displayed in the list box.Methods inherited from class com.hp.lft.sdk.web.FormFieldDescription.Inittype, typeMethods inherited from class com.hp.lft.sdk.web.WebElementDescription.InitaccessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpathMethods inherited from class com.hp.lft.sdk.web.WebBaseDescription.InitabsoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visibleMethods inherited from class com.hp.lft.sdk.DescriptionBase.Initindex, objectProperties, self, vri, vri
- 
Constructor Details- 
Initprotected Init()
 
- 
- 
Method Details- 
buildDescription copied from class:DescriptionBase.InitReturns the built description instance (builder pattern).- Overrides:
- buildin class- WebElementDescription.Init<T extends ListBoxDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
 
- 
valueInitializes the current text in the edit field.- Parameters:
- value- the current text in the edit field.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
valueInitializes the current text in the edit field.- Parameters:
- value- a StringProperty (or RegExpProperty) representing the current text in the edit field.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
defaultValueInitializes the initial text value, which is set when the object is reset.- Parameters:
- defaultValue- the initial text value, which is set when the object is reset.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
defaultValueInitializes the initial text value, which is set when the object is reset.- Parameters:
- defaultValue- a StringProperty (or RegExpProperty) representing the initial text value, which is set when the object is reset.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
enabledInitializes whether the list box is enabled.- Parameters:
- isEnabled- true if the list box is enabled.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
multipleInitializes whether the user can select multiple choices.- Parameters:
- isMultiple- true if the user can select multiple choices.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
visibleItemsCountInitializes the number of items that are displayed in the list box.- Parameters:
- visibleItemsCount- the number of items that are displayed in the list box.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
itemsInitializes the items in the list.- Parameters:
- items- the items in the list.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
selectedItemsInitializes the selected items in the list.- Parameters:
- selectedItems- the selected items in the list.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
itemsCountInitializes 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).
 
- 
firstItemInitializes the first item in the list of items in the list.- Parameters:
- firstItem- the first item in the list of items in the list.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
firstItemInitializes the first item in the list of items in the list.- Parameters:
- firstItem- a StringProperty (or RegExpProperty) representing the first item in the list of items in the list.
- Returns:
- the description instance with the update state (builder pattern).
 
 
-