Struct xpcom::interfaces::nsITreeColumns [] [src]

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

interface nsITreeColumns : nsISupports

Methods

impl nsITreeColumns
[src]

[src]

Cast this nsITreeColumns to one of its base interfaces.

impl nsITreeColumns
[src]

[src]

/**
   * The tree widget for these columns.
   */

readonly attribute nsITreeBoxObject tree;

[src]

/**
   * The number of columns.
   */

readonly attribute long count;

[src]

/**
   * An alias for count (for the benefit of scripts which treat this as an
   * array).
   */

readonly attribute long length;

[src]

/**
   * Get the first/last column.
   */

nsITreeColumn getFirstColumn ();

[src]

nsITreeColumn getLastColumn ();

[src]

/**
   * Attribute based column getters.
   */

nsITreeColumn getPrimaryColumn ();

[src]

nsITreeColumn getSortedColumn ();

[src]

nsITreeColumn getKeyColumn ();

[src]

/**
   * Get the column for the given element.
   */

nsITreeColumn getColumnFor (in nsIDOMElement element);

[src]

/**
   * Parametric column getters.
   */

nsITreeColumn getNamedColumn (in AString id);

[src]

nsITreeColumn getColumnAt (in long index);

[src]

/**
   * This method is called whenever a treecol is added or removed and
   * the column cache needs to be rebuilt.
   */

void invalidateColumns ();

[src]

void restoreNaturalOrder ();

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

IID: nsIID = nsID(4171814580, 26504, 17293, [144, 9, 113, 66, 121, 135, 103, 171])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsITreeColumns
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.