Struct xpcom::interfaces::nsIAccessibleEditableText [] [src]

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

interface nsIAccessibleEditableText : nsISupports

Methods

impl nsIAccessibleEditableText
[src]

[src]

Cast this nsIAccessibleEditableText to one of its base interfaces.

impl nsIAccessibleEditableText
[src]

[src]

/**
   * Replaces the text represented by this object by the given text.
   */

void setTextContents (in AString text);

[src]

/**
   * Inserts text at the specified position.
   *
   * @param text - text that is inserted.
   * @param position - index at which to insert the text.
   */

void insertText (in AString text, in long position);

[src]

/**
   * Copies the text range into the clipboard.
   *
   * @param startPos - start index of the text to moved into the clipboard.
   * @param endPos - end index of the text to moved into the clipboard.
   */

void copyText (in long startPos, in long endPos);

[src]

/**
   * Deletes a range of text and copies it to the clipboard.
   *
   * @param startPos - start index of the text to be deleted.
   * @param endOffset - end index of the text to be deleted.
   */

void cutText (in long startPos, in long endPos);

[src]

/**
   * Deletes a range of text.
   *
   * @param startPos - start index of the text to be deleted.
   * @param endPos - end index of the text to be deleted.
   */

void deleteText (in long startPos, in long endPos);

[src]

/**
   * Pastes text from the clipboard.
   *
   * @param position - index at which to insert the text from the system
   *                   clipboard into the text represented by this object.
   */

void pasteText (in long position);

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

IID: nsIID = nsID(680615114, 13158, 16436, [186, 29, 183, 175, 185, 179, 118, 57])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleEditableText
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.