Struct xpcom::interfaces::nsIAccessiblePivot [] [src]

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

interface nsIAccessiblePivot : nsISupports

/**
 * The pivot interface encapsulates a reference to a single place in an accessible
 * subtree. The pivot is a point or a range in the accessible tree. This interface
 * provides traversal methods to move the pivot to next/prev state that complies
 * to a given rule.
 */

Methods

impl nsIAccessiblePivot
[src]

[src]

Cast this nsIAccessiblePivot to one of its base interfaces.

impl nsIAccessiblePivot
[src]

CHAR_BOUNDARY: i64 = 0

WORD_BOUNDARY: i64 = 1

LINE_BOUNDARY: i64 = 2

ATTRIBUTE_RANGE_BOUNDARY: i64 = 3

REASON_NONE: i64 = 0

REASON_NEXT: i64 = 1

REASON_PREV: i64 = 2

REASON_FIRST: i64 = 3

REASON_LAST: i64 = 4

REASON_TEXT: i64 = 5

REASON_POINT: i64 = 6

[src]

/**
   * The accessible the pivot is currently pointed at.
   */

attribute nsIAccessible position;

[src]

/**
   * The accessible the pivot is currently pointed at.
   */

attribute nsIAccessible position;

[src]

/**
   * The root of the subtree in which the pivot traverses.
   */

readonly attribute nsIAccessible root;

[src]

/**
   * The temporary modal root to which traversal is limited to.
   */

attribute nsIAccessible modalRoot;

[src]

/**
   * The temporary modal root to which traversal is limited to.
   */

attribute nsIAccessible modalRoot;

[src]

/**
   * The start offset of the text range the pivot points at, otherwise -1.
   */

readonly attribute long startOffset;

[src]

/**
   * The end offset of the text range the pivot points at, otherwise -1.
   */

readonly attribute long endOffset;

[src]

/**
   * Add an observer for pivot changes.
   *
   * @param aObserver [in] the observer object to be notified of pivot changes.
   */

void addObserver (in nsIAccessiblePivotObserver aObserver);

[src]

/**
   * Remove an observer for pivot changes.
   *
   * @param aObserver [in] the observer object to remove from being notified.
   */

void removeObserver (in nsIAccessiblePivotObserver aObserver);

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

IID: nsIID = nsID(2180927812, 1435, 17115, [189, 58, 246, 206, 49, 88, 213, 233])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessiblePivot
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.