[scriptable, uuid(fcc7b6b5-f7d7-4e57-abd1-080602deb21d)]
interface nsITreeColumns : nsISupports

Attributes

 The number of columns.
readonly attribute long count
 The tree widget for these columns.
readonly attribute nsITreeBoxObject tree

Methods


          
nsITreeColumn getColumnAt(in long index)
 Get the column for the given element.
nsITreeColumn getColumnFor(in nsIDOMElement element)
 Get the first/last column.
nsITreeColumn getFirstColumn()

          
nsITreeColumn getKeyColumn()

          
nsITreeColumn getLastColumn()
 Parametric column getters.
nsITreeColumn getNamedColumn(in AString id)
 Attribute based column getters.
nsITreeColumn getPrimaryColumn()

          
nsITreeColumn getSortedColumn()
 This method is called whenever a treecol is added or removed and
 the column cache needs to be rebuilt.
void invalidateColumns()

          
void restoreNaturalOrder()