Interface XtraGrid

All Superinterfaces:
CustomGrid

public interface XtraGrid extends CustomGrid
A DevExpress XtraGrid control.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    activateCell(int row, String columnHeader)
    Double-clicks the specified cell in this grid.
    void
    activateColumn(int colum)
    Double-clicks the specified column header in this grid.
    void
    activateColumn(String columnHeader)
    Double-clicks the specified column header in this grid.
    getCell(int row, int column)
    Returns a cell in the grid.
    getCell(int row, String columnHeader)
    Returns a cell in the grid.
    int
    Returns the number of columns in the current view.
    int
    Returns the number of rows in the current view.
    void
    groupRows(int column)
    Groups table rows according to the specified column.
    void
    groupRows(String columnHeader)
    Groups table rows according to the specified column.
    void
    makeCellVisible(int row, String columnHeader)
    Scrolls the specified cell into view.
    void
    selectCell(int row, String columnHeader)
    Selects (clicks) the specified cell in this grid.
    void
    selectColumn(int column)
    Clicks the specified column header in this grid.
    void
    selectColumn(String columnHeader)
    Clicks the specified column header in this grid.
    void
    setFilter(int column, String filter)
    Applies the specified filter string to the specified column.
    void
    setFilter(String columnHeader, String filter)
    Applies the specified filter string to the specified column.
    void
    setView(org.glassfish.grizzly.utils.Pair<Integer,String>... viewPath)
    Expands the parent rows of the specified view and makes it the current view.
    A SetView statement without parameters must be used before the first operation on an XtraGrid table.
    void
    sort(int column)
    Sorts this table by the specified column, ascending.
    void
    sort(String columnHeader)
    Sorts this table by the specified column, ascending.
    void
    sortDescending(int column)
    Sorts this table by the specified column, descending.
    void
    sortDescending(String columnHeader)
    Sorts this table by the specified column, descending.
    void
    ungroupRows(int column)
    Ungroups table rows according to the specified column
    void
    ungroupRows(String columnHeader)
    Ungroups table rows according to the specified column

    Methods inherited from interface com.hp.lft.sdk.winforms.CustomGrid

    getTableTestObject
  • Method Details

    • activateCell

      void activateCell(int row, String columnHeader) throws GeneralLeanFtException
      Double-clicks the specified cell in this grid.
      Parameters:
      row - 0-based row number.
      columnHeader - the column caption.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • makeCellVisible

      void makeCellVisible(int row, String columnHeader) throws GeneralLeanFtException
      Scrolls the specified cell into view.
      Parameters:
      row - 0-based row number.
      columnHeader - the column caption.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • activateColumn

      void activateColumn(int colum) throws GeneralLeanFtException
      Double-clicks the specified column header in this grid.
      Parameters:
      colum - 0-based column index
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • activateColumn

      void activateColumn(String columnHeader) throws GeneralLeanFtException
      Double-clicks the specified column header in this grid.
      Parameters:
      columnHeader - the column caption.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getCell

      TableCell getCell(int row, String columnHeader) throws GeneralLeanFtException
      Returns a cell in the grid.
      Parameters:
      row - 0-based row number
      columnHeader - the column caption
      Returns:
      the cell
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getCell

      TableCell getCell(int row, int column) throws GeneralLeanFtException
      Returns a cell in the grid.
      Parameters:
      row - 0-based row number
      column - 0-based column index
      Returns:
      the cell
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • groupRows

      void groupRows(int column) throws GeneralLeanFtException
      Groups table rows according to the specified column.
      Parameters:
      column - 0-based column index
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • groupRows

      void groupRows(String columnHeader) throws GeneralLeanFtException
      Groups table rows according to the specified column.
      Parameters:
      columnHeader - the column caption
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • ungroupRows

      void ungroupRows(int column) throws GeneralLeanFtException
      Ungroups table rows according to the specified column
      Parameters:
      column - 0-based column index
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • ungroupRows

      void ungroupRows(String columnHeader) throws GeneralLeanFtException
      Ungroups table rows according to the specified column
      Parameters:
      columnHeader - the column caption
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • selectCell

      void selectCell(int row, String columnHeader) throws GeneralLeanFtException
      Selects (clicks) the specified cell in this grid.
      Parameters:
      row - 0-based row number.
      columnHeader - the column caption.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • selectColumn

      void selectColumn(int column) throws GeneralLeanFtException
      Clicks the specified column header in this grid.
      Parameters:
      column - 0-based column index
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • selectColumn

      void selectColumn(String columnHeader) throws GeneralLeanFtException
      Clicks the specified column header in this grid.
      Parameters:
      columnHeader - the column caption
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • setFilter

      void setFilter(int column, String filter) throws GeneralLeanFtException
      Applies the specified filter string to the specified column.
      Parameters:
      column - 0-based column index
      filter - a value in the column to be used as the filter
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • setFilter

      void setFilter(String columnHeader, String filter) throws GeneralLeanFtException
      Applies the specified filter string to the specified column.
      Parameters:
      columnHeader - the column caption
      filter - a value in the column to be used as the filter
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • setView

      void setView(org.glassfish.grizzly.utils.Pair<Integer,String>... viewPath) throws GeneralLeanFtException
      Expands the parent rows of the specified view and makes it the current view.
      A SetView statement without parameters must be used before the first operation on an XtraGrid table. If your test contains steps on more than one XtraGrid table, ensure that you add a SetView without parameters statement before the first step on each grid.
      Parameters:
      viewPath - the hierarchical path of the view to display expressed using tuples in format: (0-based row number, relation name)
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • sort

      void sort(int column) throws GeneralLeanFtException
      Sorts this table by the specified column, ascending.
      Parameters:
      column - 0-based column index
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • sort

      void sort(String columnHeader) throws GeneralLeanFtException
      Sorts this table by the specified column, ascending.
      Parameters:
      columnHeader - the column caption
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • sortDescending

      void sortDescending(int column) throws GeneralLeanFtException
      Sorts this table by the specified column, descending.
      Parameters:
      column - 0-based column index
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • sortDescending

      void sortDescending(String columnHeader) throws GeneralLeanFtException
      Sorts this table by the specified column, descending.
      Parameters:
      columnHeader - the column caption
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getRowCount

      int getRowCount() throws GeneralLeanFtException
      Returns the number of rows in the current view.
      Returns:
      the row count
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getColumnCount

      int getColumnCount() throws GeneralLeanFtException
      Returns the number of columns in the current view.
      Returns:
      the column count
      Throws:
      GeneralLeanFtException - if error occurs during execution