docs » cp.ui.Outline
Represents an AXOutline axuielement.
- Functions - API calls offered directly by the extension
- matches
- Constructors - API calls which return an object, typically one that offers API methods
- Outline
- Methods - API calls which can only be made on an object returned by a constructor
- childrenUI
- columns
- columnsUI
- createColumn
- createRow
- fetchColumn
- fetchRow
- fetchRows
- filterRows
- rows
- rowsUI
| Signature | cp.ui.Outline.matches(element) -> boolean |
|---|---|
| Type | Function |
| Description | Checks if the element is an Outline. |
| Signature | cp.ui.Outline(parent, uiFinder) -> cp.ui.Outline |
|---|---|
| Type | Constructor |
| Description | Creates a new Outline with the specified parent and uiFinder. |
| Parameters |
|
| Returns |
|
| Signature | cp.ui.Outline:childrenUI() -> table |
|---|---|
| Type | Method |
| Description | Provides a table containing the axuielements which are children of the outline. |
| Signature | cp.ui.Outline:columns() -> table of cp.ui.Columns |
|---|---|
| Type | Method |
| Description | Returns the list of Columns in this Outline. |
| Signature | cp.ui.Outline:columnsUI() -> table |
|---|---|
| Type | Method |
| Description | Provides a table containing the axuielements which are columns of the outline. |
| Signature | cp.ui.Outline:createColumn(columnUI) -> cp.ui.Column |
|---|---|
| Type | Method |
| Description | Attempts to create a new Column with the provided columnUI axuielement. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Signature | cp.ui.Outline:createRow(rowUI) -> cp.ui.Row |
|---|---|
| Type | Method |
| Description | Attempts to create a new Row with the provided rowUI axuielement. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Signature | cp.ui.Outline:fetchColumn(columnsUI) -> table of cp.ui.Columns |
|---|---|
| Type | Method |
| Description | Returns a table of the same length as columnsUI. |
| Parameters |
|
| Returns |
|
| Signature | cp.ui.Outline:fetchRow(rowUI) -> cp.ui.Row or nil |
|---|---|
| Type | Method |
| Description | Returns the Row that represents the provided rowUI, if it is actually present |
| Parameters |
|
| Returns |
|
| Signature | cp.ui.Outline:fetchRows(rowsUI) -> table of cp.ui.Rows |
|---|---|
| Type | Method |
| Description | Returns a table of the same length as rowsUI. |
| Parameters |
|
| Returns |
|
| Signature | cp.ui.Outline:filterRows(matcherFn) -> table of cp.ui.Rows or nil |
|---|---|
| Type | Method |
| Description | Returns a table only containing Rows which pass the predicate matcherFn. |
| Parameters |
|
| Returns |
|
| Signature | cp.ui.Outline:rows() -> table of cp.ui.Row or nil |
|---|---|
| Type | Method |
| Description | Provides a table with the list of cp.ui.Row elements for the rows. |
| Returns |
|
| Signature | cp.ui.Outline:rowsUI() -> table of axuielement |
|---|---|
| Type | Method |
| Description | Provides a table containing the axuielements which are rows in the outline. |