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)
        nodeId - Unique identifier for this node.
        ignored - Whether this node is ignored for accessibility
        ignoredReasons - Collection of reasons why this node is hidden.
        role - This Node's role, whether explicit or implicit.
        name - The accessible name for this Node.
        description - The accessible description for this Node.
        value - The value for this Node.
        properties - All other properties
        childIds - IDs for each of this node's child nodes.
        backendDOMNodeId - The backend ID for the associated DOM node, if any.
      • AXNode

        public AXNode​(JsonObject jo)
        JSON Object Constructor
        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
        A boolean[] array whose length is precisely equal to the number of fields in the Java Object.