com.hp.lft.sdk.sap.gui

Interface TableBase<T extends TableCellBase>

    • Method Detail

      • activateCell

        void activateCell(int row,
                          java.lang.String column)
                   throws GeneralLeanFtException
        Double-clicks the specified cell.
        Parameters:
        row - the 1-based row index.
        column - the column name.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • activateCell

        void activateCell(int row,
                          int columnIndex)
                   throws GeneralLeanFtException
        Double-clicks the specified cell.
        Parameters:
        row - the 1-based row index.
        columnIndex - the 1-based column index.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectCell

        void selectCell(int row,
                        java.lang.String column)
                 throws GeneralLeanFtException
        Selects the specified cell.
        Parameters:
        row - the 1-based row index.
        column - the name of the column.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectCell

        void selectCell(int row,
                        int columnIndex)
                 throws GeneralLeanFtException
        Selects the specified cell.
        Parameters:
        row - the 1-based row index.
        columnIndex - the 1-based column index.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectRowRange

        void selectRowRange(int indexFrom,
                            int indexTo)
                     throws GeneralLeanFtException
        Selects the specified row range.
        Parameters:
        indexTo - the 1-based index of the start row.
        indexFrom - the 1-based index of the end row.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectColumn

        void selectColumn(java.lang.String... columns)
                   throws GeneralLeanFtException
        Selects the specified columns.
        Parameters:
        columns - the names of the columns.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectColumn

        void selectColumn(int... columnIndices)
                   throws GeneralLeanFtException
        Selects the specified columns.
        Parameters:
        columnIndices - the 1-based column indexes.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • deselectRow

        void deselectRow(int... rowIndices)
                  throws GeneralLeanFtException
        Unselects the specified rows.
        Parameters:
        rowIndices - the 1-based row indexes.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • deselectRowRange

        void deselectRowRange(int indexFrom,
                              int indexTo)
                       throws GeneralLeanFtException
        Unselects the specified rows.
        Parameters:
        indexTo - the 1-based index of the start row.
        indexFrom - the 1-based index of the end row.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • deselectColumn

        void deselectColumn(java.lang.String... columns)
                     throws GeneralLeanFtException
        Unselects the specified columns.
        Parameters:
        columns - the names of the columns.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • deselectColumn

        void deselectColumn(int... columnIndices)
                     throws GeneralLeanFtException
        Unselects the specified columns.
        Parameters:
        columnIndices - the 1-based column indexes.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • findRowWithCellTextInColumn

                                                    TableRow<T> findRowWithCellTextInColumn(java.lang.String text,
                                                java.lang.String column)
                                         throws GeneralLeanFtException
        Finds the first row with this text.
        Parameters:
        text - the text to find.
        column - the name of the column to search.
        Returns:
        the row.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • findRowWithCellTextInColumn

                                                    TableRow<T> findRowWithCellTextInColumn(java.lang.String text,
                                                int columnIndex)
                                         throws GeneralLeanFtException
        Finds the first row with this text.
        Parameters:
        text - the text to find.
        columnIndex - the 1-based column index.
        Returns:
        the row.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • findRowWithCellTextInColumn

                                                    TableRow<T> findRowWithCellTextInColumn(java.lang.String text,
                                                java.lang.String column,
                                                int startFromRow)
                                         throws GeneralLeanFtException
        Finds the first row with this text.
        Parameters:
        text - the text to find.
        column - the name of the column to search.
        startFromRow - the 1-based index of the row from which to search.
        Returns:
        the row.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • findRowWithCellTextInColumn

                                                    TableRow<T> findRowWithCellTextInColumn(java.lang.String text,
                                                int columnIndex,
                                                int startFromRow)
                                         throws GeneralLeanFtException
        Finds the first row with this text.
        Parameters:
        text - the text to find.
        columnIndex - the 1-based index of the column to search.
        startFromRow - the 1-based index of the row from which to search.
        Returns:
        the row.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • findAllRowsWithCellTextInColumn

        java.util.List<TableRow<T>> findAllRowsWithCellTextInColumn(java.lang.String text,
                                                                    int columnIndex)
                                                             throws GeneralLeanFtException
        Finds all rows with this text in the specified column.
        Parameters:
        text - the text to find.
        columnIndex - the 1-based index of the column to search.
        Returns:
        the rows.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • findAllRowsWithCellTextInColumn

        java.util.List<TableRow<T>> findAllRowsWithCellTextInColumn(java.lang.String text,
                                                                    java.lang.String column)
                                                             throws GeneralLeanFtException
        Finds all rows with the specified text in the specified column.
        Parameters:
        text - the text to find.
        column - the name of the column to search.
        Returns:
        the rows.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.