@mozilla.org/xul/xul-tree-builder;1

This component implements the following interfaces:

Constants

PRInt16 nsITreeView.DROP_BEFORE = -1
PRInt16 nsITreeView.DROP_ON = 0
PRInt16 nsITreeView.DROP_AFTER = 1
The progress mode for a given cell. This method is only called for columns of type progressmeter.
PRInt16 nsITreeView.PROGRESS_NORMAL = 1
PRInt16 nsITreeView.PROGRESS_UNDETERMINED = 2
PRInt16 nsITreeView.PROGRESS_NONE = 3
PRInt32 nsIXULTreeBuilderObserver.DROP_BEFORE = -1
PRInt32 nsIXULTreeBuilderObserver.DROP_ON = 0
PRInt32 nsIXULTreeBuilderObserver.DROP_AFTER = 1

Properties

readonly nsIRDFCompositeDataSource nsIXULTemplateBuilder.database

The composite datasource that the template builder observes and uses to create content

readonly nsIDOMElement nsIXULTemplateBuilder.root

The ``root'' node in the DOM to which this builder is attached

readonly PRInt32 nsITreeView.rowCount

The total number of rows in the tree (including the offscreen rows).

nsITreeSelection nsITreeView.selection

The selection for this view.

Methods

InterfaceMethod
nsIXULTemplateBuilder void addListener ( nsIXULBuilderListener listener )
nsISecurityCheckedComponent char* canCallMethod ( nsIIDPtr iid , PRUnichar* methodName )
nsISecurityCheckedComponent char* canCreateWrapper ( nsIIDPtr iid )
nsIXULTreeBuilderObserver PRBool canDrop ( PRInt32 index , PRInt32 orientation )
nsISecurityCheckedComponent char* canGetProperty ( nsIIDPtr iid , PRUnichar* propertyName )
nsISecurityCheckedComponent char* canSetProperty ( nsIIDPtr iid , PRUnichar* propertyName )
nsIXULTemplateBuilder [noscript] void createContents ( nsIContent_ptr element )
nsITreeView void cycleCell ( PRInt32 row , nsITreeColumn col )
nsITreeView void cycleHeader ( nsITreeColumn col )
nsITreeView void drop ( PRInt32 row , PRInt32 orientation )
nsITreeView void getCellProperties ( PRInt32 row , nsITreeColumn col , nsISupportsArray properties )
nsITreeView AString getCellText ( PRInt32 row , nsITreeColumn col )
nsITreeView AString getCellValue ( PRInt32 row , nsITreeColumn col )
nsITreeView void getColumnProperties ( nsITreeColumn col , nsISupportsArray properties )
nsITreeView AString getImageSrc ( PRInt32 row , nsITreeColumn col )
nsITreeView PRInt32 getLevel ( PRInt32 index )
nsITreeView PRInt32 getParentIndex ( PRInt32 rowIndex )
nsITreeView PRInt32 getProgressMode ( PRInt32 row , nsITreeColumn col )
nsITreeView void getRowProperties ( PRInt32 index , nsISupportsArray properties )
nsITreeView PRBool hasNextSibling ( PRInt32 rowIndex , PRInt32 afterIndex )
nsIXULTemplateBuilder [noscript] void init ( nsIContent_ptr element )
nsITreeView PRBool isContainer ( PRInt32 index )
nsITreeView PRBool isContainerEmpty ( PRInt32 index )
nsITreeView PRBool isContainerOpen ( PRInt32 index )
nsITreeView PRBool isEditable ( PRInt32 row , nsITreeColumn col )
nsITreeView PRBool isSeparator ( PRInt32 index )
nsITreeView PRBool isSorted ( )
nsIRDFObserver void onAssert ( nsIRDFDataSource dataSource , nsIRDFResource source , nsIRDFResource property , nsIRDFNode target )
nsIRDFObserver void onBeginUpdateBatch ( nsIRDFDataSource dataSource )
nsIRDFObserver void onChange ( nsIRDFDataSource dataSource , nsIRDFResource source , nsIRDFResource property , nsIRDFNode oldTarget , nsIRDFNode newTarget )
nsIXULTreeBuilderObserver void onCycleCell ( PRInt32 row , PRUnichar* colID )
nsIXULTreeBuilderObserver void onCycleHeader ( PRUnichar* colID , nsIDOMElement elt )
nsIXULTreeBuilderObserver void onDrop ( PRInt32 row , PRInt32 orientation )
nsIRDFObserver void onEndUpdateBatch ( nsIRDFDataSource dataSource )
nsIRDFObserver void onMove ( nsIRDFDataSource dataSource , nsIRDFResource oldSource , nsIRDFResource newSource , nsIRDFResource property , nsIRDFNode target )
nsIXULTreeBuilderObserver void onPerformAction ( PRUnichar* action )
nsIXULTreeBuilderObserver void onPerformActionOnCell ( PRUnichar* action , PRInt32 row , PRUnichar* colID )
nsIXULTreeBuilderObserver void onPerformActionOnRow ( PRUnichar* action , PRInt32 row )
nsIXULTreeBuilderObserver void onSelectionChanged ( )
nsIXULTreeBuilderObserver void onToggleOpenState ( PRInt32 index )
nsIRDFObserver void onUnassert ( nsIRDFDataSource dataSource , nsIRDFResource source , nsIRDFResource property , nsIRDFNode target )
nsITreeView void performAction ( PRUnichar* action )
nsITreeView void performActionOnCell ( PRUnichar* action , PRInt32 row , nsITreeColumn col )
nsITreeView void performActionOnRow ( PRUnichar* action , PRInt32 row )
nsIXULTemplateBuilder void rebuild ( )
nsIXULTemplateBuilder void refresh ( )
nsIXULTemplateBuilder void removeListener ( nsIXULBuilderListener listener )
nsITreeView void selectionChanged ( )
nsITreeView void setCellText ( PRInt32 row , nsITreeColumn col , AString value )
nsITreeView void setCellValue ( PRInt32 row , nsITreeColumn col , AString value )
nsITreeView void setTree ( nsITreeBoxObject tree )
nsITreeView void toggleOpenState ( PRInt32 index )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com