Struct xpcom::interfaces::nsIAccessibleCaretMoveEvent [] [src]

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

interface nsIAccessibleCaretMoveEvent : nsIAccessibleEvent

/**
 * Fired when the caret changes position in text.
 */

Methods

impl nsIAccessibleCaretMoveEvent
[src]

[src]

Cast this nsIAccessibleCaretMoveEvent to one of its base interfaces.

impl nsIAccessibleCaretMoveEvent
[src]

[src]

/**
   * Return caret offset.
   */

readonly attribute long caretOffset;

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

IID: nsIID = nsID(3977872100, 22487, 16808, [140, 216, 144, 35, 248, 9, 56, 62])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleCaretMoveEvent
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.