|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faceless.pdf2.viewer2.PagePanelEvent
public class PagePanelEvent
Represents an event on a PagePanel indicating that document has changed
somehow. To capture these events, implement the PagePanelListener interface
and register via the PagePanel.addPagePanelListener() or
DocumentViewport.addPagePanelListener() methods.
Be sure to check the getType() method to see what sort of event it is - current values
include:
| redrawing | Raised just before the page starts redrawing |
|---|---|
| redrawn | Raised when the page has completed redrawing |
| visible | Raised when the page is no longer displayed by the PagePanel |
| hidden | Raised when the page is newly displayed by the PagePanel |
This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.
| Method Summary | |
|---|---|
PDFPage |
getPage()
Get the Page this event refers to |
PagePanel |
getPagePanel()
Get the PagePanel this event refers to |
String |
getType()
Get the type of event |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String toString()
toString in class Objectpublic PagePanel getPagePanel()
public String getType()
public PDFPage getPage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||