nsIAccessNode
.
nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)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.
nsIAccessNode getChildNodeAt(in long childNum); Obsolete since Gecko 2.0 |
nsIDOMCSSPrimitiveValue getComputedStyleCSSValue(in DOMString pseudoElt, in DOMString propertyName); |
DOMString getComputedStyleValue(in DOMString pseudoElt, in DOMString propertyName); |
void scrollTo(in unsigned long aScrollType); |
void scrollToPoint(in unsigned long aCoordinateType, in long aX, in long aY); |
Attribute | Type | Description |
document |
|
The document accessible that this access node resides in. Read only. Note: Renamed from accessibleDocument in Gecko 2.0 |
DOMNode |
|
The DOM node this nsIAccessNode is associated with. Read only. |
firstChildNode |
|
The first nsIAccessNode child. Read only. Obsolete since Gecko 2.0 |
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. Read only. |
language |
|
The language for the current DOM node, for example en, de, and so on. Read only. |
lastChildNode |
|
The last nsIAccessNode child. Read only. Obsolete since Gecko 2.0 |
nextSiblingNode |
|
The next nsIAccessNode sibling. Read only. Obsolete since Gecko 2.0 |
numChildren |
long |
The number of DOM children for the DOM node, which matches the number of nsIAccessNode children for this nsIAccessNode . Read only. Obsolete since Gecko 2.0 |
ownerWindow |
voidPtr |
The OS window handle for the window this node is being displayed in. Read only. Native code only! Obsolete since Gecko 8.0 |
parentNode |
|
The parent nsIAccessNode . Read only. Obsolete since Gecko 2.0 |
previousSiblingNode |
|
The previous nsIAccessNode sibling. Read only. Obsolete since Gecko 2.0 |
rootDocument |
|
The root document accessible that this access node resides in. Read only. |
uniqueID |
voidPtr |
A unique ID calculated for this DOM node, for the purposes of caching and referencing this object. Read only. Native code only! |
Get the nth child of this node.
nsIAccessNode getChildNodeAt( in long childNum );
childNum
The nth nsIAccessNode
child.
NS_ERROR_FAILURE
Retrieve the computed style value as nsIDOMCSSPrimitiveValue
for the DOM node this access node is associated with.
nsIAccessible.getBounds()
.nsIDOMCSSPrimitiveValue getComputedStyleCSSValue( in DOMString pseudoElt, in DOMString propertyName );
pseudoElt
propertyName
The nsIDOMCSSPrimitiveValue
computed style value.
NS_ERROR_FAILURE
Retrieve the computed style value for this DOM node, if it is a DOM element.
nsIAccessible.getBounds()
.DOMString getComputedStyleValue( in DOMString pseudoElt, in DOMString propertyName );
pseudoElt
null
for general computed style information for this node.propertyName
The computed style value.
NS_ERROR_FAILURE
Makes an object visible on screen.
void scrollTo( in unsigned long aScrollType );
aScrollType
nsIAccessibleScrollType.Constants
for available constants).NS_ERROR_FAILURE
Moves the top left of an object to a specified location.
void scrollToPoint( in unsigned long aCoordinateType, in long aX, in long aY );
aCoordinateType
nsIAccessibleCoordinateType.Constants
.aX
aY
NS_ERROR_FAILURE
The main application of access node tree is it's used by ISimpleDOM* interfaces on Windows.