Package com.hp.lft.sdk.java
Interface Table
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportsNativeObject,- TableBase,- TestObject,- TestObjectDescriber,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A Java table.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivateRow(int row) Double-clicks a row.voiddeselectColumns(int... columns) Unselects the specified columns by column indexes.voiddeselectColumns(String... columnsHeaders) Unselects the specified columns by column headers.voiddeselectColumnsRange(int fromColumn, int toColumn) Unselects the specified range of columns by column indexes.voiddeselectColumnsRange(String fromColumnHeader, String toColumnHeader) Unselects the specified range of columns by column headers.voiddeselectRows(int... rows) Unselects rows by row indexes.voiddeselectRows(TableRow... rows) Unselects rows byTableRow.voiddeselectRowsRange(TableRow fromRow, TableRow toRow) Unselects rows byTableRow.voidextendSelectColumns(int... columns) Selects additional columns in the table.voidextendSelectColumns(String... columnHeaders) Selects additional columns in the table.voidextendSelectColumnsRange(int fromColumn, int toColumn) Selects the specified range of additional columns in the table.voidextendSelectColumnsRange(String fromColumnHeader, String toColumnHeader) Selects the specified range of additional columns in the table.voidextendSelectRows(int... rows) Selects additional rows in the table.voidextendSelectRows(TableRow... rows) Selects additional rows in the table.voidextendSelectRowsRange(int fromRow, int toRow) Selects the specified range of additional rows in the table.voidextendSelectRowsRange(TableRow fromRow, TableRow toRow) Selects the specified range of additional rows in the table.Returns a cell specified by row index and column header.getRows()Returns theTableRowobjects in the table.String[][]getTableCellValues(TableRow startRow, TableRow endRow) Returns the content of all cells contained in a range of rows.String[][]getTableCellValues(TableRow startRow, TableRow endRow, int startColumnIndex, int endColumnIndex) Returns the content of all cells contained in an area of the table.String[][]getTableCellValues(TableRow startRow, TableRow endRow, String startColumnName, String endColumnName) Returns the content of all cells contained in an area of the table.voidselectColumnHeader(int column) Clicks on a column header of the table by column index.voidselectColumnHeader(int column, MouseButton button) Clicks on a column header using the specifiedMouseButtonby column index.voidselectColumnHeader(String columnHeader) Clicks on a column header by header text.voidselectColumnHeader(String columnHeader, MouseButton button) Clicks on a column header using the specifiedMouseButtonby column header.voidselectColumns(int... columns) Selects columns by column indexes.voidselectColumns(String... columnHeaders) Selects columns by column headers.voidselectRows(int... rows) Selects rows by indexes.voidselectRows(TableRow... rows) Selects rows byTableRow.voidselectRowsRange(TableRow fromRow, TableRow toRow) Selects a range of rows by row objects.Methods inherited from interface com.hp.lft.sdk.DoubleClickabledoubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.java.TableBaseactivateCell, activateCell, activateColumn, activateColumn, deselectRowsRange, getColumnHeaders, selectCell, selectCell, selectCellsRange, selectCellsRange, selectColumnsRange, selectColumnsRange, selectRowsRangeMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.java.UiObjectBasecreateObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.VisibleProviderisVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisible
- 
Method Details- 
getRowsReturns theTableRowobjects in the table.- Returns:
- the TableRowobjects in the table.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateRowDouble-clicks a row.- Parameters:
- row- 0-based row index.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectColumnsUnselects the specified columns by column indexes.
 Important: This method is not supported for SWT tables.- Parameters:
- columns- 0-based column indexes.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectColumnsUnselects the specified columns by column headers.
 Important: This method is not supported for SWT tables.- Parameters:
- columnsHeaders- the column headers.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectColumnsRangeUnselects 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 error occurs during execution
 
