org.browsecode.helpers.popupmenutools
Class PopupMenuShower
java.lang.Object
org.browsecode.helpers.popupmenutools.PopupMenuShower
- All Implemented Interfaces:
- java.awt.event.MouseListener, java.util.EventListener
public class PopupMenuShower
- extends java.lang.Object
- implements java.awt.event.MouseListener
Constructor Summary |
PopupMenuShower(javax.swing.JPopupMenu jmenu,
java.awt.Component componentToPopUpOn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PopupMenuShower
public PopupMenuShower(javax.swing.JPopupMenu jmenu,
java.awt.Component componentToPopUpOn)
doShowPopup
public void doShowPopup(java.awt.Component c,
int x,
int y)
checkForPopup
public void checkForPopup(java.awt.event.MouseEvent e)
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interface java.awt.event.MouseListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interface java.awt.event.MouseListener
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered
in interface java.awt.event.MouseListener