Class ComboBoxDescription

java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class ComboBoxDescription extends UiObjectDescriptionBase
The description of a .NET Windows Forms ComboBox test object.
  • Constructor Details

    • ComboBoxDescription

      public ComboBoxDescription()
      Constructs a new instance of ComboBoxDescription.
    • ComboBoxDescription

      protected ComboBoxDescription(ComboBoxDescription.Init<?> init)
  • Method Details

    • setItems

      public void setItems(String[] items)
      Sets the items in the combo box.
      Parameters:
      items - the items in the combo box
    • getItems

      public String[] getItems()
      Returns the items in the combo box.
      Returns:
      the items in the combo box
    • setSelectedItem

      public void setSelectedItem(String item)
      Sets the selected item in the combo box.
      Parameters:
      item - the item in the combo box to select
    • setSelectedItem

      public void setSelectedItem(StringProperty item)
      Sets the selected item in the combo box.
      Parameters:
      item - a StringProperty or RegExpProperty
    • getSelectedItem

      public StringProperty getSelectedItem()
      Returns the selected item in the combo box.
      Returns:
      the selected item
    • setItemsCount

      public void setItemsCount(Integer count)
      Sets the number of items in the combo box.
      Parameters:
      count - the number of items
    • getItemsCount

      public Integer getItemsCount()
      Returns the number of items in the combo box.
      Returns:
      the items count