@mozilla.org/inspector/dom-view;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

Properties

nsIDOMNode inIDOMView.rootNode

readonly PRInt32 nsITreeView.rowCount

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

nsITreeSelection nsITreeView.selection

The selection for this view.

PRBool inIDOMView.showAnonymousContent

PRBool inIDOMView.showSubDocuments

PRBool inIDOMView.showWhitespaceNodes

PRUint32 inIDOMView.whatToShow

Methods

InterfaceMethod
nsITreeView PRBool canDrop ( PRInt32 index , PRInt32 orientation )
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 )
inIDOMView nsIDOMNode getNodeFromRowIndex ( PRInt32 rowIndex )
nsITreeView PRInt32 getParentIndex ( PRInt32 rowIndex )
nsITreeView PRInt32 getProgressMode ( PRInt32 row , nsITreeColumn col )
inIDOMView PRInt32 getRowIndexFromNode ( nsIDOMNode node )
nsITreeView void getRowProperties ( PRInt32 index , nsISupportsArray properties )
nsITreeView PRBool hasNextSibling ( PRInt32 rowIndex , PRInt32 afterIndex )
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 ( )
nsITreeView void performAction ( PRUnichar* action )
nsITreeView void performActionOnCell ( PRUnichar* action , PRInt32 row , nsITreeColumn col )
nsITreeView void performActionOnRow ( PRUnichar* action , PRInt32 row )
inIDOMView void rebuild ( )
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