Package com.hp.lft.sdk.wpf
Class ListDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.wpf.UiObjectDescriptionBase
com.hp.lft.sdk.wpf.ListDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
The description of a WPF List test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the ListDescription class using the builder pattern.protected static classListDescription.Init<T extends ListDescription.Init<T>> -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the ListDescription class.protectedListDescription(ListDescription.Init<?> init) -
Method Summary
Modifier and TypeMethodDescriptionReturns the help text associated with this object.String[]getItems()Returns the list of all items in the list object.getName()Returns the name of this object.Returns the text associated with the parent object of this object.String[]Returns the list of items that are selected in the list object.Indicates whether the container allows more than one child element to be selected concurrently.voidsetHelpText(StringProperty helpText) Sets the help text associated with this object.voidsetHelpText(String helpText) Sets the help text associated with this object.voidSets the list of all items in the list object.voidsetName(StringProperty name) Sets the name of the object.voidSets the name of the object.voidsetParentText(StringProperty parentText) Sets the text associated with the parent object of this object.voidsetParentText(String parentText) Sets the text associated with the parent object of this object.voidsetSelectedItems(String[] items) Sets the list of items that are selected in the list object.voidsetSelectMultiple(Boolean isSelectMultiple) Sets whether the container allows more than one child element to be selected concurrently.Methods inherited from class com.hp.lft.sdk.wpf.UiObjectDescriptionBase
canFocus, getAbsoluteLocation, getAttachedText, getFullNamePath, getFullType, getLocation, getNativeClass, getObjectName, getSize, getText, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setCanFocus, setEnabled, setFocused, setFullNamePath, setFullNamePath, setFullType, setFullType, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setSize, setSize, setSize, setText, setText, setVisible, setWindowTitleRegExp, setWindowTitleRegExpMethods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
ListDescription
public ListDescription()Initializes a new instance of the ListDescription class. -
ListDescription
-
-
Method Details
-
setSelectMultiple
Sets whether the container allows more than one child element to be selected concurrently.- Parameters:
isSelectMultiple- whether the container allows more than one child element to be selected concurrently.
-
isSelectMultiple
Indicates whether the container allows more than one child element to be selected concurrently.- Returns:
- true, if the container allows more than one child element to be selected concurrently.
-
setParentText
Sets the text associated with the parent object of this object.- Parameters:
parentText- the text to associate with the parent object
-
setParentText
Sets the text associated with the parent object of this object.- Parameters:
parentText- a StringProperty or RegExpProperty
-
getParentText
Returns the text associated with the parent object of this object.- Returns:
- parentText the text associated with the parent
-
setName
Sets the name of the object.- Parameters:
name- the name of this object
-
setName
Sets the name of the object.- Parameters:
name- a StringProperty(or RegExpProperty) representing the text associated with the name of the object.
-
getName
Returns the name of this object.- Returns:
- name the name of the object.
-
setHelpText
Sets the help text associated with this object.- Parameters:
helpText- the help text associated with the this object
-
setHelpText
Sets the help text associated with this object.- Parameters:
helpText- aStringPropertyorRegExpProperty
-
getHelpText
Returns the help text associated with this object.- Returns:
- helpText the help text
-
setItems
Sets the list of all items in the list object.- Parameters:
items- the list of all items in the list object.
-
getItems
Returns the list of all items in the list object.- Returns:
- the list of all items in the list object.
-
setSelectedItems
Sets the list of items that are selected in the list object.- Parameters:
items- the list of items that are selected in the list object.
-
getSelectedItems
Returns the list of items that are selected in the list object.- Returns:
- the list of items that are selected in the list object.
-