Struct xpcom::interfaces::nsIAccessibleStateChangeEvent [] [src]

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

interface nsIAccessibleStateChangeEvent : nsIAccessibleEvent

/**
 * Fired when a state of an accessible changes.
 */

Methods

impl nsIAccessibleStateChangeEvent
[src]

[src]

Cast this nsIAccessibleStateChangeEvent to one of its base interfaces.

impl nsIAccessibleStateChangeEvent
[src]

[src]

/**
   * Returns the state of accessible (see constants declared
   * in nsIAccessibleStates).
   */

readonly attribute unsigned long state;

[src]

/**
   * Returns true if the state is extra state.
   */

readonly attribute boolean isExtraState;

[src]

/**
   * Returns true if the state is turned on.
   */

readonly attribute boolean isEnabled;

Methods from Deref<Target = nsIAccessibleEvent>

[src]

Cast this nsIAccessibleEvent to one of its base interfaces.

[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;

Trait Implementations

impl XpCom for nsIAccessibleStateChangeEvent
[src]

IID: nsIID = nsID(1488406868, 6197, 18157, [156, 205, 201, 6, 73, 1, 6, 246])

[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 nsIAccessibleStateChangeEvent
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleStateChangeEvent
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.