com.hp.lft.sdk.winforms

Class ComboBoxDescription

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


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

      • ComboBoxDescription

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

      • setItems

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

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

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

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

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

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