- 
deselectColumnsRangevoid deselectColumnsRange(String fromColumnHeader, 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 error occurs during execution
 
- 
deselectRowsUnselects rows by row indexes.- Parameters:
- rows- 0-based indexes.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectRowsUnselects rows byTableRow.- Parameters:
- rows- the- TableRowobjects.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectRowsRangeUnselects rows byTableRow.- Parameters:
- fromRow- the first- TableRow.
- toRow- the last- TableRow.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectColumnsSelects additional columns in the table.- Parameters:
- columns- 0-based indexes of the columns.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectColumnsSelects additional columns in the table.- Parameters:
- columnHeaders- the headers of the columns.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectColumnsRangeSelects the specified range of additional columns in the table.- Parameters:
- fromColumn- 0-based index of the first column in the range of columns you want to select.
- toColumn- 0-based index of the last column in the range of columns you want to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectColumnsRangevoid extendSelectColumnsRange(String fromColumnHeader, String toColumnHeader) throws GeneralLeanFtException Selects the specified range of additional columns in the table.- Parameters:
- fromColumnHeader- header of the first column in the range of columns you want to select.
- toColumnHeader- header of the last column in the range of columns you want to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectRowsSelects additional rows in the table.- Parameters:
- rows- 0-based indexes to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectRowsSelects additional rows in the table.- Parameters:
- rows- the- TableRowobjects.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectRowsRangeSelects the specified range of additional rows in the table.- Parameters:
- fromRow- 0-based index of the first row.
- toRow- 0-based index of the last row.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectRowsRangeSelects the specified range of additional rows in the table.- Parameters:
- fromRow- the first- TableRow.
- toRow- the last- TableRow.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getCellReturns a cell specified by row index and column header.- Parameters:
- row- 0-based row index.
- columnHeader- the column header.
- Returns:
- TableCell
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnsSelects columns by column indexes.- Parameters:
- columns- 0-based indexes of the columns.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnsSelects columns by column headers.- Parameters:
- columnHeaders- the headers of the columns.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnHeaderClicks on a column header using the specifiedMouseButtonby column index.- Parameters:
- column- 0-based index of the column.
- button- either the LEFT or RIGHT button value of- MouseButton.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnHeaderClicks on a column header using the specifiedMouseButtonby column header.- Parameters:
- columnHeader- the header of the column.
- button- either the LEFT or RIGHT button value of- MouseButton.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnHeaderClicks on a column header of the table by column index.- Parameters:
- column- 0-based index.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnHeaderClicks on a column header by header text.- Parameters:
- columnHeader- the header text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRowsSelects rows by indexes.- Parameters:
- rows- 0-based indexes.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRowsSelects rows byTableRow.- Parameters:
- rows- the- TableRowobjects to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRowsRangeSelects a range of rows by row objects.- Parameters:
- fromRow- the first- TableRow.
- toRow- the last- TableRow.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTableCellValuesReturns the content of all cells contained in a range of rows.- Parameters:
- startRow- The first row in the range.
- endRow- The last row in the range.
- Returns:
- the content of all cells contained in the specified row range.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTableCellValuesString[][] getTableCellValues(TableRow startRow, TableRow endRow, int startColumnIndex, int endColumnIndex) throws GeneralLeanFtException Returns the content of all cells contained in an area of the table. The area is defined by a range of rows and a range of column indices.- Parameters:
- startRow- The first row in the range.
- endRow- The last row in the range.
- startColumnIndex- The 0-based number of the first column in the range.
- endColumnIndex- The 0-based number of the last column in the range.
- Returns:
- the content of all cells contained in the specified area of the table.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTableCellValuesString[][] getTableCellValues(TableRow startRow, TableRow endRow, String startColumnName, String endColumnName) throws GeneralLeanFtException Returns the content of all cells contained in an area of the table. The area is defined by a range of rows and a range of column names.- Parameters:
- startRow- The first row in the range.
- endRow- The last row in the range.
- startColumnName- The name of the first column in the range.
- endColumnName- The name of the last column in the range.
- Returns:
- the content of all cells contained in the specified area of the table.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-