Package Torello.Browser
Class Accessibility.AXNode
- java.lang.Object
-
- Torello.Java.Additional.BaseType
-
- Torello.Browser.Accessibility.AXNode
-
- Enclosing class:
- Accessibility
public static class Accessibility.AXNode extends BaseType
A node in the accessibility tree.
Hi-Lited Source-Code:- View Here: Torello/Browser/Accessibility.java
- Open New Browser-Tab: Torello/Browser/Accessibility.java
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Type Properties Modifier and Type Field Integer
backendDOMNodeId
The backend ID for the associated DOM node, if any.String[]
childIds
IDs for each of this node's child nodes.Accessibility.AXValue
description
The accessible description for thisNode
.boolean
ignored
Whether this node is ignored for accessibilityAccessibility.AXProperty[]
ignoredReasons
Collection of reasons why this node is hidden.Accessibility.AXValue
name
The accessible name for thisNode
.String
nodeId
Unique identifier for this node.Accessibility.AXProperty[]
properties
All other properties
OPTIONALAccessibility.AXValue
role
ThisNode
's role, whether explicit or implicit.Accessibility.AXValue
value
The value for thisNode
.
-
Constructor Summary
Constructors Constructor Description AXNode(String nodeId, boolean ignored, Accessibility.AXProperty[] ignoredReasons, Accessibility.AXValue role, Accessibility.AXValue name, Accessibility.AXValue description, Accessibility.AXValue value, Accessibility.AXProperty[] properties, String[] childIds, Integer backendDOMNodeId)
ConstructorAXNode(JsonObject jo)
JSON Object Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
nodeId
public final java.lang.String nodeId
Unique identifier for this node.
-
ignored
public final boolean ignored
Whether this node is ignored for accessibility
-
ignoredReasons
public final Accessibility.AXProperty[] ignoredReasons
Collection of reasons why this node is hidden.
OPTIONAL
-
role
public final Accessibility.AXValue role
ThisNode
's role, whether explicit or implicit.
OPTIONAL
-
name
public final Accessibility.AXValue name
The accessible name for thisNode
.
OPTIONAL
-
description
public final Accessibility.AXValue description
The accessible description for thisNode
.
OPTIONAL
-
value
public final Accessibility.AXValue value
The value for thisNode
.
OPTIONAL
-
properties
public final Accessibility.AXProperty[] properties
All other properties
OPTIONAL
-
childIds
public final java.lang.String[] childIds
IDs for each of this node's child nodes.
OPTIONAL
-
backendDOMNodeId
public final java.lang.Integer backendDOMNodeId
The backend ID for the associated DOM node, if any.
OPTIONAL
-
-
Constructor Detail
-
AXNode
public AXNode(java.lang.String nodeId, boolean ignored, Accessibility.AXProperty[] ignoredReasons, Accessibility.AXValue role, Accessibility.AXValue name, Accessibility.AXValue description, Accessibility.AXValue value, Accessibility.AXProperty[] properties, java.lang.String[] childIds, java.lang.Integer backendDOMNodeId)
Constructor- Parameters:
nodeId
- Unique identifier for this node.ignored
- Whether this node is ignored for accessibilityignoredReasons
- Collection of reasons why this node is hidden.
OPTIONALrole
- ThisNode
's role, whether explicit or implicit.
OPTIONALname
- The accessible name for thisNode
.
OPTIONALdescription
- The accessible description for thisNode
.
OPTIONALvalue
- The value for thisNode
.
OPTIONALproperties
- All other properties
OPTIONALchildIds
- IDs for each of this node's child nodes.
OPTIONALbackendDOMNodeId
- The backend ID for the associated DOM node, if any.
OPTIONAL
-
AXNode
public AXNode(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'AXNode'
.
-
-
Method Detail
-
optionals
public boolean[] optionals()
Description copied from class:BaseType
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding aJsonObject
to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array positionTRUE
.
NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
-
-