Class PagePane
java.lang.Object
org.apache.pdfbox.debugger.pagepane.PagePane
- All Implemented Interfaces:
ActionListener,MouseListener,MouseMotionListener,EventListener,AncestorListener
public class PagePane
extends Object
implements ActionListener, AncestorListener, MouseMotionListener, MouseListener
Display the page number and a page rendering.
- Author:
- Tilman Hausherr, John Hewson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent actionEvent) voidancestorAdded(AncestorEvent ancestorEvent) voidancestorMoved(AncestorEvent ancestorEvent) voidancestorRemoved(AncestorEvent ancestorEvent) getPanel()Returns the main panel that hold all the UI elements.voidvoidvoidvoidvoidCatch mouse event to display cursor position in PDF coordinates in the status bar.voidvoid
-
Constructor Details
-
PagePane
public PagePane(org.apache.pdfbox.pdmodel.PDDocument document, org.apache.pdfbox.cos.COSDictionary pageDict, JLabel statuslabel)
-
-
Method Details
-
getPanel
Returns the main panel that hold all the UI elements.- Returns:
- JPanel instance
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
ancestorAdded
- Specified by:
ancestorAddedin interfaceAncestorListener
-
ancestorRemoved
- Specified by:
ancestorRemovedin interfaceAncestorListener
-
ancestorMoved
- Specified by:
ancestorMovedin interfaceAncestorListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
Catch mouse event to display cursor position in PDF coordinates in the status bar.- Specified by:
mouseMovedin interfaceMouseMotionListener- Parameters:
e- mouse event with position
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-