com.hp.lft.sdk.sap.gui

Class ComboBoxDescription

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


    public class ComboBoxDescription
    extends ElementDescription
    Description of a SAP GUI for Windows combo box.
    • Constructor Detail

      • 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 Detail

      • setSelectedItem

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

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

        public void setEnabled(java.lang.Boolean isEnabled)
        Sets whether the object can accept user input.
        Parameters:
        isEnabled - true if enabled.
      • isEnabled

        public java.lang.Boolean isEnabled()
        Indicates whether the object can accept user input.
        Returns:
        true if enabled.
      • setItems

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

        public java.lang.String[] getItems()
        Returns the list of items in the control.
        Returns:
        the list of items.
      • setItemsCount

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

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