com.hp.lft.sdk.java

Interface TableBase

  • All Known Subinterfaces:
    Table, TreeViewTable


    public interface TableBase
    The base interface for a Java Tree.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void activateCell(int row, int column)
      Double-clicks a cell by row and column indexes.
      void activateCell(int row, String columnHeader)
      Double-clicks a cell by row index and column header.
      void activateColumn(int column)
      Double-clicks a column by column index.
      void activateColumn(String columnHeader)
      Double-clicks a column by column header.
      void deselectRowsRange(int fromRow, int toRow)
      Unselects rows by rows indexes.
      List<String> getColumnHeaders()
      Returns the column headers.
      void selectCell(int row, int column)
      Clicks a cell by row and column indexes.
      void selectCell(int row, String columnHeader)
      Clicks a cell by row index and column header.
      void selectCellsRange(int fromRow, int fromColumn, int toRow, int toColumn)
      Selects a range of cells by row and column indexes.
      void selectCellsRange(int fromRow, String fromColumnHeader, int toRow, String toColumnHeader)
      Selects a range of cells by row indexes and column headers.
      void selectColumnsRange(int fromColumn, int toColumn)
      Selects a range of columns by column indexes.
      void selectColumnsRange(String fromColumnHeader, String toColumnHeader)
      Selects a range of columns by column headers.
      void selectRowsRange(int fromRow, int toRow)
      Selects a range of rows by indexes.
    • Method Detail

      • 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 error occurs during execution
      • activateCell

        void activateCell(int row,
                          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 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 error occurs during execution
      • activateColumn

        void activateColumn(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 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 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 error occurs during execution
      • selectCell

        void selectCell(int row,
                        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 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 error occurs during execution
      • selectCellsRange

        void selectCellsRange(int fromRow,
                              String fromColumnHeader,
                              int toRow,
                              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 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 error occurs during execution
      • selectColumnsRange

        void selectColumnsRange(String fromColumnHeader,
                                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 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 error occurs during execution