Search completed in 1.15 seconds.
nsIAnnotationObserver
1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 1.9 (firefox 3) method overview void onitemannotati
onremoved(in long long aitemid, in autf8string aname); void onitemannotationset(in long long aitemid, in autf8string aname); void onpageannotati
onremoved(in nsiuri auri, in autf8string aname); void onpageannotationset(in nsiuri apage, in autf8string aname); methods onitemannotati
onremoved() this method is called when an annotation is deleted for an item.
...void onitemannotati
onremoved( in long long aitemid, in autf8string aname ); parameters aitemid the item whose annotation is to be deleted.
... onpageannotati
onremoved() called when an annotation is deleted for a uri.
...void onpageannotati
onremoved( in nsiuri auri, in autf8string aname ); parameters auri the uri whose annotation is to be deleted.
Using the Places annotation service
the objects must implement four methods, which are called when an annotation is set/removed on a uri or item respectively: onpageannotationset(auri, aname); onitemannotationset(aitemid, aname); onpageannotati
onremoved(auri, aname); onitemannotati
onremoved(aitemid, aname); var observer = { onpageannotationset : function(auri, aname) { }, onitemannotationset : function(aitemid, aname) { }, onpageannotati
onremoved : function(auri, aname) { }, onitemannotati
onremoved: function(aitemid, aname) { } } annotationservice.addobserver(observer); } ...