import "nsINavHistoryService.idl";
Inherited by nsINavHistoryResultTreeViewer.

Definition at line 433 of file nsINavHistoryService.idl.
| void nsINavHistoryResultViewer::containerClosed | ( | in nsINavHistoryContainerResultNode | item | ) |
Called after a container node went from opened to closed. This will be called for the topmost container that is closing, and implies that any child containers have closed as well.
| void nsINavHistoryResultViewer::containerOpened | ( | in nsINavHistoryContainerResultNode | item | ) |
Called after a container node went from closed to opened.
| void nsINavHistoryResultViewer::invalidateAll | ( | ) |
Called when something significant is changing that requires everything to be recomputed. For example, changing sorting can affect every row.
| void nsINavHistoryResultViewer::invalidateContainer | ( | in nsINavHistoryContainerResultNode | item | ) |
Called when something significant has happened within the container. The contents of the container should be re-built.
| void nsINavHistoryResultViewer::itemChanged | ( | in nsINavHistoryResultNode | item | ) |
Called when an item has been changed and should be repainted. This only refers to the specific item. If it is a container, getting this message does not imply anything happened to the children. You'll get separate messages for those. Also, this may be called for container nodes at times when the result thinks it's possible that a twisty mey need to bw redrawn.
| void nsINavHistoryResultViewer::itemInserted | ( | in nsINavHistoryContainerResultNode | aParent, | |
| in nsINavHistoryResultNode | aItem, | |||
| in unsigned long | aNewIndex | |||
| ) |
Called when 'aItem' is inserted into 'aParent' at index 'aNewIndex'. The item previously at index (if any) and everything below it will have been shifted down by one. The item may be a container or a leaf.
| void nsINavHistoryResultViewer::itemMoved | ( | in nsINavHistoryResultNode | aItem, | |
| in nsINavHistoryContainerResultNode | aOldParent, | |||
| in unsigned long | aOldIndex, | |||
| in nsINavHistoryContainerResultNode | aNewParent, | |||
| in unsigned long | aNewIndex | |||
| ) |
Called whan 'aItem' is moved from 'aOldParent' at 'aOldIndex' to aNewParent at aNewIndex. The item may be a container or a leaf.
XXX: 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 nsINavHistoryResultViewer::itemRemoved | ( | in nsINavHistoryContainerResultNode | aParent, | |
| in nsINavHistoryResultNode | aItem, | |||
| in unsigned long | aOldIndex | |||
| ) |
Called whan 'aItem' is removed from 'aParent' at 'aOldIndex'. The item may be a container or a leaf. This function will be called after the item has been removed from its parent list, but before anything else (including NULLing out the item's parent) has happened.
| void nsINavHistoryResultViewer::itemReplaced | ( | in nsINavHistoryContainerResultNode | parent, | |
| in nsINavHistoryResultNode | oldItem, | |||
| in nsINavHistoryResultNode | newItem, | |||
| in unsigned long | index | |||
| ) |
Called when an item is being replaced with another item at the exact same position.
| void nsINavHistoryResultViewer::sortingChanged | ( | in unsigned short | sortingMode | ) |
This 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 won't be applicable.
| sortingMode | One of nsINavHistoryQueryOptions.SORT_BY_* that indicates the new sorting mode. |
Called by the result when this object is set using nsINavHistoryResult.viewer. This will be set to NULL when the result is being deallocated. This should not be set by other code.
Definition at line 530 of file nsINavHistoryService.idl.
1.5.8