Class Accessibility.AXNode

    • 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 accessibility
        ignoredReasons - Collection of reasons why this node is hidden.
        OPTIONAL
        role - This Node's role, whether explicit or implicit.
        OPTIONAL
        name - The accessible name for this Node.
        OPTIONAL
        description - The accessible description for this Node.
        OPTIONAL
        value - The value for this Node.
        OPTIONAL
        properties - All other properties
        OPTIONAL
        childIds - IDs for each of this node's child nodes.
        OPTIONAL
        backendDOMNodeId - 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 a JsonObject 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 position TRUE.

        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...
        Specified by:
        optionals in class BaseType
        Returns:
        A boolean[] array whose length is precisely equal to the number of fields in the Java Object.