|
Gnostice PDFOne
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines run-time events for loading and closing a
document. User class can implement this interface to get notified
after a new PDF document is loaded and before a loaded PDF document
is closed. In the event handler methods, user classes will be able
do some processing on the newly loaded document. For example, a
PDF viewer application will be able to display the title of the
newly loaded document in the title bar by implementing the
onLoad()
event. Similarly, just before a document is
closed, the user application will be able to remove
any information related to the document on the end-user
application interface.
Method Summary | |
void |
onClose()
Called before a loaded PDF document is closed. |
void |
onLoad()
Called after a PDF document is loaded. |
Method Detail |
public void onLoad() throws PdfException, IOException
PdfException
- if an illegal argument is supplied.
IOException
- if an I/O error occurs.public void onClose() throws PdfException, IOException
PdfException
- if an illegal argument is supplied.
IOException
- if an I/O error occurs.
|
Pro. Ed. v5.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |