Package ca.phon.ui.text
Class TextCompleter
java.lang.Object
ca.phon.ui.text.TextCompleter
- All Implemented Interfaces:
FocusListener
,KeyListener
,EventListener
,DocumentListener
,ListSelectionListener
public class TextCompleter
extends Object
implements DocumentListener, FocusListener, KeyListener, ListSelectionListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
void
void
getModel()
getPopup()
protected void
void
void
install
(JTextComponent textComponent) boolean
void
void
void
void
void
setModel
(TextCompleterModel<?> model) void
setUseDataForCompletion
(boolean useDataForCompletion) protected void
void
void
-
Constructor Details
-
TextCompleter
public TextCompleter() -
TextCompleter
-
-
Method Details
-
getModel
-
setModel
-
isUseDataForCompletion
public boolean isUseDataForCompletion() -
setUseDataForCompletion
public void setUseDataForCompletion(boolean useDataForCompletion) -
install
-
uninstall
public void uninstall() -
insertUpdate
- Specified by:
insertUpdate
in interfaceDocumentListener
-
removeUpdate
- Specified by:
removeUpdate
in interfaceDocumentListener
-
changedUpdate
- Specified by:
changedUpdate
in interfaceDocumentListener
-
getPopup
-
getCompletions
-
getCompletionLiist
-
getTextComponent
-
buildPopup
protected void buildPopup() -
showPopup
protected void showPopup() -
hidePopup
protected void hidePopup() -
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-
keyTyped
- Specified by:
keyTyped
in interfaceKeyListener
-
keyPressed
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
- Specified by:
keyReleased
in interfaceKeyListener
-
valueChanged
- Specified by:
valueChanged
in interfaceListSelectionListener
-