Struct xpcom::interfaces::nsIAccessibleEvent [] [src]

#[repr(C)]
pub struct nsIAccessibleEvent { /* fields omitted */ }

interface nsIAccessibleEvent : nsISupports

/**
 * 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);
 */

Methods

impl nsIAccessibleEvent
[src]

[src]

Cast this nsIAccessibleEvent to one of its base interfaces.

impl nsIAccessibleEvent
[src]

EVENT_SHOW: i64 = 1
/**
   * An object has been created.
   */

EVENT_HIDE: i64 = 2
/**
   * An object has been destroyed.
   */

EVENT_REORDER: i64 = 3
/**
   * An object's children have changed
   */

EVENT_ACTIVE_DECENDENT_CHANGED: i64 = 4
/**
   * The active descendant of a component has changed. The active descendant
   * is used in objects with transient children.
   */

EVENT_FOCUS: i64 = 5
/**
   * An object has received the keyboard focus.
   */

EVENT_STATE_CHANGE: i64 = 6
/**
   * An object's state has changed.
   */

EVENT_LOCATION_CHANGE: i64 = 7
/**
   * An object has changed location, shape, or size.
   */

EVENT_NAME_CHANGE: i64 = 8
/**
   * An object's Name property has changed.
   */

EVENT_DESCRIPTION_CHANGE: i64 = 9
/**
   * An object's Description property has changed.
   */

EVENT_VALUE_CHANGE: i64 = 10
/**
   * An object's numeric Value has changed.
   */

EVENT_HELP_CHANGE: i64 = 11
/**
   * An object's help has changed.
   */

EVENT_DEFACTION_CHANGE: i64 = 12
/**
   * An object's default action has changed.
   */

EVENT_ACTION_CHANGE: i64 = 13
/**
   * An object's action has changed.
   */

EVENT_ACCELERATOR_CHANGE: i64 = 14
/**
   * An object's keyboard shortcut has changed.
   */

EVENT_SELECTION: i64 = 15
/**
   * The selection within a container object has changed.
   */

EVENT_SELECTION_ADD: i64 = 16
/**
   * An item within a container object has been added to the selection.
   */

EVENT_SELECTION_REMOVE: i64 = 17
/**
   * An item within a container object has been removed from the selection.
   */

EVENT_SELECTION_WITHIN: i64 = 18
/**
   * Numerous selection changes have occurred within a container object.
   */

EVENT_ALERT: i64 = 19
/**
   * An alert has been generated. Server applications send this event when a
   * user needs to know that a user interface element has changed.
   */

EVENT_FOREGROUND: i64 = 20
/**
   * The foreground window has changed.
   */

EVENT_MENU_START: i64 = 21
/**
   * A menu item on the menu bar has been selected.
   */

EVENT_MENU_END: i64 = 22
/**
   * A menu from the menu bar has been closed.
   */

EVENT_MENUPOPUP_START: i64 = 23
/**
   * A pop-up menu has been displayed.
   */

EVENT_MENUPOPUP_END: i64 = 24
/**
   * A pop-up menu has been closed.
   */

EVENT_CAPTURE_START: i64 = 25
/**
   * A window has received mouse capture.
   */

EVENT_CAPTURE_END: i64 = 26
/**
   * A window has lost mouse capture.
   */

EVENT_MOVESIZE_START: i64 = 27
/**
   * A window is being moved or resized.
   */

EVENT_MOVESIZE_END: i64 = 28
/**
  * The movement or resizing of a window has finished
  */

EVENT_CONTEXTHELP_START: i64 = 29
/**
   * A window has entered context-sensitive Help mode
   */

EVENT_CONTEXTHELP_END: i64 = 30
/**
   * A window has exited context-sensitive Help mode
   */

EVENT_DRAGDROP_START: i64 = 31
/**
   * An application is about to enter drag-and-drop mode
   */

EVENT_DRAGDROP_END: i64 = 32
/**
   * An application is about to exit drag-and-drop mode
   */

EVENT_DIALOG_START: i64 = 33
/**
   * A dialog box has been displayed
   */

EVENT_DIALOG_END: i64 = 34
/**
   * A dialog box has been closed
   */

EVENT_SCROLLING_START: i64 = 35
/**
   * Scrolling has started on a scroll bar
   */

EVENT_SCROLLING_END: i64 = 36
/**
   * Scrolling has ended on a scroll bar
   */

EVENT_MINIMIZE_START: i64 = 37
/**
   * A window object is about to be minimized or maximized
   */

EVENT_MINIMIZE_END: i64 = 38
/**
   * A window object has been minimized or maximized
   */

EVENT_DOCUMENT_LOAD_COMPLETE: i64 = 39
/**
   * The loading of the document has completed.
   */

EVENT_DOCUMENT_RELOAD: i64 = 40
/**
   * The document contents are being reloaded.
   */

EVENT_DOCUMENT_LOAD_STOPPED: i64 = 41
/**
   * The loading of the document was interrupted.
   */

EVENT_DOCUMENT_ATTRIBUTES_CHANGED: i64 = 42
/**
   * The document wide attributes of the document object have changed.
   */

EVENT_DOCUMENT_CONTENT_CHANGED: i64 = 43
/**
   * The contents of the document have changed.
   */

EVENT_PROPERTY_CHANGED: i64 = 44

EVENT_PAGE_CHANGED: i64 = 45
/**
   * A slide changed in a presentation document or a page boundary was
   * crossed in a word processing document.
   */

EVENT_TEXT_ATTRIBUTE_CHANGED: i64 = 46
/**
   * A text object's attributes changed.
   * Also see EVENT_OBJECT_ATTRIBUTE_CHANGED.
   */

