nsITreeColumns

IID:fcc7b6b5-f7d7-4e57-abd1-080602deb21d
Inherits From:nsISupports

Properties

readonly PRInt32 count

The number of columns.

readonly nsITreeBoxObject tree

The tree widget for these columns.


Methods

nsITreeColumn getColumnAt ( PRInt32 index ) nsITreeColumn getColumnFor ( nsIDOMElement element ) nsITreeColumn getFirstColumn ( ) nsITreeColumn getKeyColumn ( ) nsITreeColumn getLastColumn ( ) nsITreeColumn getNamedColumn ( AString id ) nsITreeColumn getPrimaryColumn ( ) nsITreeColumn getSortedColumn ( ) void invalidateColumns ( ) void restoreNaturalOrder ( )

nsITreeColumn getColumnAt ( PRInt32 index )

Arguments:
index

nsITreeColumn getColumnFor ( nsIDOMElement element )

Get the column for the given element.

Arguments:
element

nsITreeColumn getFirstColumn ( )

Get the first/last column.


nsITreeColumn getKeyColumn ( )


nsITreeColumn getLastColumn ( )


nsITreeColumn getNamedColumn ( AString id )

Parametric column getters.

Arguments:
id

nsITreeColumn getPrimaryColumn ( )

Attribute based column getters.


nsITreeColumn getSortedColumn ( )


void invalidateColumns ( )

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


void restoreNaturalOrder ( )


References

This interface is the type of the following properties:

nsIDOMXULTreeElement.columns, nsITreeBoxObject.columns, nsITreeColumn.columns

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com