BasicOView Prototype
An implemention of nsITreeView for a tree whose elements have no children.
Syntax
var object = new BasicOView();
Remarks
Code using BasicOView can override getRowProperties, getColumnProperties, getCellProperties, etc., as needed.
Code using BasicOView will need to make the appropriate myTree.tree.invalidate calls when myTree.data changes.
Members
| Member | Summary | 
|---|---|
| canDrop | |
| centerLine | scroll the line specified by line to the center of the tree | 
| cycleCell | |
| cycleHeader | |
| drop | |
| getCellProperties | |
| getCellText | |
| getCellValue | |
| getColumnProperties | |
| getImageSrc | |
| getLevel | |
| getParentIndex | |
| getProgressMode | |
| getRowProperties | |
| hasNextSibling | |
| isContainer | |
| isContainerEmpty | |
| isContainerOpen | |
| isEditable | |
| isSelectable | |
| isSeparator | |
| isSorted | |
| onRouteBlur | |
| onRouteDblClick | |
| onRouteFocus | |
| onRouteKeyPress | |
| performAction | |
| performActionOnCell | |
| performActionOnRow | |
| scrollTo | scroll the source so line is at either the top, center, or bottom of the view, depending on the value of align. | 
| selectionChanged | |
| setCellText | |
| setCellValue | |
| setColumnNames | call this to set the association between column names and data columns | 
| setTree | |
| toggleOpenState | 
See Also
Source Code
function BasicOView()
			{
			    this.tree = null;
			}