com.hp.lft.sdk.wpf

Interface List

    • Method Detail

      • canSelectMultiple

        boolean canSelectMultiple()
                           throws GeneralLeanFtException
        Indicates whether this list allows more than one child element to be selected at the same time.
        Returns:
        true if more than one child element can be selected
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getParentText

        java.lang.String getParentText()
                                throws GeneralLeanFtException
        Returns the text associated with the parent object of this object.
        Returns:
        the text associated with the parent
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • extendSelect

        void extendSelect(int... itemIndices)
        										throws GeneralLeanFtException
        Selects additional items from the multi-selection list. This method is applicable only to lists that allow multiple selection.
        Parameters:
        items - the indices of the items to add to the selection.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • extendSelect

        void extendSelect(java.lang.String... items)
        										throws GeneralLeanFtException
        Selects additional items from the multi-selection list. This method is applicable only to lists that allow multiple selection.
        Parameters:
        items - the names of the items to add to the selection.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • deselect

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

        void deselect(int... itemIndices)
               throws GeneralLeanFtException
        Deselects items from the list.
        Parameters:
        itemIndices - 0-based indices of the items to deselect
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • select

        void select(java.lang.String... items)
             throws GeneralLeanFtException
        Selects multiple items by string values.
        Parameters:
        items - string values of the items to select
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • select

        void select(int... itemIndices)
             throws GeneralLeanFtException
        Selects multiple items by indices.
        Parameters:
        itemIndices - the indices of the items to select
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectRange

        void selectRange(int indexFrom,
                         int indexTo)
                  throws GeneralLeanFtException
        Selects list items between (and including) the two specified items.
        Parameters:
        indexFrom - 0-based index of the first item in the range
        indexTo - 0-based index of the last item of the range
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectRange

        void selectRange(java.lang.String itemNameFrom,
        	  	  java.lang.String itemNameTo)
        	throws GeneralLeanFtException
        Selects list items between (and including) the two specified items.
        Parameters:
        itemNameFrom - name of the first item in the range
        itemNameTo - name of the last item of the range
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getItems

        java.util.List<java.lang.String> getItems()
                                           throws GeneralLeanFtException
        Returns the list of items in the list object.
        Returns:
        the texts of the items
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getSelectedItems

        java.util.List<java.lang.String> getSelectedItems()
                                                   throws GeneralLeanFtException
        Returns the list of items that are selected in the list object.
        Returns:
        the texts of the selected items
        Throws:
        GeneralLeanFtException - if an error occurs during execution.