java.lang.Object
io.webfolder.cdp.type.accessibility.AXNode

public class AXNode
extends java.lang.Object
A node in the accessibility tree
  • Constructor Summary

    Constructors 
    Constructor Description
    AXNode()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Integer getBackendDOMNodeId()
    The backend ID for the associated DOM node, if any.
    java.util.List<java.lang.String> getChildIds()
    IDs for each of this node's child nodes.
    AXValue getDescription()
    The accessible description for this `Node`.
    java.util.List<AXProperty> getIgnoredReasons()
    Collection of reasons why this node is hidden.
    AXValue getName()
    The accessible name for this `Node`.
    java.lang.String getNodeId()
    Unique identifier for this node.
    java.util.List<AXProperty> getProperties()
    All other properties
    AXValue getRole()
    This `Node`'s role, whether explicit or implicit.
    AXValue getValue()
    The value for this `Node`.
    java.lang.Boolean isIgnored()
    Whether this node is ignored for accessibility
    void setBackendDOMNodeId​(java.lang.Integer backendDOMNodeId)
    The backend ID for the associated DOM node, if any.
    void setChildIds​(java.util.List<java.lang.String> childIds)
    IDs for each of this node's child nodes.
    void setDescription​(AXValue description)
    The accessible description for this `Node`.
    void setIgnored​(java.lang.Boolean ignored)
    Whether this node is ignored for accessibility
    void setIgnoredReasons​(java.util.List<AXProperty> ignoredReasons)
    Collection of reasons why this node is hidden.
    void setName​(AXValue name)
    The accessible name for this `Node`.
    void setNodeId​(java.lang.String nodeId)
    Unique identifier for this node.
    void setProperties​(java.util.List<AXProperty> properties)
    All other properties
    void setRole​(AXValue role)
    This `Node`'s role, whether explicit or implicit.
    void setValue​(AXValue value)
    The value for this `Node`.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getNodeId

      public java.lang.String getNodeId()
      Unique identifier for this node.
    • setNodeId

      public void setNodeId​(java.lang.String nodeId)
      Unique identifier for this node.
    • isIgnored

      public java.lang.Boolean isIgnored()
      Whether this node is ignored for accessibility
    • setIgnored

      public void setIgnored​(java.lang.Boolean ignored)
      Whether this node is ignored for accessibility
    • getIgnoredReasons

      public java.util.List<AXProperty> getIgnoredReasons()
      Collection of reasons why this node is hidden.
    • setIgnoredReasons

      public void setIgnoredReasons​(java.util.List<AXProperty> ignoredReasons)
      Collection of reasons why this node is hidden.
    • getRole

      public AXValue getRole()
      This `Node`'s role, whether explicit or implicit.
    • setRole

      public void setRole​(AXValue role)
      This `Node`'s role, whether explicit or implicit.
    • getName

      public AXValue getName()
      The accessible name for this `Node`.
    • setName

      public void setName​(AXValue name)
      The accessible name for this `Node`.
    • getDescription

      public AXValue getDescription()
      The accessible description for this `Node`.
    • setDescription

      public void setDescription​(AXValue description)
      The accessible description for this `Node`.
    • getValue

      public AXValue getValue()
      The value for this `Node`.
    • setValue

      public void setValue​(AXValue value)
      The value for this `Node`.
    • getProperties

      public java.util.List<AXProperty> getProperties()
      All other properties
    • setProperties

      public void setProperties​(java.util.List<AXProperty> properties)
      All other properties
    • getChildIds

      public java.util.List<java.lang.String> getChildIds()
      IDs for each of this node's child nodes.
    • setChildIds

      public void setChildIds​(java.util.List<java.lang.String> childIds)
      IDs for each of this node's child nodes.
    • getBackendDOMNodeId

      public java.lang.Integer getBackendDOMNodeId()
      The backend ID for the associated DOM node, if any.
    • setBackendDOMNodeId

      public void setBackendDOMNodeId​(java.lang.Integer backendDOMNodeId)
      The backend ID for the associated DOM node, if any.