Package com.hp.lft.sdk.wpf
Class ComboBoxDescription
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.ComboBoxDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
The description of a WPF ComboBox test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the ComboBoxDescription class using the builder pattern.protected static class
ComboBoxDescription.Init<T extends ComboBoxDescription.Init<T>>
-
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a new instance of ComboBoxDescription.protected
-
Method Summary
Modifier and TypeMethodDescriptionReturns the help text associated with this object.String[]
getItems()
Returns the items in the combo box.getName()
Returns the name of this object.Returns the text associated with the parent object of this object.Returns the selected item in the combo box.void
setHelpText
(StringProperty helpText) Sets the help text associated with this object.void
setHelpText
(String helpText) Sets the help text associated with this object.void
Sets the items in the combo box.void
setName
(StringProperty name) Sets the name of the object.void
Sets the name of the object.void
setParentText
(StringProperty parentText) Sets the text associated with the parent object of this object.void
setParentText
(String parentText) Sets the text associated with the parent object of this object.void
Sets the selected item in the combo box.void
setSelectedItem
(String item) Sets the selected item in the combo box.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, setWindowTitleRegExp
Methods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRI
Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
ComboBoxDescription
public ComboBoxDescription()Constructs a new instance of ComboBoxDescription. -
ComboBoxDescription
-
-
Method Details
-
setItems
Sets the items in the combo box.- Parameters:
items
- the items in the combo box.
-
getItems
Returns the items in the combo box.- Returns:
- the items in the combo box.
-
setSelectedItem
Sets the selected item in the combo box.- Parameters:
item
- the selected item in the combo box.
-
setSelectedItem
Sets the selected item in the combo box.- Parameters:
item
- a StringProperty(or RegExpProperty) representing the selected items in the combo box.
-
getSelectedItem
Returns the selected item in the combo box.- Returns:
- the selected item in the combo box.
-
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
- aStringProperty
orRegExpProperty
-
getHelpText
Returns the help text associated with this object.- Returns:
- helpText the help text
-