com.hp.lft.sdk.java

Interface Table

    • Method Detail

      • getColumnHeaders

        java.util.List<java.lang.String> getColumnHeaders()
                                                   throws GeneralLeanFtException
        Returns the column headers.
        Returns:
        the column headers.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • activateCell

        void activateCell(int row,
                          int column)
                   throws GeneralLeanFtException
        Double-clicks a cell by row and column indexes.
        Parameters:
        row - 0-based row index.
        column - 0-based column index.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • activateCell

        void activateCell(int row,
                          java.lang.String columnHeader)
                   throws GeneralLeanFtException
        Double-clicks a cell by row index and column header.
        Parameters:
        row - 0-based row index.
        columnHeader - the column header.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • activateColumn

        void activateColumn(int column)
                     throws GeneralLeanFtException
        Double-clicks a column by column index.
        Important: This method is not supported for SWT tables.
        Parameters:
        column - 0-based column index.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • activateColumn

        void activateColumn(java.lang.String columnHeader)
                     throws GeneralLeanFtException
        Double-clicks a column by column header.
        Important: This method is not supported for SWT tables.
        Parameters:
        columnHeader - the column header.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • 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 an error occurs during execution.
      • deselectColumns

        void deselectColumns(java.lang.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 an 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 an error occurs during execution.
      • deselectColumnsRange

        void deselectColumnsRange(java.lang.String fromColumnHeader,
                                  java.lang.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 an error occurs during execution.
      • deselectRowsRange

        void deselectRowsRange(int fromRow,
                               int toRow)
                        throws GeneralLeanFtException
        Unselects rows by rows indexes.
        Parameters:
        fromRow - 0-based index of the first row.
        toRow - 0-based index of the last row.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectCell

        void selectCell(int row,
                        int column)
                 throws GeneralLeanFtException
        Clicks a cell by row and column indexes.
        Parameters:
        row - 0-based row index.
        column - 0-based column index.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectCell

        void selectCell(int row,
                        java.lang.String columnHeader)
                 throws GeneralLeanFtException
        Clicks a cell by row index and column header.
        Parameters:
        row - 0-based row index.
        columnHeader - the column header.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectCellsRange

        void selectCellsRange(int fromRow,
                              int fromColumn,
                              int toRow,
                              int toColumn)
                       throws GeneralLeanFtException
        Selects a range of cells by row and column indexes.
        Important: This method is not supported for SWT tables.
        Parameters:
        fromRow - 0-based index of the first row.
        fromColumn - 0-based index of the first column.
        toRow - 0-based index of the last row.
        toColumn - 0-based index of the last column.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectCellsRange

        void selectCellsRange(int fromRow,
                              java.lang.String fromColumnHeader,
                              int toRow,
                              java.lang.String toColumnHeader)
                       throws GeneralLeanFtException
        Selects a range of cells by row indexes and column headers.
        Important: This method is not supported for SWT tables.
        Parameters:
        fromRow - 0-based index of the first row.
        fromColumnHeader - the header of the first column.
        toRow - 0-based index of the last row.
        toColumnHeader - the header of the last column.
        Throws:
        GeneralLeanFtException - if an 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 an error occurs during execution.
      • selectColumns

        void selectColumns(java.lang.String... columnHeaders)
                    throws GeneralLeanFtException
        Selects columns by column headers.
        Parameters:
        columnHeaders - the headers of the columns.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectColumnsRange

        void selectColumnsRange(int fromColumn,
                                int toColumn)
                         throws GeneralLeanFtException
        Selects a range of columns by column indexes.
        Parameters:
        fromColumn - 0-based index of the first column.
        toColumn - 0-based index of the last column.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectColumnsRange

        void selectColumnsRange(java.lang.String fromColumnHeader,
                                java.lang.String toColumnHeader)
                         throws GeneralLeanFtException
        Selects a range of columns by column headers.
        Parameters:
        fromColumnHeader - header of the first column.
        toColumnHeader - header of the last column .
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectColumnHeader

        void selectColumnHeader(java.lang.String columnHeader,
                                MouseButton button)
                         throws GeneralLeanFtException
        Clicks on a column header using the specified MouseButton by column header.
        Parameters:
        columnHeader - the header of the column.
        button - either the LEFT or RIGHT button value of MouseButton.
        Throws:
        GeneralLeanFtException - if an 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 an error occurs during execution.
      • selectColumnHeader

        void selectColumnHeader(java.lang.String columnHeader)
                         throws GeneralLeanFtException
        Clicks on a column header by header text.
        Parameters:
        columnHeader - the header text.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectRowsRange

        void selectRowsRange(int fromRow,
                             int toRow)
                      throws GeneralLeanFtException
        Selects a range of rows by indexes.
        Parameters:
        fromRow - 0-based index of the first row.
        toRow - 0-based index of the last row.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.