de.unidu.is.gui
Class Desktop.PopupListener
java.lang.Object
java.awt.event.MouseAdapter
de.unidu.is.gui.Desktop.PopupListener
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.MouseListener
- Enclosing class:
- Desktop
- public class Desktop.PopupListener
- extends java.awt.event.MouseAdapter
This inner class shall listen for popup triggers on the desktop
pane and open a popup menu accordingly.
- Author:
- Andr? Schaefer
|
Method Summary |
void |
maybeShowPopup(java.awt.event.MouseEvent e)
If the event is a popup trigger, open the in
Desktop.initialize() instantiated popup menu |
void |
mousePressed(java.awt.event.MouseEvent e)
Call maybeShowPopup as a mousedown event may be a
popup trigger. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Call maybeShowPopup as a 'mouse released' event may be a
popup trigger. |
| Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseEntered, mouseExited |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Desktop.PopupListener
public Desktop.PopupListener()
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Call maybeShowPopup as a mousedown event may be a
popup trigger.
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Call maybeShowPopup as a 'mouse released' event may be a
popup trigger.
maybeShowPopup
public void maybeShowPopup(java.awt.event.MouseEvent e)
- If the event is a popup trigger, open the in
Desktop.initialize() instantiated popup menu