Struct xpcom::interfaces::nsIAccessibleDocument [] [src]

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

interface nsIAccessibleDocument : nsISupports

/**
 * An interface for in-process accessibility clients
 * that wish to retrieve information about a document.
 * When accessibility is turned on in Gecko,
 * there is an nsIAccessibleDocument for each document
 * whether it is XUL, HTML or whatever.
 * You can QueryInterface to nsIAccessibleDocument from the nsIAccessible for
 * the root node of a document or you can get one from
 * nsIAccessible::GetDocument().
 */

Methods

impl nsIAccessibleDocument
[src]

[src]

Cast this nsIAccessibleDocument to one of its base interfaces.

impl nsIAccessibleDocument
[src]

[src]

/**
   * The URL of the document
   */

readonly attribute AString URL;

[src]

/**
   * The title of the document, as specified in the document.
   */

readonly attribute AString title;

[src]

/**
   * The mime type of the document
   */

readonly attribute AString mimeType;

[src]

/**
   * The doc type of the document, as specified in the document.
   */

readonly attribute AString docType;

[src]

/**
   * The nsIDOMDocument interface associated with this document.
   */

readonly attribute nsIDOMDocument DOMDocument;

[src]

/**
   * The nsIDOMWindow that the document resides in.
   */

readonly attribute mozIDOMWindowProxy window;

[src]

/**
   * Return the parent document accessible.
   */

readonly attribute nsIAccessibleDocument parentDocument;

[src]

/**
   * Return the count of child document accessibles.
   */

readonly attribute unsigned long childDocumentCount;

[src]

/**
   * The virtual cursor pivot this document manages.
   */

readonly attribute nsIAccessiblePivot virtualCursor;

[src]

/**
   * Return the child document accessible at the given index.
   */

nsIAccessibleDocument getChildDocumentAt (in unsigned long index);

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

IID: nsIID = nsID(1554866065, 64718, 16615, [145, 62, 70, 113, 112, 29, 25, 180])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleDocument
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.