com.hp.lft.sdk.stdwin

Interface ComboBox

    • Method Detail

      • getItems

        java.util.List<java.lang.String> getItems()
                                           throws GeneralLeanFtException
        Returns a list of strings containing the names of all items in the combo box.
        Returns:
        a list of strings containing the names of all items in the combo box.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getSelectedItem

        java.lang.String getSelectedItem()
                                  throws GeneralLeanFtException
        Returns the selected item in the combo box.
        Returns:
        the selected item in the combo box.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • select

        void select(int index)
             throws GeneralLeanFtException
        Selects an item from the combo box based on a numerical index.
        Parameters:
        index - numeric, 0-based, index of the item.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • select

        void select(java.lang.String item)
             throws GeneralLeanFtException
        Selects an item from the combo box based on a string.
        Parameters:
        item - the item value.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.