com.valhalla.jbother
Class ConversationPanel.RightClickListener

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

Constructor Summary
ConversationPanel.RightClickListener(javax.swing.JPopupMenu menu)
          Constructor for the RightClickListener object
 
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
 

Constructor Detail

ConversationPanel.RightClickListener

public ConversationPanel.RightClickListener(javax.swing.JPopupMenu menu)
Constructor for the RightClickListener object

Parameters:
menu - the menu
Method Detail

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