public class DomTable extends DomElement
Modifier | Constructor and Description |
---|---|
protected |
DomTable(JtfObjectHandle handle,
Desktop desktop)
Creates a new DomTable with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
DomElement |
getCell(int rowIndex,
int colIndex)
Returns the specified cell.
|
DomElement |
getCell(int rowIndex,
ItemIdentifier col)
Returns the specified cell.
|
DomElement |
getCell(int rowIndex,
String colText)
Returns the specified cell.
|
DomElement |
getCell(ItemIdentifier row,
int colIndex)
Returns the specified cell.
|
DomElement |
getCell(ItemIdentifier row,
ItemIdentifier col)
Returns the specified cell.
|
DomElement |
getCell(ItemIdentifier row,
String colText)
Returns the specified cell.
|
DomElement |
getCell(String rowText,
int colIndex)
Returns the specified cell.
|
DomElement |
getCell(String rowText,
ItemIdentifier col)
Returns the specified cell.
|
DomElement |
getCell(String rowText,
String colText)
Returns the specified cell.
|
String |
getCellText(int rowIndex,
int colIndex)
Returns the content of a cell element.
|
String |
getCellText(int rowIndex,
ItemIdentifier col)
Returns the content of a cell element.
|
String |
getCellText(int rowIndex,
String colText)
Returns the content of a cell element.
|
String |
getCellText(ItemIdentifier row,
int colIndex)
Returns the content of a cell element.
|
String |
getCellText(ItemIdentifier row,
ItemIdentifier col)
Returns the content of a cell element.
|
String |
getCellText(ItemIdentifier row,
String colText)
Returns the content of a cell element.
|
String |
getCellText(String rowText,
int colIndex)
Returns the content of a cell element.
|
String |
getCellText(String rowText,
ItemIdentifier col)
Returns the content of a cell element.
|
String |
getCellText(String rowText,
String colText)
Returns the content of a cell element.
|
int |
getColumnCount()
Number of columns of the table.
|
DomTableRow |
getRow(int itemIdentifierIndex)
Returns the DOM element for the specified row.
|
DomTableRow |
getRow(ItemIdentifier itemIdentifier)
Returns the DOM element for the specified row.
|
DomTableRow |
getRow(String itemIdentifierText)
Returns the DOM element for the specified row.
|
int |
getRowCount()
Returns the number of rows.
|
List<DomTableRow> |
getRows()
Returns a list of rows (DomTableRows).
|
List<String> |
getRowText(int rowIndex)
Returns the content of all cell elements of a specified row.
|
List<String> |
getRowText(ItemIdentifier row)
Returns the content of all cell elements of a specified row.
|
List<String> |
getRowText(String rowText)
Returns the content of all cell elements of a specified row.
|
domClick, domClick, domClick, domDoubleClick, domDoubleClick, domDoubleClick, domDoubleClick, domMouseMove, domMouseMove, executeJavaScript, executeJavaScript, getCssStyle, getDomAttribute, getDomAttributeList, getDomAttributeList, getHtmlRect, getText, highlight, scrollIntoView, setDomAttribute, unhighlight
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected DomTable(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the DomTabledesktop
- the desktop on which this object livespublic DomElement getCell(ItemIdentifier row, ItemIdentifier col)
row
- index of the rowcol
- index of the columnpublic DomElement getCell(ItemIdentifier row, String colText)
row
- index of the rowcolText
- index of the columnpublic DomElement getCell(ItemIdentifier row, int colIndex)
row
- index of the rowcolIndex
- index of the columnpublic DomElement getCell(String rowText, ItemIdentifier col)
rowText
- index of the rowcol
- index of the columnpublic DomElement getCell(String rowText, String colText)
rowText
- index of the rowcolText
- index of the columnpublic DomElement getCell(String rowText, int colIndex)
rowText
- index of the rowcolIndex
- index of the columnpublic DomElement getCell(int rowIndex, ItemIdentifier col)
rowIndex
- index of the rowcol
- index of the columnpublic DomElement getCell(int rowIndex, String colText)
rowIndex
- index of the rowcolText
- index of the columnpublic DomElement getCell(int rowIndex, int colIndex)
rowIndex
- index of the rowcolIndex
- index of the columnpublic String getCellText(ItemIdentifier row, ItemIdentifier col)
row
- index of the rowcol
- index of the columnpublic String getCellText(ItemIdentifier row, String colText)
row
- index of the rowcolText
- index of the columnpublic String getCellText(ItemIdentifier row, int colIndex)
row
- index of the rowcolIndex
- index of the columnpublic String getCellText(String rowText, ItemIdentifier col)
rowText
- index of the rowcol
- index of the columnpublic String getCellText(String rowText, String colText)
rowText
- index of the rowcolText
- index of the columnpublic String getCellText(String rowText, int colIndex)
rowText
- index of the rowcolIndex
- index of the columnpublic String getCellText(int rowIndex, ItemIdentifier col)
rowIndex
- index of the rowcol
- index of the columnpublic String getCellText(int rowIndex, String colText)
rowIndex
- index of the rowcolText
- index of the columnpublic String getCellText(int rowIndex, int colIndex)
rowIndex
- index of the rowcolIndex
- index of the columnpublic int getColumnCount()
public DomTableRow getRow(ItemIdentifier itemIdentifier)
itemIdentifier
- index of the rowpublic DomTableRow getRow(String itemIdentifierText)
itemIdentifierText
- index of the rowpublic DomTableRow getRow(int itemIdentifierIndex)
itemIdentifierIndex
- index of the rowpublic int getRowCount()
public List<DomTableRow> getRows()
public List<String> getRowText(ItemIdentifier row)
row
- index of the rowpublic List<String> getRowText(String rowText)
rowText
- index of the rowCopyright 2009-2012 Micro Focus. All Rights Reserved.