#cp.ui.OldRow

Represents an AXRow axuielement.


#API Overview

Constructors - API calls which return an object, typically one that offers API methods

Fields - Variables which can only be accessed from an object returned by a constructor

Methods - API calls which can only be made on an object returned by a constructor


#API Documentation

#Constructors

Signaturecp.ui.OldRow(parent, uiFinder) -> cp.ui.OldRow
TypeConstructor
DescriptionCreates a new Row instance with the specified parent and uiFinder.
Parameters
  • parent - the parent Element.
  • uiFinder - a function or cp.prop containing the axuielement
Returns
  • The new Row.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/ui/OldRow.lua line 21

#Fields

Signaturecp.ui.OldRow.disclosing <cp.prop: boolean>
TypeField
DescriptionIndicates if the Row is disclosing other Rows.
NotesNone
Sourcesrc/extensions/cp/ui/OldRow.lua line 32

Signaturecp.ui.OldRow.disclosureLevel <cp.prop: number; read-only>
TypeField
DescriptionThe depth of disclosure. 0 is the top level.
NotesNone
Sourcesrc/extensions/cp/ui/OldRow.lua line 39

Signaturecp.ui.OldRow.index <cp.prop: number; read-only>
TypeField
DescriptionThe numeric index of this row in the overall container, with 0 being the first item.
NotesNone
Sourcesrc/extensions/cp/ui/OldRow.lua line 87

Signaturecp.ui.OldRow.selected <cp.prop: boolean>
TypeField
DescriptionIndicates if the row is currently selected. May be set.
NotesNone
Sourcesrc/extensions/cp/ui/OldRow.lua line 80

#Methods

Signaturecp.ui.OldRow:disclosedByRow() -> cp.ui.OldRow
TypeMethod
DescriptionThe Row which is disclosing this Row.
Parameters
  • None
Returns
  • A cp.ui.OldRow object
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/ui/OldRow.lua line 46

Signaturecp.ui.OldRow:disclosedRows() -> table of cp.ui.OldRow or nil
TypeMethod
DescriptionIf available, returns a table of Rows that are disclosed by this Row. If this row is currently unavailable, nil is returned.
Parameters
  • None
Returns
  • The table of Rows, or nil.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/ui/OldRow.lua line 61

Signaturecp.ui.OldRow.matches(element) -> boolean
TypeMethod
DescriptionChecks if the element is a Row.
Parameters
  • element - the axuielement to check.
Returns
  • true if it matches, otherwise false.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/ui/OldRow.lua line 10