Package Torello.Browser.BrowserAPI
Class Accessibility.AXNode
- java.lang.Object
-
- Torello.Browser.BaseType<Accessibility.AXNode>
-
- Torello.Browser.BrowserAPI.Accessibility.AXNode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Accessibility
public static class Accessibility.AXNode extends BaseType<Accessibility.AXNode> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theAccessibilitydomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.A node in the accessibility tree.- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/Accessibility.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Accessibility.java
File Size: 4,499 Bytes Line Count: 126 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Accessibility$$AXNode$$.java
- Open New Browser-Tab: Accessibility$$AXNode$$.java
File Size: 16,394 Bytes Line Count: 397 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description IntegerbackendDOMNodeIdThe backend ID for the associated DOM node, if any.String[]childIdsIDs for each of this node's child nodes.Accessibility.AXValuechromeRoleThisNode's Chrome raw role.Accessibility.AXValuedescriptionThe accessible description for thisNode.StringframeIdThe frame ID for the frame associated with this nodes document.booleanignoredWhether this node is ignored for accessibilityAccessibility.AXProperty[]ignoredReasonsCollection of reasons why this node is hidden.Accessibility.AXValuenameThe accessible name for thisNode.StringnodeIdUnique identifier for this node.StringparentIdID for this node's parent.Accessibility.AXProperty[]propertiesAll other propertiesAccessibility.AXValueroleThisNode's role, whether explicit or implicit.Accessibility.AXValuevalueThe value for thisNode.-
Fields inherited from class Torello.Browser.BaseType
domain, helperSingleton, isPresent, numFields
-
-
Constructor Summary
Constructors Constructor Description AXNode(ReadOnlyList<Boolean> isPresent, String nodeId, boolean ignored, Accessibility.AXProperty[] ignoredReasons, Accessibility.AXValue role, Accessibility.AXValue chromeRole, Accessibility.AXValue name, Accessibility.AXValue description, Accessibility.AXValue value, Accessibility.AXProperty[] properties, String parentId, String[] childIds, Integer backendDOMNodeId, String frameId)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Accessibility.AXNodefromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Accessibility.AXNode>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- 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
-
chromeRole
public final Accessibility.AXValue chromeRole
ThisNode's Chrome raw role.
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
-
parentId
public final java.lang.String parentId
ID for this node's parent.
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
-
frameId
public final java.lang.String frameId
The frame ID for the frame associated with this nodes document.
OPTIONAL
-
-
Constructor Detail
-
AXNode
public AXNode(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String nodeId, boolean ignored, Accessibility.AXProperty[] ignoredReasons, Accessibility.AXValue role, Accessibility.AXValue chromeRole, Accessibility.AXValue name, Accessibility.AXValue description, Accessibility.AXValue value, Accessibility.AXProperty[] properties, java.lang.String parentId, java.lang.String[] childIds, java.lang.Integer backendDOMNodeId, java.lang.String frameId)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Accessibility.AXNode fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Accessibility.AXNode> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-