GridPattern
UIA Pro is supported as a technical preview.
UIAPro. GridPattern
new GridPattern()
Methods
activateCell(row, column) → {Promise.<void>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
column | number | the 0-based ordinal number of the column of interest. |
Returns:
- Type
- Promise.<void>
addCellToSelection(row, column) → {Promise.<void>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
column | number | the 0-based ordinal number of the column of interest. |
Returns:
- Type
- Promise.<void>
addRowToSelection(row) → {Promise.<void>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
Returns:
- Type
- Promise.<void>
clickCell(row, column, mouseButton) → {Promise.<void>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
column | number | the 0-based ordinal number of the column of interest. |
mouseButton | MouseButton | the mouse button to be used for this operation. |
Returns:
- Type
- Promise.<void>
columnCount() → {Promise.<number>}
Returns:
- Type
- Promise.<number>
getCell(row, column) → {Promise.<UIAPro.UiObject>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
column | number | the 0-based ordinal number of the column of interest. |
Returns:
- Type
- Promise.<UIAPro.UiObject>
getCellName(row, column) → {Promise.<string>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
column | number | the 0-based ordinal number of the column of interest. |
Returns:
- Type
- Promise.<string>
getCellText(row, column) → {Promise.<string>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
column | number | the 0-based ordinal number of the column of interest. |
Returns:
- Type
- Promise.<string>
getCellValue(row, column) → {Promise.<string>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
column | number | the 0-based ordinal number of the column of interest. |
Returns:
- Type
- Promise.<string>
rowCount() → {Promise.<number>}
Returns:
- Type
- Promise.<number>
selectCell(row, column) → {Promise.<void>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
column | number | the 0-based ordinal number of the column of interest. |
Returns:
- Type
- Promise.<void>
selectRow(row) → {Promise.<void>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
Returns:
- Type
- Promise.<void>
setCellValue(row, column, value) → {Promise.<void>}
Parameters:
Name | Type | Description |
---|---|---|
row | number | the 0-based ordinal number of the row of interest. |
column | number | the 0-based ordinal number of the column of interest. |
value | string | the value to set. |
Returns:
- Type
- Promise.<void>