Home Reference Source
public class | source

AXNode

Static Method Summary

Static Public Methods
public static

createTree(payloads: Array<Object>): AXNode

Constructor Summary

Public Constructor
public

constructor(payload: Object)

Member Summary

Private Members
private
private
private
private
private
private

_name: *

private
private
private

_role: *

Method Summary

Public Methods
public
public

isInteresting(insideControl: boolean): boolean

public
public
public

toJSON(): *

Private Methods
private
private
private

Static Public Methods

public static createTree(payloads: Array<Object>): AXNode source

Params:

NameTypeAttributeDescription
payloads Array<Object>

Return:

AXNode (nullable: false)

Public Constructors

public constructor(payload: Object) source

Params:

NameTypeAttributeDescription
payload Object
  • nullable: false

Private Members

private _cachedHasFocusableChild: boolean source

private _children: Array<AXNode> source

private _editable: boolean source

private _expanded: boolean source

private _focusable: boolean source

private _name: * source

private _payload: * source

private _richlyEditable: boolean source

private _role: * source

Public Methods

public isControl(): boolean source

Return:

boolean

public isInteresting(insideControl: boolean): boolean source

Params:

NameTypeAttributeDescription
insideControl boolean

Return:

boolean

public isLeafNode(): boolean source

Return:

boolean

public serialize(): SerializedAXNode source

Return:

SerializedAXNode (nullable: false)

public toJSON(): * source

Return:

*

Private Methods

private _hasFocusableChild(): boolean source

Return:

boolean

private _isPlainTextField(): boolean source

Return:

boolean

private _isTextOnlyObject(): boolean source

Return:

boolean