public class PageWrapper extends Object implements MouseMotionListener
Constructor and Description |
---|
PageWrapper(PDFReader aReader)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
displayPage(PDPage page)
This will display the PDF page in this component.
|
JPanel |
getPanel()
This will get the JPanel that can be displayed.
|
void |
mouseDragged(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
public PageWrapper(PDFReader aReader) throws IOException
aReader
- The reader application that holds this page.IOException
- If there is an error creating the page drawing objects.public void displayPage(PDPage page)
page
- The PDF page to display.public JPanel getPanel()
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.