WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIMicrosummaryObserver

IID:560b0980-be95-47e9-81cc-4428c073127c
Inherits From:nsISupports

Methods

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

void onContentLoaded ( 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?

Arguments:
microsummary: the microsummary whose content has just been updated

void onElementAppended ( nsIMicrosummary microsummary )

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

Arguments:
microsummary: the microsummary that has just been appended to the set

void onError ( nsIMicrosummary microsummary )

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

Arguments:
microsummary: the microsumary which could not be updated

References

This interface is passed as an argument to the following methods:

nsIMicrosummary.addObserver, nsIMicrosummary.removeObserver, nsIMicrosummarySet.addObserver, nsIMicrosummarySet.removeObserver

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com