Struct xpcom::interfaces::nsIAccessibleTextChangeEvent [] [src]

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

interface nsIAccessibleTextChangeEvent : nsIAccessibleEvent

/**
 * Fired when an accessible's text changes.
 */

Methods

impl nsIAccessibleTextChangeEvent
[src]

[src]

Cast this nsIAccessibleTextChangeEvent to one of its base interfaces.

impl nsIAccessibleTextChangeEvent
[src]

[src]

/**
   * Returns offset of changed text in accessible.
   */

readonly attribute long start;

[src]

/**
   * Returns length of changed text.
   */

readonly attribute unsigned long length;

[src]

/**
   * Returns true if text was inserted, otherwise false.
   */

readonly attribute boolean isInserted;

[src]

/**
   * The inserted or removed text
   */

readonly attribute DOMString modifiedText;

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

IID: nsIID = nsID(533466618, 37862, 18676, [187, 212, 248, 14, 177, 217, 242, 230])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleTextChangeEvent
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.