public class CListKeySearchListener
extends java.lang.Object
implements java.awt.event.KeyListener
Constructor and Description |
---|
CListKeySearchListener(javax.swing.JList contactList)
Creates an instance of CListKeySearchListener for the given
ContactList.
|
Modifier and Type | Method and Description |
---|---|
void |
closeGroup()
Closes a group when it's opened.
|
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e)
Searches the contact list when any key, different from "space", "+" or
"-" is typed.
|
void |
openGroup()
Opens a group when it's closed.
|
void |
openOrCloseGroup()
Opens or closes a group depending the state.
|
public CListKeySearchListener(javax.swing.JList contactList)
contactList
- The contact list.public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void closeGroup()
public void openGroup()
public void openOrCloseGroup()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.