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 ActionListenerpublic void ancestorAdded(AncestorEvent ancestorEvent)
ancestorAdded in interface AncestorListenerpublic void ancestorRemoved(AncestorEvent ancestorEvent)
ancestorRemoved in interface AncestorListenerpublic void ancestorMoved(AncestorEvent ancestorEvent)
ancestorMoved in interface AncestorListenerpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenere - mouse event with positionpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.