com.hp.lft.sdk.sap.ui5

Interface RowRepeater

    • Method Detail

      • getCurrentPage

        int getCurrentPage()
                    throws GeneralLeanFtException
        Returns the index of the currently selected page.
        Returns:
        The index of the currently selected page.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getFilters

        java.util.List<java.lang.String> getFilters()
                                             throws GeneralLeanFtException
        Returns a semicolon-delimited list of the filter buttons that you can use to filter the rows.
        Returns:
        A semicolon-delimited list of the filter buttons that you can use to filter the rows.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getSorters

        java.util.List<java.lang.String> getSorters()
                                             throws GeneralLeanFtException
        Returns a semicolon-delimited list of the sort buttons that you can use to sort the rows.
        Returns:
        A semicolon-delimited list of the sort buttons that you can use to sort the rows.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • filterBy

        void filterBy(java.lang.String filterName)
               throws GeneralLeanFtException
        Clicks the specified filter button.
        Parameters:
        filterName - the name of the filter button to click.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • sortBy

        void sortBy(java.lang.String sorterName)
             throws GeneralLeanFtException
        Clicks the specified sort button.
        Parameters:
        sorterName - The name of the sort button to click.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • navigateTo

        void navigateTo(int pageNum)
                 throws GeneralLeanFtException
        Scrolls to the specified page.
        Parameters:
        pageNum - the page number to navigate to.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • findRowWithCellTextInColumn

        int findRowWithCellTextInColumn(java.lang.String text,
                                        int columnNumber)
                                 throws GeneralLeanFtException
        Returns the index of the first row containing the specified text in the specified column.
        Parameters:
        text - text to search for.
        columnNumber - the column number to search (1-based).
        Returns:
        The row number, or -1 if the text is not found.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • findRowWithCellTextInColumn

        int findRowWithCellTextInColumn(java.lang.String text,
                                        int columnNumber,
                                        int startFromRow)
                                 throws GeneralLeanFtException
        Starts the search at the specified row and returns the number of the first row containing the specified text in the specified column.
        Parameters:
        text - text to search for.
        columnNumber - the column number to search (1-based).
        startFromRow - the row number to start the search from (1-based).
        Returns:
        The row number, or -1 if the text is not found.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getCellData

        java.lang.String getCellData(int rowIndex,
                                     int columnIndex)
                              throws GeneralLeanFtException
        Gets the contents of the specified cell.
        Parameters:
        rowIndex - the row index (1-based).
        columnIndex - the column index (1-based).
        Returns:
        The contents of the specified cell.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.