com.valhalla.jbother.groupchat
Class GroupChatNickList.DoubleClickListener
java.lang.Object
java.awt.event.MouseAdapter
com.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
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 |
GroupChatNickList.DoubleClickListener
GroupChatNickList.DoubleClickListener()
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