com.hp.lft.sdk.java

Interface Table

    • Method Detail

      • deselectColumns

        void deselectColumns(int... columns)
                      throws GeneralLeanFtException
        Unselects the specified columns by column indexes.
        Important: This method is not supported for SWT tables.
        Parameters:
        columns - 0-based column indexes.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • deselectColumns

        void deselectColumns(String... columnsHeaders)
                      throws GeneralLeanFtException
        Unselects the specified columns by column headers.
        Important: This method is not supported for SWT tables.
        Parameters:
        columnsHeaders - the column headers.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • deselectColumnsRange

        void deselectColumnsRange(int fromColumn,
                                  int toColumn)
                           throws GeneralLeanFtException
        Unselects the specified range of columns by column indexes.
        Important: This method is not supported for SWT tables.
        Parameters:
        fromColumn - 0-based index of the first column.
        toColumn - 0-based index of the last column.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • deselectColumnsRange

        void deselectColumnsRange(String fromColumnHeader,
                                  String toColumnHeader)
                           throws GeneralLeanFtException
        Unselects the specified range of columns by column headers.
        Important: This method is not supported for SWT tables.
        Parameters:
        fromColumnHeader - header of the first column.
        toColumnHeader - header of the last column.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • extendSelectColumns

        void extendSelectColumns(int... columns)
                          throws GeneralLeanFtException
        Selects additional columns in the table.
        Parameters:
        columns - 0-based indexes of the columns.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • extendSelectColumns

        void extendSelectColumns(String... columnHeaders)
                          throws GeneralLeanFtException
        Selects additional columns in the table.
        Parameters:
        columnHeaders - the headers of the columns.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • extendSelectColumnsRange

        void extendSelectColumnsRange(int fromColumn,
                                      int toColumn)
                               throws GeneralLeanFtException
        Selects the specified range of additional columns in the table.
        Parameters:
        fromColumn - 0-based index of the first column in the range of columns you want to select.
        toColumn - 0-based index of the last column in the range of columns you want to select.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • extendSelectColumnsRange

        void extendSelectColumnsRange(String fromColumnHeader,
                                      String toColumnHeader)
                               throws GeneralLeanFtException
        Selects the specified range of additional columns in the table.
        Parameters:
        fromColumnHeader - header of the first column in the range of columns you want to select.
        toColumnHeader - header of the last column in the range of columns you want to select.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • extendSelectRows

        void extendSelectRows(int... rows)
                       throws GeneralLeanFtException
        Selects additional rows in the table.
        Parameters:
        rows - 0-based indexes to select.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • extendSelectRowsRange

        void extendSelectRowsRange(int fromRow,
                                   int toRow)
                            throws GeneralLeanFtException
        Selects the specified range of additional rows in the table.
        Parameters:
        fromRow - 0-based index of the first row.
        toRow - 0-based index of the last row.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • selectColumns

        void selectColumns(int... columns)
                    throws GeneralLeanFtException
        Selects columns by column indexes.
        Parameters:
        columns - 0-based indexes of the columns.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • selectColumnHeader

        void selectColumnHeader(int column)
                         throws GeneralLeanFtException
        Clicks on a column header of the table by column index.
        Parameters:
        column - 0-based index.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • getTableCellValues

         
        String[][] getTableCellValues(TableRow startRow,
                                      TableRow endRow)
                               throws GeneralLeanFtException
        Returns the content of all cells contained in a range of rows.
        Parameters:
        startRow - The first row in the range.
        endRow - The last row in the range.
        Returns:
        the content of all cells contained in the specified row range.
        Throws:
        GeneralLeanFtException
      • getTableCellValues

         
        String[][] getTableCellValues(TableRow startRow,
                                      TableRow endRow,
                                      int startColumnIndex,
                                      int endColumnIndex)
                               throws GeneralLeanFtException
        Returns the content of all cells contained in an area of the table. The area is defined by a range of rows and a range of column indices.
        Parameters:
        startRow - The first row in the range.
        endRow - The last row in the range.
        startColumnIndex - The 0-based number of the first column in the range.
        endColumnIndex - The 0-based number of the last column in the range.
        Returns:
        the content of all cells contained in the specified area of the table.
        Throws:
        GeneralLeanFtException
      • getTableCellValues

         
        String[][] getTableCellValues(TableRow startRow,
                                      TableRow endRow,
                                      String startColumnName,
                                      String endColumnName)
                               throws GeneralLeanFtException
        Returns the content of all cells contained in an area of the table. The area is defined by a range of rows and a range of column names.
        Parameters:
        startRow - The first row in the range.
        endRow - The last row in the range.
        startColumnName - The name of the first column in the range.
        endColumnName - The name of the last column in the range.
        Returns:
        the content of all cells contained in the specified area of the table.
        Throws:
        GeneralLeanFtException