EVENT_TEXT_CARET_MOVED: i64 = 47
/**
   * The caret has moved to a new position.
   */

EVENT_TEXT_CHANGED: i64 = 48
/**
   * This event indicates general text changes, i.e. changes to text that is
   * exposed through the IAccessibleText and IAccessibleEditableText interfaces.
   */

EVENT_TEXT_INSERTED: i64 = 49
/**
   * Text was inserted.
   */

EVENT_TEXT_REMOVED: i64 = 50
/**
   * Text was removed.
   */

EVENT_TEXT_UPDATED: i64 = 51
/**
   * Text was updated.
   */

EVENT_TEXT_SELECTION_CHANGED: i64 = 52
/**
   * The text selection changed.
   */

EVENT_VISIBLE_DATA_CHANGED: i64 = 53
/**
   * A visibile data event indicates the change of the visual appearance
   * of an accessible object.  This includes for example most of the
   * attributes available via the IAccessibleComponent interface.
   */

EVENT_TEXT_COLUMN_CHANGED: i64 = 54
/**
   * The caret moved from one column to the next.
   */

EVENT_SECTION_CHANGED: i64 = 55
/**
   * The caret moved from one section to the next.
   */

EVENT_TABLE_CAPTION_CHANGED: i64 = 56
/**
   * A table caption changed.
   */

EVENT_TABLE_MODEL_CHANGED: i64 = 57
/**
   * A table's data changed.
   */

EVENT_TABLE_SUMMARY_CHANGED: i64 = 58
/**
   * A table's summary changed.
   */

EVENT_TABLE_ROW_DESCRIPTION_CHANGED: i64 = 59
/**
   * A table's row description changed.
   */

EVENT_TABLE_ROW_HEADER_CHANGED: i64 = 60
/**
   * A table's row header changed.
   */

EVENT_TABLE_ROW_INSERT: i64 = 61

EVENT_TABLE_ROW_DELETE: i64 = 62

EVENT_TABLE_ROW_REORDER: i64 = 63

EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED: i64 = 64
/**
   * A table's column description changed.
   */

EVENT_TABLE_COLUMN_HEADER_CHANGED: i64 = 65
/**
   * A table's column header changed.
   */

EVENT_TABLE_COLUMN_INSERT: i64 = 66

EVENT_TABLE_COLUMN_DELETE: i64 = 67

EVENT_TABLE_COLUMN_REORDER: i64 = 68

EVENT_WINDOW_ACTIVATE: i64 = 69

EVENT_WINDOW_CREATE: i64 = 70

EVENT_WINDOW_DEACTIVATE: i64 = 71

EVENT_WINDOW_DESTROY: i64 = 72

EVENT_WINDOW_MAXIMIZE: i64 = 73

EVENT_WINDOW_MINIMIZE: i64 = 74

EVENT_WINDOW_RESIZE: i64 = 75

EVENT_WINDOW_RESTORE: i64 = 76
EVENT_HYPERLINK_END_INDEX_CHANGED: i64 = 77
/**
   * The ending index of this link within the containing string has changed.
   */
EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED: i64 = 78
/**
   * The number of anchors assoicated with this hyperlink object has changed.
   */
EVENT_HYPERLINK_SELECTED_LINK_CHANGED: i64 = 79
/**
   * The hyperlink selected state changed from selected to unselected or
   * from unselected to selected.
   */
EVENT_HYPERTEXT_LINK_ACTIVATED: i64 = 80
/**
   * One of the links associated with the hypertext object has been activated.
   */
EVENT_HYPERTEXT_LINK_SELECTED: i64 = 81
/**
   * One of the links associated with the hypertext object has been selected.
   */
EVENT_HYPERLINK_START_INDEX_CHANGED: i64 = 82
/**
   * The starting index of this link within the containing string has changed.
   */

EVENT_HYPERTEXT_CHANGED: i64 = 83
/**
   * Focus has changed from one hypertext object to another, or focus moved
   * from a non-hypertext object to a hypertext object, or focus moved from a
   * hypertext object to a non-hypertext object.
   */
EVENT_HYPERTEXT_NLINKS_CHANGED: i64 = 84
/**
   * The number of hyperlinks associated with a hypertext object changed.
   */

EVENT_OBJECT_ATTRIBUTE_CHANGED: i64 = 85
/**
   * An object's attributes changed. Also see EVENT_TEXT_ATTRIBUTE_CHANGED.
   */

EVENT_VIRTUALCURSOR_CHANGED: i64 = 86
/**
   * A cursorable's virtual cursor has changed.
   */

EVENT_TEXT_VALUE_CHANGE: i64 = 87
/**
   * An object's text Value has changed.
   */

EVENT_LAST_ENTRY: i64 = 88
/**
   * Help make sure event map does not get out-of-line.
   */

[src]

/**
   * The type of event, based on the enumerated event values
   * defined in this interface.
   */

readonly attribute unsigned long eventType;

[src]

/**
   * The nsIAccessible associated with the event.
   * May return null if no accessible is available
   */

readonly attribute nsIAccessible accessible;

[src]

/**
   * 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;

[src]

/**
   * The nsIDOMNode associated with the event
   * May return null if accessible for event has been shut down
   */

readonly attribute nsIDOMNode DOMNode;

[src]

/**
   * Returns true if the event was caused by explicit user input,
   * as opposed to purely originating from a timer or mouse movement
   */

readonly attribute boolean isFromUserInput;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIAccessibleEvent
[src]

IID: nsIID = nsID(549886528, 27692, 17059, [165, 120, 111, 68, 115, 170, 185, 221])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIAccessibleEvent
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleEvent
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.