org.freehep.swing.popup
Class PopupListener
java.lang.Object
java.awt.event.MouseAdapter
org.freehep.swing.popup.PopupListener
- All Implemented Interfaces:
- EventListener, MouseListener
- Direct Known Subclasses:
- GlobalPopupListener
- public class PopupListener
- extends MouseAdapter
A simple helper class for popping up popup menus.
This should be added as a mouse listener to the component to which
the popup menu should be associated.
- Author:
- tonyj
- Source Code:
- PopupListener.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PopupListener
public PopupListener(JPopupMenu popup)
mousePressed
public void mousePressed(MouseEvent e)
mouseReleased
public void mouseReleased(MouseEvent e)
maybeShowPopup
protected void maybeShowPopup(MouseEvent e)
Copyright © 2000-2004 FreeHEP, All Rights Reserved.