Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIAccessNode Interface Reference

An interface used by in-process accessibility clients to get style, window, markup and other information about a DOM node. More...

import "nsIAccessNode.idl";

Inheritance diagram for nsIAccessNode:
Inheritance graph
[legend]
Collaboration diagram for nsIAccessNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

nsIAccessNode getChildNodeAt (in long childNum)
 Get the nth child of this node.
DOMString getComputedStyleValue (in DOMString pseudoElt, in DOMString propertyName)
 Retrieve the computed style value for this DOM node, if it is a DOM element.

Public Attributes

readonly attribute nsIDOMNode DOMNode
 The DOM node this nsIAccessNode is associated with.
readonly attribute long numChildren
 The number of DOM children for the DOM node, which matches the number of nsIAccessNode children for this nsIAccessNode.
readonly attribute nsIAccessNode parentNode
 The parent nsIAccessNode.
readonly attribute nsIAccessNode firstChildNode
 The first nsIAccessNode child.
readonly attribute nsIAccessNode lastChildNode
 The last nsIAccessNode child.
readonly attribute nsIAccessNode previousSiblingNode
 The previous nsIAccessNode sibling.
readonly attribute nsIAccessNode nextSiblingNode
 The next nsIAccessNode sibling.
readonly attribute
nsIAccessibleDocument 
accessibleDocument
 The nsIAccessibleDocument that this nsIAccessNode resides in.
readonly attribute DOMString innerHTML
 The innerHTML for the DOM node This is a text string of all the markup inside the DOM node, not including the start and end tag for the node.
readonly attribute voidPtr ownerWindow
 The OS window handle for the window this node is being displayed in.
readonly attribute voidPtr uniqueID
 A unique ID calculated for this DOM node, for the purposes of caching and referencing this object.

Detailed Description

An interface used by in-process accessibility clients to get style, window, markup and other information about a DOM node.

When accessibility is active in Gecko, every DOM node can have one nsIAccessNode for each pres shell the DOM node is rendered in. The nsIAccessNode implementations are instantiated lazily. The nsIAccessNode tree for a given dom window has a one to one relationship to the DOM tree. If the DOM node for this access node is "accessible", then a QueryInterface to nsIAccessible will succeed.

UNDER_REVIEW

Definition at line 59 of file nsIAccessNode.idl.


Member Function Documentation

Get the nth child of this node.

Parameters:
childNumZero-based child index
Returns:
The nth nsIAccessNode child
DOMString nsIAccessNode::getComputedStyleValue ( in DOMString  pseudoElt,
in DOMString  propertyName 
)

Retrieve the computed style value for this DOM node, if it is a DOM element.

Note: the meanings of width, height and other size measurements depend on the version of CSS being used. Therefore, for bounds information, it is better to use nsIAccessible::accGetBounds.

Parameters:
pseudoEltThe pseudo element to retrieve style for, or NULL for general computed style information for this node.
propertyNameRetrieve the computed style value for this property name, for example "border-bottom".

Member Data Documentation

The nsIAccessibleDocument that this nsIAccessNode resides in.

Definition at line 109 of file nsIAccessNode.idl.

The DOM node this nsIAccessNode is associated with.

Definition at line 64 of file nsIAccessNode.idl.

The first nsIAccessNode child.

Definition at line 88 of file nsIAccessNode.idl.

readonly attribute DOMString nsIAccessNode::innerHTML

The innerHTML for the DOM node This is a text string of all the markup inside the DOM node, not including the start and end tag for the node.

Definition at line 116 of file nsIAccessNode.idl.

The last nsIAccessNode child.

Definition at line 93 of file nsIAccessNode.idl.

The next nsIAccessNode sibling.

Definition at line 103 of file nsIAccessNode.idl.

The number of DOM children for the DOM node, which matches the number of nsIAccessNode children for this nsIAccessNode.

Definition at line 71 of file nsIAccessNode.idl.

The OS window handle for the window this node is being displayed in.

Definition at line 122 of file nsIAccessNode.idl.

The parent nsIAccessNode.

Definition at line 83 of file nsIAccessNode.idl.

The previous nsIAccessNode sibling.

Definition at line 98 of file nsIAccessNode.idl.

A unique ID calculated for this DOM node, for the purposes of caching and referencing this object.

Definition at line 128 of file nsIAccessNode.idl.


The documentation for this interface was generated from the following file: