Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
69 lines (55 loc) · 4.76 KB

cp.ui.Cell.md

File metadata and controls

69 lines (55 loc) · 4.76 KB

docs » cp.ui.Cell


Represents an AXCell axuielement.

API Overview

API Documentation

Functions

Signature cp.ui.Cell.matches(element) -> boolean
Type Function
Description Checks if the element is an AXCell.

Fields

Signature cp.ui.Cell.childrenUI <cp.prop: table of axuielement; read-only>
Type Field
Description The list of axuielements which are children of this Cell.
Signature cp.ui.Cell.columnIndexRange <cp.prop: table; read-only>
Type Field
Description Returns a table of {len,loc}, which indicates if the cell covers multiple columns.
Signature cp.ui.Cell.rowIndexRange <cp.prop: table; read-only>
Type Field
Description Returns a table of {len,loc}, which indicates if the cell covers multiple rows.
Signature cp.ui.Cell.selected <cp.prop: table>
Type Field
Description Indicates if the cell is currently selected.
Signature cp.ui.Cell.value <cp.prop: string>
Type Field
Description The cell value, if it is a string.

Methods

Signature cp.ui.Cell.textValueIs(value) -> boolean
Type Method
Description Checks if the cell's text value equals value.
Parameters
  • value - The text value to compare.
Returns
  • true if the cell text value equals the provided value.