An interface for accessibility events listened to
 by in-process accessibility clients, which can be used
 to find out how to get accessibility and DOM interfaces for
 the event and its target. To listen to in-process accessibility invents,
 make your object an nsIObserver, and listen for accessible-event by 
 using code something like this:
   nsCOMPtr<nsIObserverService> observerService = 
     do_GetService("@mozilla.org/observer-service;1", &rv);
   if (NS_SUCCEEDED(rv)) 
     rv = observerService->AddObserver(this, "accessible-event", PR_TRUE);

 @status UNDER_REVIEW
[scriptable, uuid(87f29033-c4a6-40a3-ac7a-3ba391f9992d)]
interface nsIAccessibleEvent : nsISupports

Constants


          
const unsigned long EVENT_CREATE = 32768

          
const unsigned long EVENT_DESTROY = 32769

          
const unsigned long EVENT_SHOW = 32770

          
const unsigned long EVENT_HIDE = 32771

          
const unsigned long EVENT_REORDER = 32772

          
const unsigned long EVENT_FOCUS = 32773

          
const unsigned long EVENT_STATE_CHANGE = 32778

          
const unsigned long EVENT_LOCATION_CHANGE = 32779

          
const unsigned long EVENT_NAME_CHANGE = 32780

          
const unsigned long EVENT_DESCRIPTIONCHANGE = 32781

          
const unsigned long EVENT_VALUE_CHANGE = 32782

          
const unsigned long EVENT_PARENTCHANGE = 32783

          
const unsigned long EVENT_HELPCHANGE = 32784

          
const unsigned long EVENT_DEFACTIONCHANGE = 32785

          
const unsigned long EVENT_ACCELERATORCHANGE = 32786

          
const unsigned long EVENT_SELECTION = 32774

          
const unsigned long EVENT_SELECTION_ADD = 32775

          
const unsigned long EVENT_SELECTION_REMOVE = 32776

          
const unsigned long EVENT_SELECTION_WITHIN = 32777

          
const unsigned long EVENT_ALERT = 2

          
const unsigned long EVENT_FOREGROUND = 3

          
const unsigned long EVENT_MENUSTART = 4

          
const unsigned long EVENT_MENUEND = 5

          
const unsigned long EVENT_MENUPOPUPSTART = 6

          
const unsigned long EVENT_MENUPOPUPEND = 7

          
const unsigned long EVENT_CAPTURESTART = 8

          
const unsigned long EVENT_CAPTUREEND = 9

          
const unsigned long EVENT_MOVESIZESTART = 10

          
const unsigned long EVENT_MOVESIZEEND = 11

          
const unsigned long EVENT_CONTEXTHELPSTART = 12

          
const unsigned long EVENT_CONTEXTHELPEND = 13

          
const unsigned long EVENT_DRAGDROPSTART = 14

          
const unsigned long EVENT_DRAGDROPEND = 15

          
const unsigned long EVENT_DIALOGSTART = 16

          
const unsigned long EVENT_DIALOGEND = 17

          
const unsigned long EVENT_SCROLLINGSTART = 18

          
const unsigned long EVENT_SCROLLINGEND = 19

          
const unsigned long EVENT_MINIMIZESTART = 22

          
const unsigned long EVENT_MINIMIZEEND = 23

          
const unsigned long EVENT_ATK_PROPERTY_CHANGE = 256

          
const unsigned long EVENT_ATK_SELECTION_CHANGE = 257

          
const unsigned long EVENT_ATK_TEXT_CHANGE = 258

          
const unsigned long EVENT_ATK_TEXT_SELECTION_CHANGE = 259

          
const unsigned long EVENT_ATK_TEXT_CARET_MOVE = 260

          
const unsigned long EVENT_ATK_VISIBLE_DATA_CHANGE = 261

          
const unsigned long EVENT_ATK_TABLE_MODEL_CHANGE = 272

          
const unsigned long EVENT_ATK_TABLE_ROW_INSERT = 273

          
const unsigned long EVENT_ATK_TABLE_ROW_DELETE = 274

          
const unsigned long EVENT_ATK_TABLE_ROW_REORDER = 275

          
const unsigned long EVENT_ATK_TABLE_COLUMN_INSERT = 276

          
const unsigned long EVENT_ATK_TABLE_COLUMN_DELETE = 277

          
const unsigned long EVENT_ATK_TABLE_COLUMN_REORDER = 278

          
const unsigned long EVENT_ATK_LINK_SELECTED = 279

          
const unsigned long EVENT_ATK_WINDOW_ACTIVATE = 280

          
const unsigned long EVENT_ATK_WINDOW_CREATE = 281

          
const unsigned long EVENT_ATK_WINDOW_DEACTIVATE = 288

          
const unsigned long EVENT_ATK_WINDOW_DESTROY = 289

          
const unsigned long EVENT_ATK_WINDOW_MAXIMIZE = 290

          
const unsigned long EVENT_ATK_WINDOW_MINIMIZE = 291

          
const unsigned long EVENT_ATK_WINDOW_RESIZE = 292

          
const unsigned long EVENT_ATK_WINDOW_RESTORE = 293

Attributes

 The nsIDOMNode associated with the event
 May return null if accessible for event has been shut down
readonly attribute nsIDOMNode DOMNode
 The nsIAccessible associated with the event.
 May return null if no accessible is available
readonly attribute nsIAccessible accessible
 The nsIAccessibleDocument that the event target nsIAccessible
 resides in. This can be used to get the DOM window,
 the DOM document and the window handler, among other things.
readonly attribute nsIAccessibleDocument accessibleDocument
 The type of event, based on the enumerated event values
 defined in this interface.
readonly attribute unsigned long eventType