nsIMicrosummaryObserver Interface Reference

import"nsIMicrosummaryService.idl";

Inheritance diagram for nsIMicrosummaryObserver:
[legend]
Collaboration diagram for nsIMicrosummaryObserver:
[legend]

Public Member Functions

void onContentLoaded (in nsIMicrosummary microsummary)
 
void onError (in nsIMicrosummary microsummary)
 
void onElementAppended (in nsIMicrosummary microsummary)
 

Detailed Description

Definition at line 11 of file nsIMicrosummaryService.idl.

Member Function Documentation

void nsIMicrosummaryObserver::onContentLoaded ( in nsIMicrosummary  microsummary)

Called when an observed microsummary updates its content. Since an observer might watch multiple microsummaries at the same time, the microsummary whose content has been updated gets passed to this handler. XXX Should this be onContentUpdated?

Parameters
microsummarythe microsummary whose content has just been updated
void nsIMicrosummaryObserver::onElementAppended ( in nsIMicrosummary  microsummary)

Called when an element is appended to a microsummary set. XXX Should this be in a separate nsICollectionObserver interface?

Parameters
microsummarythe microsummary that has just been appended to the set
void nsIMicrosummaryObserver::onError ( in nsIMicrosummary  microsummary)

Called when an observed microsummary encounters an error during an update.

Parameters
microsummarythe microsummary which could not be updated

The documentation for this interface was generated from the following file: