Package com.hp.lft.sdk.winforms
Interface ComponentOneGrid
- All Superinterfaces:
CustomGrid
- All Known Subinterfaces:
C1FlexGrid
,C1TrueDbGrid
Base interface for ComponentOne C1FlexGrid control and ComponentOne C1TrueDBGrid control.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateCell
(int row, String columnHeader) Double-clicks the specified cell in this grid.void
collapseRow
(int row) Collapses the specified row.void
expandRow
(int row) Expands the specified row.Returns a cell in the grid.getRows()
Returns the rows.void
makeCellVisible
(int row, String columnHeader) Scrolls the specified cell into view.void
openCellElement
(int row, int column) Selects the specified cell and opens a cell's pop-up cell element.void
openCellElement
(int row, String columnHeader) Selects the specified cell and opens a cell's pop-up cell element.void
selectCell
(int row, String columnHeader) Selects (clicks) the specified cell in this grid.void
selectColumn
(int column) Selects (clicks) the specified column header in the grid.void
selectColumn
(String columnHeader) Selects (clicks) the specified column header in the grid.void
Applies the specified filter string to the specified column.void
Applies the specified filter string to the specified column.void
sort
(int column) Sorts this table by the specified column (ascending).void
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).Methods inherited from interface com.hp.lft.sdk.winforms.CustomGrid
getTableTestObject
-
Method Details
-
activateCell
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
Scrolls the specified cell into view.- Parameters:
row
- 0-based row number.columnHeader
- the column caption.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
collapseRow
Collapses the specified row.- Parameters:
row
- 0-based row number- Throws:
GeneralLeanFtException
- if error occurs during execution
-
expandRow
Expands the specified row.- Parameters:
row
- 0-based row number- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getCell
Returns a cell in the grid.- Parameters:
row
- 0-based row numbercolumnHeader
- the column caption- Returns:
- the cell
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
openCellElement
Selects the specified cell and opens a cell's pop-up cell element.- Parameters:
row
- 0-based row numbercolumn
- 0-based column index- Throws:
GeneralLeanFtException
- if error occurs during execution
-
openCellElement
Selects the specified cell and opens a cell's pop-up cell element.- Parameters:
row
- 0-based row numbercolumnHeader
- the column caption- Throws:
GeneralLeanFtException
- if error occurs during execution
-
selectCell
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
Selects (clicks) the specified column header in the grid.- Parameters:
column
- 0-based column index.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
selectColumn
Selects (clicks) the specified column header in the grid.- Parameters:
columnHeader
- the column caption- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setFilter
Applies the specified filter string to the specified column.- Parameters:
column
- 0-based column index.filter
- the filter name.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setFilter
Applies the specified filter string to the specified column.- Parameters:
columnHeader
- the column captionfilter
- the filter- Throws:
GeneralLeanFtException
- if error occurs during execution
-
sort
Sorts this table by the specified column (ascending).- Parameters:
column
- 0-based column index- Throws:
GeneralLeanFtException
- if error occurs during execution
-
sort
Sorts this table by the specified column (ascending).- Parameters:
columnHeader
- the column caption- Throws:
GeneralLeanFtException
- if error occurs during execution
-
sortDescending
Sorts this table by the specified column (descending).- Parameters:
column
- 0-based column index- Throws:
GeneralLeanFtException
- if error occurs during execution
-
sortDescending
Sorts this table by the specified column (descending).- Parameters:
columnHeader
- the column caption- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getRows
Returns the rows.- Returns:
- the rows
- Throws:
GeneralLeanFtException
- if error occurs during execution
-