nsINavHistoryResultTreeViewer
| IID: | e0ce87df-8b77-407b-a52b-7510eab14fb5 |
| Inherits From: | nsINavHistoryResultViewer |
Constants
Properties
PRBool collapseDuplicates
Controls whether duplicate adjacent elements are collapsed into a single item in the tree. This prevents you from seeing multiple entries for things when you have selected to get visits. When you sort by date, the multiple entries will then appear because they will be separated (unless you clicked reload a bunch of times in a row). If you know you'll only ever want one entry per site, you should ask for URIs back instead of visits so it will be more efficient. Default = true
Changing this value is somewhat heavyweight since it will force a tree refresh.
Methods
nsINavHistoryResultNode nodeForTreeIndex ( PRUint32 index )
PRUint32 treeIndexForNode ( nsINavHistoryResultNode node )
nsINavHistoryResultNode nodeForTreeIndex ( PRUint32 index )
This allows you to get at the real node for a given row index. This is only valid when a tree is attached.
- Arguments:
- index
PRUint32 treeIndexForNode ( nsINavHistoryResultNode node )
- Arguments:
- node
Reference documentation is generated from Mozilla's source.
