de.unidu.is.gui
Class Desktop.PopupListener

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended byde.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

Constructor Summary
Desktop.PopupListener()
           
 
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
 

Constructor Detail

Desktop.PopupListener

public Desktop.PopupListener()
Method Detail

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