Package com.hp.lft.sdk.powerbuilder
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.powerbuilder.UiObjectBaseDescription
com.hp.lft.sdk.powerbuilder.UiObjectWithLayoutInfoDescription
com.hp.lft.sdk.powerbuilder.ComboBoxDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
The description of a PowerBuilder ComboBox test object.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the ComboBoxDescription class using the builder pattern.protected static classComboBoxDescription.Init<T extends ComboBoxDescription.Init<T>>Helper class for ComboBoxDescription.Builder
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the ComboBoxDescription class.protectedInitializes a new instance of the ComboBoxDescription class using the Builder pattern.
- 
Method SummaryModifier and TypeMethodDescriptionString[]getItems()Returns the items in the combo box.Returns the number of items in the combo box.Returns the selected item in the combo box.voidSets the items in the combo box.voidsetItemsCount(Integer count) Sets the number of items in the combo box.voidSets the selected item in the combo box.voidsetSelectedItem(String item) Sets the selected item in the combo box.Methods inherited from class com.hp.lft.sdk.powerbuilder.UiObjectWithLayoutInfoDescriptionisRightAligned, isRightToLeftLayout, isRightToLeftReading, setRightAligned, setRightToLeftLayout, setRightToLeftReadingMethods inherited from class com.hp.lft.sdk.powerbuilder.UiObjectBaseDescriptiongetAbsoluteLocation, getAttachedText, getLocation, getNativeClass, getObjectName, getSize, getText, getWindowClassRegExp, getWindowExtendedStyle, getWindowId, getWindowStyle, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setEnabled, setFocused, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setSize, setSize, setSize, setText, setText, setVisible, setWindowClassRegExp, setWindowClassRegExp, setWindowExtendedStyle, setWindowId, setWindowStyle, setWindowTitleRegExp, setWindowTitleRegExpMethods inherited from class com.hp.lft.sdk.DescriptionBasecloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescriptioncloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBasegetValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObjectclone
- 
Constructor Details- 
ComboBoxDescriptionpublic ComboBoxDescription()Initializes a new instance of the ComboBoxDescription class.
- 
ComboBoxDescriptionInitializes a new instance of the ComboBoxDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setItemsSets the items in the combo box.- Parameters:
- items- the items in the combo box.
 
- 
getItemsReturns the items in the combo box.- Returns:
- the items in the combo box.
 
- 
setSelectedItemSets the selected item in the combo box.- Parameters:
- item- the selected item in the combo box.
 
- 
setSelectedItemSets the selected item in the combo box.- Parameters:
- item- a StringProperty (or RegExpProperty) representing the selected item in the combo box.
 
- 
getSelectedItemReturns the selected item in the combo box.- Returns:
- the selected item in the combo box.
 
- 
setItemsCountSets the number of items in the combo box.- Parameters:
- count- the number of items in the combo box.
 
- 
getItemsCountReturns the number of items in the combo box.- Returns:
- the number of items in the combo box.
 
 
-