com.hp.lft.sdk.sap.ui5

Interface ListBox

    • Method Detail

      • getControlType

                                                    ControlType getControlType()
        Returns the control type of the test object.
        Returns:
        The control type of the test object. Possible values: ControlType
      • filterByDate

        void filterByDate(java.util.Date date)
                   throws GeneralLeanFtException
        Invokes the filter according to the specified date.
        Parameters:
        date - the date by which to filter.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • isMultiple

        boolean isMultiple()
                    throws GeneralLeanFtException
        Returns whether multiple items can be selected.
        Returns:
        True if multiple items can be selected.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • select

        void select(java.lang.String... items)
             throws GeneralLeanFtException
        Selects a list of items according to their string values.
        Parameters:
        items - a collection of items to select.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • select

        void select(int... itemIndices)
             throws GeneralLeanFtException
        Selects a list of items according to their indices.
        Parameters:
        itemIndices - the item indices to select.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • singleSelect

        void singleSelect(java.lang.String item)
                   throws GeneralLeanFtException
        Selects one item in the list box.
        Parameters:
        item - the item to select.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • singleSelect

        void singleSelect(int itemIndex)
                   throws GeneralLeanFtException
        Selects one item in the list box.
        Parameters:
        itemIndex - the item index to select.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • extendSelect

        void extendSelect(java.lang.String... items)
                   throws GeneralLeanFtException
        Selects a list of items in the list box.
        Parameters:
        items - a collection of items to select.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • extendSelect

        void extendSelect(int... itemIndices)
                   throws GeneralLeanFtException
        Selects a list of items in the list box.
        Parameters:
        itemIndices - a collection of item indices to select.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • deselect

        void deselect(java.lang.String... items)
               throws GeneralLeanFtException
        Deselects items (by text) from the list.
        Parameters:
        items - the item names to deselect.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • deselect

        void deselect(int... itemIndices)
               throws GeneralLeanFtException
        Deselects items (by index) from the list.
        Parameters:
        itemIndices - a collection of indices to deselect.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getItem

        ListItem getItem(java.lang.String text)
        Returns an item with the given text.
        Parameters:
        text - the text of the specified item.
        Returns:
        an item with the specified text.
      • getType

        java.lang.String getType()
        		throws GeneralLeanFtException
        Returns the attribute "type" of the HTML element.
        Returns:
        the attribute "type" of the HTML element.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getDefaultValue

        java.lang.String getDefaultValue()
        		throws GeneralLeanFtException
        Returns the initial text value, which is set when the object is reset.
        Returns:
        the initial text value, which is set when the object is reset.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getVisibleItemsCount

        int getVisibleItemsCount()
        	throws GeneralLeanFtException
        Returns the number of items that are displayed in the list box.
        Returns:
        the number of items that are displayed in the list box.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.