Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIAccessible Interface Reference

import "nsIAccessible.idl";

Inheritance diagram for nsIAccessible:

nsISupports nsAccessibleWrap nsAccessibleWrap nsAccessibleWrap nsAccessibleWrap nsBlockAccessible nsEnumRoleAccessible nsFormControlAccessible nsHTMLSelectableAccessible nsLeafAccessible nsLinkableAccessible nsXULSelectableAccessible nsXULTabBoxAccessible nsXULTabPanelsAccessible nsBlockAccessible nsEnumRoleAccessible nsFormControlAccessible nsHTMLSelectableAccessible nsLeafAccessible nsLinkableAccessible nsXULSelectableAccessible nsXULTabBoxAccessible nsXULTabPanelsAccessible nsBlockAccessible nsEnumRoleAccessible nsFormControlAccessible nsHTMLSelectableAccessible nsLeafAccessible nsLinkableAccessible nsXULSelectableAccessible nsXULTabBoxAccessible nsXULTabPanelsAccessible nsBlockAccessible nsEnumRoleAccessible nsFormControlAccessible nsHTMLSelectableAccessible nsLeafAccessible nsLinkableAccessible nsXULSelectableAccessible nsXULTabBoxAccessible nsXULTabPanelsAccessible

List of all members.


Detailed Description

A cross-platform interface that supports platform-specific accessibility APIs like MSAA and ATK. Contains the sum of what's needed to support IAccessible as well as ATK's generic accessibility objects. Can also be used by in-process accessibility clients to get information about objects in the accessible tree. The accessible tree is a subset of nodes in the DOM tree -- such as documents, focusable elements and text. Mozilla creates the implementations of nsIAccessible on demand. See http://www.mozilla.org/projects/ui/accessibility for more information.

UNDER_REVIEW

Definition at line 56 of file nsIAccessible.idl.


Public Member Functions

void addSelection ()
void doAction (in PRUint8 index)
void extendSelection ()
nsIAccessible getAccessibleAbove ()
nsIAccessible getAccessibleBelow ()
nsIAccessible getAccessibleRelated (in unsigned long aRelationType)
nsIAccessible getAccessibleToLeft ()
nsIAccessible getAccessibleToRight ()
AString getActionName (in PRUint8 index)
void getBounds (out long x, out long y, out long width, out long height)
nsIAccessible getChildAt (in long aChildIndex)
nsIAccessible getChildAtPoint (in long x, in long y)
void getNativeInterface (out voidPtr aOutAccessible)
void removeSelection ()
void takeFocus ()
void takeSelection ()
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

readonly attribute long childCount
readonly attribute AString description
const unsigned long EXT_STATE_ACTIVE = 0x00400000
const unsigned long EXT_STATE_EDITABLE = 0x00200000
const unsigned long EXT_STATE_EXPANDABLE = 0x00800000
const unsigned long EXT_STATE_MODAL = 0x01000000
const unsigned long EXT_STATE_MULTI_LINE = 0x02000000
const unsigned long EXT_STATE_SENSITIVE = 0x04000000
const unsigned long EXT_STATE_SHOWING = 0x10000000
const unsigned long EXT_STATE_SINGLE_LINE = 0x20000000
const unsigned long EXT_STATE_TRANSIENT = 0x40000000
const unsigned long EXT_STATE_VERTICAL = 0x80000000
readonly attribute unsigned long extState
readonly attribute unsigned long finalRole
readonly attribute unsigned long finalState
readonly attribute AString finalValue
readonly attribute nsIAccessible firstChild
readonly attribute nsIAccessible focusedChild
readonly attribute AString help
readonly attribute long indexInParent
readonly attribute AString keyBinding
readonly attribute AString keyboardShortcut
readonly attribute nsIAccessible lastChild
attribute AString name
readonly attribute nsIAccessible nextSibling
readonly attribute PRUint8 numActions
readonly attribute nsIAccessible parent
readonly attribute nsIAccessible previousSibling
const unsigned long RELATION_CONTROLLED_BY = 0x01
const unsigned long RELATION_CONTROLLER_FOR = 0x02
const unsigned long RELATION_DEFAULT_BUTTON = 0x4000
const unsigned long RELATION_DESCRIBED_BY = 0x4001
const unsigned long RELATION_DESCRIPTION_FOR = 0x4002
const unsigned long RELATION_EMBEDDED_BY = 0x0b
const unsigned long RELATION_EMBEDS = 0x0a
const unsigned long RELATION_FLOWS_FROM = 0x08
const unsigned long RELATION_FLOWS_TO = 0x07
const unsigned long RELATION_LABEL_FOR = 0x03
const unsigned long RELATION_LABELLED_BY = 0x04
const unsigned long RELATION_MEMBER_OF = 0x05
const unsigned long RELATION_NODE_CHILD_OF = 0x06
const unsigned long RELATION_NUL = 0x00
const unsigned long RELATION_PARENT_WINDOW_OF = 0x0d
const unsigned long RELATION_POPUP_FOR = 0x0c
const unsigned long RELATION_SUBWINDOW_OF = 0x09
readonly attribute unsigned long role
const unsigned long STATE_ALERT_HIGH = 0x10000000
const unsigned long STATE_ALERT_LOW = 0x04000000
const unsigned long STATE_ALERT_MEDIUM = 0x08000000
const unsigned long STATE_ANIMATED = 0x00004000
const unsigned long STATE_BUSY = 0x00000800
const unsigned long STATE_CHECKABLE = STATE_MARQUEED
const unsigned long STATE_CHECKED = 0x00000010
const unsigned long STATE_COLLAPSED = 0x00000400
const unsigned long STATE_DEFAULT = 0x00000100
const unsigned long STATE_EXPANDED = 0x00000200
const unsigned long STATE_EXTSELECTABLE = 0x02000000
const unsigned long STATE_FLOATING = 0x00001000
const unsigned long STATE_FOCUSABLE = 0x00100000
const unsigned long STATE_FOCUSED = 0x00000004
const unsigned long STATE_HASPOPUP = 0x40000000
const unsigned long STATE_HOTTRACKED = 0x00000080
const unsigned long STATE_IMPORTANT = STATE_ALERT_MEDIUM
const unsigned long STATE_INVALID = STATE_ALERT_HIGH
const unsigned long STATE_INVISIBLE = 0x00008000
const unsigned long STATE_LINKED = 0x00400000
const unsigned long STATE_MARQUEED = 0x00002000
const unsigned long STATE_MIXED = 0x00000020
const unsigned long STATE_MOVEABLE = 0x00040000
const unsigned long STATE_MULTISELECTABLE = 0x01000000
const unsigned long STATE_OFFSCREEN = 0x00010000
const unsigned long STATE_PRESSED = 0x00000008
const unsigned long STATE_PROTECTED = 0x20000000
const unsigned long STATE_READONLY = 0x00000040
const unsigned long STATE_REQUIRED = STATE_ALERT_LOW
const unsigned long STATE_SELECTABLE = 0x00200000
const unsigned long STATE_SELECTED = 0x00000002
const unsigned long STATE_SELFVOICING = 0x00080000
const unsigned long STATE_SIZEABLE = 0x00020000
const unsigned long STATE_TRAVERSED = 0x00800000
const unsigned long STATE_UNAVAILABLE = 0x00000001

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

Generated by  Doxygen 1.6.0   Back to index