nsISupports
Last changed in Gecko 11.0 (Firefox 11.0 / Thunderbird 11.0 / SeaMonkey 2.8)nsINavHistoryResultViewer interface, which only allowed one client at a time.void batching(in boolean aToggleMode); |
void containerClosed(in nsINavHistoryContainerResultNode aContainerNode); Deprecated since Gecko 2.0 Obsolete since Gecko 11.0 |
void containerOpened(in nsINavHistoryContainerResultNode aContainerNode); Deprecated since Gecko 2.0 Obsolete since Gecko 11.0 |
void containerStateChanged(in nsINavHistoryContainerResultNode aContainerNode, in unsigned long aOldState, in unsigned long aNewState); |
void invalidateContainer(in nsINavHistoryContainerResultNode aContainerNode); |
void nodeAnnotationChanged(in nsINavHistoryResultNode aNode, in AUTF8String aAnnoName); |
void nodeDateAddedChanged(in nsINavHistoryResultNode aNode, in PRTime aNewValue); |
void nodeHistoryDetailsChanged(in nsINavHistoryResultNode aNode, in PRTime aNewVisitDate, in unsigned long aNewAccessCount); |
void nodeIconChanged(in nsINavHistoryResultNode aNode); |
void nodeInserted(in nsINavHistoryContainerResultNode aParent, in nsINavHistoryResultNode aNode, in unsigned long aNewIndex); |
void nodeKeywordChanged(in nsINavHistoryResultNode aNode, in AUTF8String aNewKeyword); |
void nodeLastModifiedChanged(in nsINavHistoryResultNode aNode, in PRTime aNewValue); |
void nodeMoved(in nsINavHistoryResultNode aNode, in nsINavHistoryContainerResultNode aOldParent, in unsigned long aOldIndex, in nsINavHistoryContainerResultNode aNewParent, in unsigned long aNewIndex); |
void nodeRemoved(in nsINavHistoryContainerResultNode aParent, in nsINavHistoryResultNode aItem, in unsigned long aOldIndex); |
void nodeReplaced(in nsINavHistoryContainerResultNode aParentNode, in nsINavHistoryResultNode aOldNode, in nsINavHistoryResultNode aNewNode, in unsigned long aIndex); |
void nodeTagsChanged(in nsINavHistoryResultNode aNode); |
void nodeTitleChanged(in nsINavHistoryResultNode aNode, in AUTF8String aNewTitle); |
void nodeURIChanged(in nsINavHistoryResultNode aNode, in AUTF8String aNewURI); |
void sortingChanged(in unsigned short sortingMode); |
| Attribute | Type | Description |
result | nsINavHistoryResult | The nsINavHistoryResult this observer monitors. Although this attribute is read-write, you should not alter it directly; instead, call nsINavHistoryResult.addObserver() to add an observer to a result. |
Lets the observer know when a batch operation in Places is about to start or end. The observer can then pause updates or events until the batch is completed, so that it won't handle the large number of updates that are about to be notified. This is especially useful when updating user interfaces, to avoid flicker or continuous selection changes, which may result in performance degradation (for example, if updating a view for each update).
void batching( in boolean aToggleMode );
aToggleModetrue to start batch mode or false to finish the batch.Called when a container node's state changes from opened to closed.
containerStateChanged() method instead.void containerClosed( in nsINavHistoryContainerResultNode aContainerNode );
aContainerNodeCalled when a container node's state changes from closed to opened.
containerStateChanged() method instead.void containerOpened( in nsINavHistoryContainerResultNode aContainerNode );
aContainerNodeCalled when a container node's state changes.
void containerStateChanged( in nsINavHistoryContainerResultNode aContainerNode, in unsigned long aOldState, in unsigned long aNewState );
aContainerNodeaOldStatensINavHistoryContainerResultNode.State constants.aNewStatensINavHistoryContainerResultNode.State constants.Called when something has happened that requires that the contents of a container be rebuilt.
void invalidateContainer( in nsINavHistoryContainerResultNode aContainerNode );
aContainerNodeCalled right after the annotation on a node has changed. This is called when the annotation is changed, set, or unset.
void nodeAnnotationChanged( in nsINavHistoryResultNode aNode, in AUTF8String aAnnoName );
aNodeaAnnoNameCalled right after the dateAdded property property of a node has changed.
void nodeDateAddedChanged( in nsINavHistoryResultNode aNode, in PRTime aNewValue );
aNodeaNewValueCalled right after a node's time property or accessCount property, or both, have changed.
void nodeHistoryDetailsChanged( in nsINavHistoryResultNode aNode, in PRTime aNewVisitDate, in unsigned long aNewAccessCount );
aNodeaNewVisitDateaNewAccessCountCalled right after a node's icon property has changed.
void nodeIconChanged( in nsINavHistoryResultNode aNode );
aNodeCalled when an item is inserted into a container. The item previously at the specified index (if any) and everything below it is shifted down by one.
void nodeInserted( in nsINavHistoryContainerResultNode aParent, in nsINavHistoryResultNode aNode, in unsigned long aNewIndex );
aParentaNodeaNewIndexCalled right after the a node's keyword property has changed.
void nodeKeywordChanged( in nsINavHistoryResultNode aNode, in AUTF8String aNewKeyword );
aNodeaNewKeywordCalled right after a node's dateModified property has changed.
void nodeLastModifiedChanged( in nsINavHistoryResultNode aNode, in PRTime aNewValue );
aNodeaNewValueCalled when a node is moved from aOldParent at aOldIndex to aNewParent at aNewIndex. The item may be a container or a leaf.
At the moment, this method is called only when an item is moved within the same container. When an item is moved between containers, a new node is created for the item, and the itemRemoved/itemAdded methods are used.
void nodeMoved( in nsINavHistoryResultNode aNode, in nsINavHistoryContainerResultNode aOldParent, in unsigned long aOldIndex, in nsINavHistoryContainerResultNode aNewParent, in unsigned long aNewIndex );
aNodeaOldParentaOldIndexaNewParentaNewIndexCalled when a item is removed from a container. The item may be a container or a leaf.
This method is called after the item has been removed from the parent, but before any other action is taken (including zeroing out the item's parent reference).
void nodeRemoved( in nsINavHistoryContainerResultNode aParent, in nsINavHistoryResultNode aItem, in unsigned long aOldIndex );
aParentaItemaOldIndexCalled when a node is being replaced with another node at the same location.
void nodeReplaced( in nsINavHistoryContainerResultNode aParentNode, in nsINavHistoryResultNode aOldNode, in nsINavHistoryResultNode aNewNode, in unsigned long aIndex );
aParentNodeaOldNodeaNewNodeaOldNode.aIndexCalled right after a node's tags have changed.
void nodeTagsChanged( in nsINavHistoryResultNode aNode );
aNodeCalled right after a node's title has changed.
void nodeTitleChanged( in nsINavHistoryResultNode aNode, in AUTF8String aNewTitle );
aNodeaNewTitleCalled right after the URI of a node has changed.
void nodeURIChanged( in nsINavHistoryResultNode aNode, in AUTF8String aNewURI );
aNodeaNewURIThis is called to indicate to the UI that the sort has changed to the given mode. For trees, for example, this would update the column headers to reflect the sorting. For many other types of views, this will not be applicable.
void sortingChanged( in unsigned short sortingMode );
sortingModensINavHistoryQueryOptions.Sorting methods, indicating the new sorting mode.