net.sourceforge.nite.gui.actions
Class RightMouseListener
java.lang.Object
java.awt.event.MouseAdapter
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
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 |
RightMouseListener
public RightMouseListener(NiteAction a)
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