TreeColumns

This object is available to unprivileged JavaScript. It implements the following interfaces:

Properties

readonly PRInt32 count

The number of columns.

readonly TreeBoxObject tree

The tree widget for these columns.


Methods

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

TreeColumn getColumnAt ( PRInt32 index )

Arguments:
index

TreeColumn getColumnFor ( Element element )

Get the column for the given element.

Arguments:
element

TreeColumn getFirstColumn ( )

Get the first/last column.


TreeColumn getKeyColumn ( )


TreeColumn getLastColumn ( )


TreeColumn getNamedColumn ( AString id )

Parametric column getters.

Arguments:
id

TreeColumn getPrimaryColumn ( )

Attribute based column getters.


TreeColumn getSortedColumn ( )


void invalidateColumns ( )

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


void restoreNaturalOrder ( )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com