Package com.hp.lft.sdk.winforms
Interface XtraGrid
- All Superinterfaces:
- CustomGrid
A DevExpress XtraGrid control.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivateCell(int row, String columnHeader) Double-clicks the specified cell in this grid.voidactivateColumn(int colum) Double-clicks the specified column header in this grid.voidactivateColumn(String columnHeader) Double-clicks the specified column header in this grid.getCell(int row, int column) Returns a cell in the grid.Returns a cell in the grid.intReturns the number of columns in the current view.intReturns the number of rows in the current view.voidgroupRows(int column) Groups table rows according to the specified column.voidGroups table rows according to the specified column.voidmakeCellVisible(int row, String columnHeader) Scrolls the specified cell into view.voidselectCell(int row, String columnHeader) Selects (clicks) the specified cell in this grid.voidselectColumn(int column) Clicks the specified column header in this grid.voidselectColumn(String columnHeader) Clicks the specified column header in this grid.voidApplies the specified filter string to the specified column.voidApplies the specified filter string to the specified column.voidExpands 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.voidsort(int column) Sorts this table by the specified column, ascending.voidSorts this table by the specified column, ascending.voidsortDescending(int column) Sorts this table by the specified column, descending.voidsortDescending(String columnHeader) Sorts this table by the specified column, descending.voidungroupRows(int column) Ungroups table rows according to the specified columnvoidungroupRows(String columnHeader) Ungroups table rows according to the specified columnMethods inherited from interface com.hp.lft.sdk.winforms.CustomGridgetTableTestObject
- 
Method Details- 
activateCellDouble-clicks the specified cell in this grid.- Parameters:
- row- 0-based row number.
- columnHeader- the column caption.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
makeCellVisibleScrolls the specified cell into view.- Parameters:
- row- 0-based row number.
- columnHeader- the column caption.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateColumnDouble-clicks the specified column header in this grid.- Parameters:
- colum- 0-based column index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateColumnDouble-clicks the specified column header in this grid.- Parameters:
- columnHeader- the column caption.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getCellReturns 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
 
- 
getCellReturns 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
 
- 
groupRowsGroups table rows according to the specified column.- Parameters:
- column- 0-based column index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
groupRowsGroups table rows according to the specified column.- Parameters:
- columnHeader- the column caption
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
ungroupRowsUngroups table rows according to the specified column- Parameters:
- column- 0-based column index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
ungroupRowsUngroups table rows according to the specified column- Parameters:
- columnHeader- the column caption
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectCellSelects (clicks) the specified cell in this grid.- Parameters:
- row- 0-based row number.
- columnHeader- the column caption.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnClicks the specified column header in this grid.- Parameters:
- column- 0-based column index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnClicks the specified column header in this grid.- Parameters:
- columnHeader- the column caption
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setFilterApplies 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
 
- 
setFilterApplies 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
 
- 
setViewvoid setView(org.glassfish.grizzly.utils.Pair<Integer, String>... viewPath) throws GeneralLeanFtExceptionExpands 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
 
- 
sortSorts this table by the specified column, ascending.- Parameters:
- column- 0-based column index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
sortSorts this table by the specified column, ascending.- Parameters:
- columnHeader- the column caption
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
sortDescendingSorts this table by the specified column, descending.- Parameters:
- column- 0-based column index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
sortDescendingSorts this table by the specified column, descending.- Parameters:
- columnHeader- the column caption
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getRowCountReturns the number of rows in the current view.- Returns:
- the row count
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getColumnCountReturns the number of columns in the current view.- Returns:
- the column count
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-