Package com.hp.lft.sdk.sap.gui
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.sap.gui.ElementDescription
com.hp.lft.sdk.sap.gui.ComboBoxDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
Description of a SAP GUI for Windows combo box.
- 
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 list of items in the control.Gets the number of items contained in the combo box.Returns the selected item in the combo box.Indicates whether the object can accept user input.voidsetEnabled(Boolean isEnabled) Sets whether the object can accept user input.voidSets the list of items in the control.voidsetItemsCount(Integer itemsCount) Sets the number of items contained 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.sap.gui.ElementDescriptiongetAbsoluteLocation, getId, getLocation, getName, getSize, getType, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setId, setId, setLocation, setLocation, setLocation, setName, setName, setSize, setSize, setSize, setTypeMethods 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- 
setSelectedItemSets the selected item in the combo box.- Parameters:
- item- the selected item.
 
- 
setSelectedItemSets the selected item in the combo box.- Parameters:
- item- a- StringPropertyor- RegExpProperty.
 
- 
getSelectedItemReturns the selected item in the combo box.- Returns:
- the selected item.
 
- 
setEnabledSets whether the object can accept user input.- Parameters:
- isEnabled- true if enabled.
 
- 
isEnabledIndicates whether the object can accept user input.- Returns:
- true if enabled.
 
- 
setItemsSets the list of items in the control.- Parameters:
- items- the list of items.
 
- 
getItemsReturns the list of items in the control.- Returns:
- the list of items.
 
- 
setItemsCountSets the number of items contained in the combo box.- Parameters:
- itemsCount- the number of items.
 
- 
getItemsCountGets the number of items contained in the combo box.- Returns:
- the number of items.
 
 
-