new TablePattern()
The UIA Pro Table pattern.
Methods
getColumnHeaders() → {Promise.<Array.<Promise.<Object>>>}
Retrieves a collection of UIA Pro objects representing all the column headers in a table.
Note: This method is only supported when you enable the legacy UIA Pro Add-in.
Returns:
a promise that is fulfilled with an array of promises that consist of the columnsHeaders items of the object.
- Type
- Promise.<Array.<Promise.<Object>>>
getColumnHeadersAsUIObject() → {Promise.<Array.<UiObject>>}
Retrieves a collection of UIA Pro objects representing all the column headers in a table.
Note: This method is not supported when you enable the legacy UIA Pro Add-in.
Returns:
a promise that is fulfilled with an array of promisses that consist of UIA Pro objects representing the column headers.
- Type
- Promise.<Array.<UiObject>>
getPrimaryTraversalDirection() → {Promise.<UIAPro.TableTraversalDirection>}
Returns the primary direction of traversal for the table.
Returns:
a promise that is fulfilled with the primaryTraversalDirection of the object.
- Type
- Promise.<UIAPro.TableTraversalDirection>
getRowHeaders() → {Promise.<Array.<Promise.<UiObject>>>}
Retrieves a collection of UIA Pro objects representing all the row headers in a table.
Note: This method is only supported when you enable the legacy UIA Pro Add-in.
Returns:
a promise that is fulfilled with the rowHeaders of the object.
- Type
- Promise.<Array.<Promise.<UiObject>>>
getRowHeadersAsUIObject() → {Promise.<Array.<UiObject>>}
Retrieves a collection of UIA Pro objects representing all the row headers in a table.
Note: This method is not supported when you enable the legacy UIA Pro Add-in.
Returns:
a promise that is fulfilled with an array of promisses that consist of UIA Pro objects representing the row headers.
- Type
- Promise.<Array.<UiObject>>