com.valhalla.jbother
Class ConversationPanel.RightClickListener
java.lang.Object
java.awt.event.MouseAdapter
com.valhalla.jbother.ConversationPanel.RightClickListener
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.MouseListener
- Enclosing class:
- ConversationPanel
- class ConversationPanel.RightClickListener
- extends java.awt.event.MouseAdapter
Listens for a right click - and displays a menu if it's caught
- Version:
- 1.0
- Author:
- Adam Olsen
Method Summary |
void |
checkPop(java.awt.event.MouseEvent e)
|
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
Description of the Method |
void |
mouseReleased(java.awt.event.MouseEvent e)
|
Methods inherited from class java.awt.event.MouseAdapter |
mouseEntered, mouseExited |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConversationPanel.RightClickListener
public ConversationPanel.RightClickListener(javax.swing.JPopupMenu menu)
- Constructor for the RightClickListener object
- Parameters:
menu
- the menu
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Description of the Method
- Parameters:
e
- the event
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Parameters:
e
- the mouse event
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Parameters:
e
- the mouse event
checkPop
public void checkPop(java.awt.event.MouseEvent e)
- Parameters:
e
- the mouse event