public class PagePane extends Object implements ActionListener, AncestorListener, MouseMotionListener, MouseListener
Constructor and Description |
---|
PagePane(PDDocument document,
COSDictionary pageDict,
JLabel statuslabel) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent actionEvent) |
void |
ancestorAdded(AncestorEvent ancestorEvent) |
void |
ancestorMoved(AncestorEvent ancestorEvent) |
void |
ancestorRemoved(AncestorEvent ancestorEvent) |
Component |
getPanel()
Returns the main panel that hold all the UI elements.
|
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e)
Catch mouse event to display cursor position in PDF coordinates in the status bar.
|
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
public PagePane(PDDocument document, COSDictionary pageDict, JLabel statuslabel)
public Component getPanel()
public void actionPerformed(ActionEvent actionEvent)
actionPerformed
in interface ActionListener
public void ancestorAdded(AncestorEvent ancestorEvent)
ancestorAdded
in interface AncestorListener
public void ancestorRemoved(AncestorEvent ancestorEvent)
ancestorRemoved
in interface AncestorListener
public void ancestorMoved(AncestorEvent ancestorEvent)
ancestorMoved
in interface AncestorListener
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
e
- mouse event with positionpublic void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.