Struct xpcom::interfaces::nsIAccessibleTraversalRule [] [src]

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

interface nsIAccessibleTraversalRule : nsISupports

Methods

impl nsIAccessibleTraversalRule
[src]

[src]

Cast this nsIAccessibleTraversalRule to one of its base interfaces.

impl nsIAccessibleTraversalRule
[src]

FILTER_IGNORE: i64 = 0

FILTER_MATCH: i64 = 1

FILTER_IGNORE_SUBTREE: i64 = 2

PREFILTER_INVISIBLE: i64 = 1

PREFILTER_OFFSCREEN: i64 = 2

PREFILTER_NOT_FOCUSABLE: i64 = 4

PREFILTER_ARIA_HIDDEN: i64 = 8

PREFILTER_TRANSPARENT: i64 = 16

[src]

/**
   * Pre-filter bitfield to filter out obviously ignorable nodes and lighten
   * the load on match().
   */

readonly attribute unsigned long preFilter;

[src]

/**
   * Retrieve a list of roles that the traversal rule should test for. Any node
   * with a role not in this list will automatically be ignored. An empty list
   * will match all roles. It should be assumed that this method is called once
   * at the start of a traversal, so changing the method's return result after
   * that would have no affect.
   *
   * @param aRoles [out] an array of the roles to match.
   * @param aCount [out] the length of the array.
   */

void getMatchRoles ([array, size_is (aCount)] out unsigned long aRoles, [retval] out unsigned long aCount);

[src]

/**
   * Determines if a given accessible is to be accepted in our traversal rule
   *
   * @param aAccessible [in] accessible to examine.
   * @return a bitfield of FILTER_MATCH and FILTER_IGNORE_SUBTREE.
   */

unsigned short match (in nsIAccessible aAccessible);

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

IID: nsIID = nsID(3784787469, 7935, 16967, [180, 187, 164, 59, 225, 132, 13, 174])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleTraversalRule
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.