|
fop 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.apache.fop.render.awt.viewer.PageChangeEvent
Swing event fired whenever the current page selection of a
PreviewPanel
changes. Page numbers are 0-based.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
PageChangeEvent(PreviewPanel panel,
int oldPage,
int newPage)
Creates an new page change event. |
Method Summary | |
int |
getNewPage()
Returns the new page. |
int |
getOldPage()
Returns the old page. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PageChangeEvent(PreviewPanel panel, int oldPage, int newPage)
panel
- the preview panel the event is produced for.oldPage
- the old page (zero based)newPage
- the new page (zero based)Method Detail |
public int getNewPage()
public int getOldPage()
|
fop 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |