Class ComboBoxDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class ComboBoxDescription extends UiObjectWithLayoutInfoDescription
The description of a PowerBuilder ComboBox test object.
  • Constructor Details

    • ComboBoxDescription

      public ComboBoxDescription()
      Initializes a new instance of the ComboBoxDescription class.
    • ComboBoxDescription

      protected ComboBoxDescription(ComboBoxDescription.Init<?> init)
      Initializes a new instance of the ComboBoxDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • 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 selected item in the combo box.
    • setSelectedItem

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

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

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

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