|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.pdfviewer.PageWrapper
A class to handle some prettyness around a single PDF page.
Constructor Summary | |
PageWrapper(PDFReader aReader)
Constructor. |
Method Summary | |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
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.Method Detail |
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |