public abstract class AutoCompletionListener extends KeyAdapter
| Constructor and Description |
|---|
AutoCompletionListener() |
AutoCompletionListener(JComboBox combo)
Create a new AutocompletionListener and attach it to combo
|
| Modifier and Type | Method and Description |
|---|---|
JComboBox |
getCombo() |
protected abstract List<?> |
getList(String editing) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
void |
listenOn(JComboBox combo)
Add the AutoCompletionListener to a JComboBox
|
void |
setCombo(JComboBox combo) |
keyPressedpublic AutoCompletionListener()
public AutoCompletionListener(JComboBox combo)
combo - combobox to add the auto completion listenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerkeyReleased in class KeyAdapterpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerkeyTyped in class KeyAdapterpublic void listenOn(JComboBox combo)
combo - the combo to add on.protected abstract List<?> getList(String editing)
editing - Stringpublic JComboBox getCombo()
public void setCombo(JComboBox combo)
Copyright © 2014 JDAL. All Rights Reserved.