nsIAnnotationObserver
| IID: | 63fe98e0-6889-4c2c-ac9f-703e4bc25027 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Methods
void onItemAnnotationRemoved ( PRInt64 itemId , AUTF8String name )
void onItemAnnotationSet ( PRInt64 itemId , AUTF8String name )
void onPageAnnotationRemoved ( nsIURI URI , AUTF8String name )
void onPageAnnotationSet ( nsIURI page , AUTF8String name )
void onPageAnnotationRemoved ( nsIURI URI , AUTF8String name )
Called when an annotation is deleted. If name is empty, then ALL annotations for the given URI have been deleted. This is not called when annotations are expired (normally happens when the app exits).
- Arguments:
- URI
- name
void onPageAnnotationSet ( nsIURI page , AUTF8String name )
Called when an annotation value is set. It could be a new annotation, or it could be a new value for an existing annotation.
- Arguments:
- page
- name
References
This interface is passed as an argument to the following methods:
nsIAnnotationService.addObserver, nsIAnnotationService.removeObserver
Reference documentation is generated from Mozilla's source.
