com.foxit.uiextensions.annots.AnnotEventListener Interface Reference

Public Member Functions

void onAnnotAdded (PDFPage page, Annot annot)
 
void onAnnotChanged (Annot lastAnnot, Annot currentAnnot)
 
void onAnnotDeleted (PDFPage page, Annot annot)
 
void onAnnotModified (PDFPage page, Annot annot)
 
void onAnnotWillDelete (PDFPage page, Annot annot)
 

Detailed Description

interface definition for a callback to be invoked when edit or change annotation.

Member Function Documentation

◆ onAnnotAdded()

void com.foxit.uiextensions.annots.AnnotEventListener.onAnnotAdded ( PDFPage  page,
Annot  annot 
)

Called when a annotation has added in a page

Parameters
pageThe PDFPage which add a annotation.
annotThe specified annotation has added.

◆ onAnnotChanged()

void com.foxit.uiextensions.annots.AnnotEventListener.onAnnotChanged ( Annot  lastAnnot,
Annot  currentAnnot 
)

Called when the current annotation has changed.

Parameters
lastAnnotthe previous annotation.
currentAnnotthe current annotation.

◆ onAnnotDeleted()

void com.foxit.uiextensions.annots.AnnotEventListener.onAnnotDeleted ( PDFPage  page,
Annot  annot 
)

Called when a annotation has deleted.

Parameters
pageThe PDFPage which delete a annotation.
annotThe specified annotation has deleted.

◆ onAnnotModified()

void com.foxit.uiextensions.annots.AnnotEventListener.onAnnotModified ( PDFPage  page,
Annot  annot 
)

Called when a annotation has modified.

Parameters
pageThe PDFPage which modify a annotation.
annotThe specified annotation has modified.

◆ onAnnotWillDelete()

void com.foxit.uiextensions.annots.AnnotEventListener.onAnnotWillDelete ( PDFPage  page,
Annot  annot 
)

Called when a annotation will be deleted.

Parameters
pageThe PDFPage which delete a annotation.
annotThe specified annotation will be deleted.