public class PageChangeEvent extends EventObject
PreviewPanel changes. Page numbers are 0-based.source| Constructor and Description |
|---|
PageChangeEvent(PreviewPanel panel,
int oldPage,
int newPage)
Creates an new page change event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNewPage()
Returns the new page.
|
int |
getOldPage()
Returns the old page.
|
getSource, toStringpublic 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)Copyright © 2023 Apache Software Foundation. All rights reserved.