net.sourceforge.nite.gui.actions
Class RightMouseListener

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by net.sourceforge.nite.gui.actions.RightMouseListener
All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener

public class RightMouseListener
extends java.awt.event.MouseAdapter

This is used to trigger actions which are caused by right mouse clicks. Note that in Windows and Motif, you can tell whether it is a right hand click by querying the popuptrigger mehtod. MacOS users should just specify another key binding to get round this

Author:
Judy Robertson

Constructor Summary
RightMouseListener(NiteAction a)
           
 
Method Summary
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RightMouseListener

public RightMouseListener(NiteAction a)
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class java.awt.event.MouseAdapter

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener
Overrides:
mouseReleased in class java.awt.event.MouseAdapter