eTextReader
Class ContentPane.PopupMouseHandler
java.lang.Object
javax.swing.event.MouseInputAdapter
eTextReader.ContentPane.PopupMouseHandler
- All Implemented Interfaces:
- java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, javax.swing.event.MouseInputListener
- Enclosing class:
- ContentPane
class ContentPane.PopupMouseHandler
- extends javax.swing.event.MouseInputAdapter
Keeps track of the current mouse pointer location.
Methods inherited from class javax.swing.event.MouseInputAdapter |
mouseDragged, mouseEntered, mouseExited, mouseReleased |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jpm
protected javax.swing.JPopupMenu jpm
notationListingMenu
protected javax.swing.JMenu notationListingMenu
deleteAction
javax.swing.Action deleteAction
currentTypeListingAction
javax.swing.Action currentTypeListingAction
currentAuthorListingAction
javax.swing.Action currentAuthorListingAction
ContentPane.PopupMouseHandler
public ContentPane.PopupMouseHandler()
setupMenuInAnnotation
protected void setupMenuInAnnotation()
- Sets up the popup menu when the mouse is over an annotation
- Parameters:
men
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent me)
- Specified by:
mouseMoved
in interface java.awt.event.MouseMotionListener
- Overrides:
mouseMoved
in class javax.swing.event.MouseInputAdapter
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent me)
- Specified by:
mouseClicked
in interface java.awt.event.MouseListener
- Overrides:
mouseClicked
in class javax.swing.event.MouseInputAdapter
setupNotationListingMenuCommon
private void setupNotationListingMenuCommon()
- Configures the Notation listing menu with items that are present
regardless of the location of the cursor
mousePressed
public void mousePressed(java.awt.event.MouseEvent me)
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
- Overrides:
mousePressed
in class javax.swing.event.MouseInputAdapter