import "nsIAccessNode.idl";
Public Member Functions | |
| nsIAccessNode | getChildNodeAt (in long childNum) |
| Get the nth child of this node. | |
| void | scrollTo (in unsigned long aScrollType) |
| Makes an object visible on screen. | |
| void | scrollToPoint (in unsigned long aCoordinateType, in long aX, in long aY) |
| Moves the top left of an object to a specified location. | |
| DOMString | getComputedStyleValue (in DOMString pseudoElt, in DOMString propertyName) |
| Retrieve the computed style value for this DOM node, if it is a DOM element. | |
| nsIDOMCSSPrimitiveValue | getComputedStyleCSSValue (in DOMString pseudoElt, in DOMString propertyName) |
| The method is similar to getComputedStyleValue() excepting that this one returns nsIDOMCSSPrimitiveValue. | |
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. | |
| readonly attribute DOMString | language |
| The language for the current DOM node, e.g. | |
| nsIAccessNode nsIAccessNode::getChildNodeAt | ( | in long | childNum | ) |
| void nsIAccessNode::scrollTo | ( | in unsigned long | aScrollType | ) |
| scrollType | - defines where the object should be placed on the screen (see nsIAccessibleScrollType for available constants). |
| coordinateType | - specifies whether the coordinates are relative to the screen or the parent object (for available constants refer to nsIAccessibleCoordinateType) | |
| aX | - defines the x coordinate | |
| aY | - defines the y coordinate |
| DOMString nsIAccessNode::getComputedStyleValue | ( | in DOMString | pseudoElt, | |
| in DOMString | propertyName | |||
| ) |
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.
| pseudoElt | The pseudo element to retrieve style for, or NULL for general computed style information for this node. | |
| propertyName | Retrieve the computed style value for this property name, for example "border-bottom". |
| nsIDOMCSSPrimitiveValue nsIAccessNode::getComputedStyleCSSValue | ( | in DOMString | pseudoElt, | |
| in DOMString | propertyName | |||
| ) |
| readonly attribute nsIDOMNode nsIAccessNode::DOMNode |
| readonly attribute long nsIAccessNode::numChildren |
| readonly attribute DOMString nsIAccessNode::innerHTML |
| readonly attribute voidPtr nsIAccessNode::ownerWindow |
| readonly attribute voidPtr nsIAccessNode::uniqueID |
| readonly attribute DOMString nsIAccessNode::language |
en, de, etc.
1.5.6