WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIXULTreeBuilder

IID:06b31b15-ebf5-4e74-a0e2-6bc0a18a3969
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void addObserver ( nsIXULTreeBuilderObserver observer ) PRInt32 getIndexOfResource ( nsIRDFResource resource ) nsIRDFResource getResourceAtIndex ( PRInt32 rowIndex ) void removeObserver ( nsIXULTreeBuilderObserver observer ) void sort ( nsIDOMElement columnElement )

void addObserver ( nsIXULTreeBuilderObserver observer )

Add a Tree Builder Observer to handle Tree View methods that the base builder does not implement.

Arguments:
observer

PRInt32 getIndexOfResource ( nsIRDFResource resource )

Retrieve the index associated with specified RDF resource.

Arguments:
resource

nsIRDFResource getResourceAtIndex ( PRInt32 rowIndex )

Retrieve the RDF resource associated with the specified row.

Arguments:
rowIndex

void removeObserver ( nsIXULTreeBuilderObserver observer )

Remove an Tree Builder Observer.

Arguments:
observer

void sort ( nsIDOMElement columnElement )

Sort the contents of the tree using the specified column.

Arguments:
columnElement

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com