org.pdfbox.pdfviewer
Class PageWrapper
java.lang.Object
org.pdfbox.pdfviewer.PageWrapper
- MouseMotionListener
public class PageWrapper
extends java.lang.Object
implements MouseMotionListener
A class to handle some prettyness around a single PDF page.
PageWrapper
public PageWrapper(PDFReader aReader)
throws IOException
Constructor.
aReader
- The reader application that holds this page.
displayPage
public void displayPage(PDPage page)
This will display the PDF page in this component.
page
- The PDF page to display.
getPanel
public JPanel getPanel()
This will get the JPanel that can be displayed.
- The panel with the displayed PDF page.
mouseDragged
public void mouseDragged(MouseEvent e)
mouseMoved
public void mouseMoved(MouseEvent e)