Struct xpcom::interfaces::nsIAccessibleSelectable [] [src]

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

interface nsIAccessibleSelectable : nsISupports

/**
 * An accessibility interface for selectable widgets.
 */

Methods

impl nsIAccessibleSelectable
[src]

[src]

Cast this nsIAccessibleSelectable to one of its base interfaces.

impl nsIAccessibleSelectable
[src]

[src]

/**
   * Return an nsIArray of selected items within the widget.
   */

readonly attribute nsIArray selectedItems;

[src]

/**
   * Return the number of currently selected items.
   */

readonly attribute unsigned long selectedItemCount;

[src]

/**
   * Return a nth selected item within the widget.
   */

nsIAccessible getSelectedItemAt (in unsigned long index);

[src]

/**
   * Return true if the given item is selected.
   */

boolean isItemSelected (in unsigned long index);

[src]

/**
   * Adds the specified item to the widget's selection.
   */

void addItemToSelection (in unsigned long index);

[src]

/**
   * Removes the specified item from the widget's selection.
   */

void removeItemFromSelection (in unsigned long index);

[src]

/**
   * Select all items.
   *
   * @return false if the object does not accept multiple selection,
   *         otherwise true.
   */

boolean selectAll ();

[src]

/**
   * Unselect all items.
   */

void unselectAll ();

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

IID: nsIID = nsID(2398815188, 4948, 18549, [148, 207, 38, 19, 54, 5, 118, 38])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleSelectable
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.