com.valhalla.jbother.groupchat
Class GroupChatNickList.DoubleClickListener

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended bycom.valhalla.jbother.groupchat.GroupChatNickList.DoubleClickListener
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener
Enclosing class:
GroupChatNickList

class GroupChatNickList.DoubleClickListener
extends java.awt.event.MouseAdapter

Listens for mouse events in the JList

Version:
1.0
Author:
Adam Olsen

Nested Class Summary
(package private)  class GroupChatNickList.DoubleClickListener.TimerHandler
          The time is up, the double click is off
 
Constructor Summary
(package private) GroupChatNickList.DoubleClickListener()
           
 
Method Summary
 void checkPop(java.awt.event.MouseEvent e)
          Shows the popup menu
 void mouseClicked(java.awt.event.MouseEvent e)
          Called when a click is recieved We have to hack this with a timer, we cannot use the regular method for double click detection, so we use a timer.
 void mousePressed(java.awt.event.MouseEvent e)
           
 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

GroupChatNickList.DoubleClickListener

GroupChatNickList.DoubleClickListener()
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Called when a click is recieved We have to hack this with a timer, we cannot use the regular method for double click detection, so we use a timer. If we do not, we will have text box focus problems. The text input box should _always_ have focus, so this is a way to ensure that.


checkPop

public void checkPop(java.awt.event.MouseEvent e)
Shows the popup menu