public class DomTable extends DomElement
Modifier | Constructor and Description |
---|---|
protected |
DomTable(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 DomTable。
|
Modifier and Type | Method and Description |
---|---|
DomElement |
getCell(int rowIndex,
int colIndex)
返回指定单元格。
|
DomElement |
getCell(int rowIndex,
ItemIdentifier col)
返回指定单元格。
|
DomElement |
getCell(int rowIndex,
String colText)
返回指定单元格。
|
DomElement |
getCell(ItemIdentifier row,
int colIndex)
返回指定单元格。
|
DomElement |
getCell(ItemIdentifier row,
ItemIdentifier col)
返回指定单元格。
|
DomElement |
getCell(ItemIdentifier row,
String colText)
返回指定单元格。
|
DomElement |
getCell(String rowText,
int colIndex)
返回指定单元格。
|
DomElement |
getCell(String rowText,
ItemIdentifier col)
返回指定单元格。
|
DomElement |
getCell(String rowText,
String colText)
返回指定单元格。
|
String |
getCellText(int rowIndex,
int colIndex)
返回单元格元素的内容。
|
String |
getCellText(int rowIndex,
ItemIdentifier col)
返回单元格元素的内容。
|
String |
getCellText(int rowIndex,
String colText)
返回单元格元素的内容。
|
String |
getCellText(ItemIdentifier row,
int colIndex)
返回单元格元素的内容。
|
String |
getCellText(ItemIdentifier row,
ItemIdentifier col)
返回单元格元素的内容。
|
String |
getCellText(ItemIdentifier row,
String colText)
返回单元格元素的内容。
|
String |
getCellText(String rowText,
int colIndex)
返回单元格元素的内容。
|
String |
getCellText(String rowText,
ItemIdentifier col)
返回单元格元素的内容。
|
String |
getCellText(String rowText,
String colText)
返回单元格元素的内容。
|
int |
getColumnCount()
表中列的数量。
|
DomTableRow |
getRow(int itemIdentifierIndex)
返回指定行的 DOM 元素。
|
DomTableRow |
getRow(ItemIdentifier itemIdentifier)
返回指定行的 DOM 元素。
|
DomTableRow |
getRow(String itemIdentifierText)
返回指定行的 DOM 元素。
|
int |
getRowCount()
返回行的数量。
|
List<DomTableRow> |
getRows()
返回行 (DomTableRows) 的列表。
|
List<String> |
getRowText(int rowIndex)
返回指定行所有单元格元素的内容。
|
List<String> |
getRowText(ItemIdentifier row)
返回指定行所有单元格元素的内容。
|
List<String> |
getRowText(String rowText)
返回指定行所有单元格元素的内容。
|
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
- 可确定 DomTable 的句柄desktop
- 此对象所在的桌面public DomElement getCell(ItemIdentifier row, ItemIdentifier col)
row
- 行的索引col
- 列的索引public DomElement getCell(ItemIdentifier row, String colText)
row
- 行的索引colText
- 列的索引public DomElement getCell(ItemIdentifier row, int colIndex)
row
- 行的索引colIndex
- 列的索引public DomElement getCell(String rowText, ItemIdentifier col)
rowText
- 行的索引col
- 列的索引public DomElement getCell(String rowText, String colText)
rowText
- 行的索引colText
- 列的索引public DomElement getCell(String rowText, int colIndex)
rowText
- 行的索引colIndex
- 列的索引public DomElement getCell(int rowIndex, ItemIdentifier col)
rowIndex
- 行的索引col
- 列的索引public DomElement getCell(int rowIndex, String colText)
rowIndex
- 行的索引colText
- 列的索引public DomElement getCell(int rowIndex, int colIndex)
rowIndex
- 行的索引colIndex
- 列的索引public String getCellText(ItemIdentifier row, ItemIdentifier col)
row
- 行的索引col
- 列的索引public String getCellText(ItemIdentifier row, String colText)
row
- 行的索引colText
- 列的索引public String getCellText(ItemIdentifier row, int colIndex)
row
- 行的索引colIndex
- 列的索引public String getCellText(String rowText, ItemIdentifier col)
rowText
- 行的索引col
- 列的索引public String getCellText(String rowText, String colText)
rowText
- 行的索引colText
- 列的索引public String getCellText(String rowText, int colIndex)
rowText
- 行的索引colIndex
- 列的索引public String getCellText(int rowIndex, ItemIdentifier col)
rowIndex
- 行的索引col
- 列的索引public String getCellText(int rowIndex, String colText)
rowIndex
- 行的索引colText
- 列的索引public String getCellText(int rowIndex, int colIndex)
rowIndex
- 行的索引colIndex
- 列的索引public int getColumnCount()
public DomTableRow getRow(ItemIdentifier itemIdentifier)
itemIdentifier
- 行的索引public DomTableRow getRow(String itemIdentifierText)
itemIdentifierText
- 行的索引public DomTableRow getRow(int itemIdentifierIndex)
itemIdentifierIndex
- 行的索引public int getRowCount()
public List<DomTableRow> getRows()
public List<String> getRowText(ItemIdentifier row)
row
- 行的索引public List<String> getRowText(String rowText)
rowText
- 行的索引Copyright 2009-2012 Micro Focus. All Rights Reserved.