public class AutoSuggestor extends Object
Constructor and Description |
---|
AutoSuggestor(JTextField textField,
Window mainWindow,
ArrayList<String> words,
Color popUpBackground,
Color textColor,
Color suggestionFocusedColor,
float opacity) |
Modifier and Type | Method and Description |
---|---|
void |
addToDictionary(String word) |
protected void |
addWordToSuggestions(String word) |
ArrayList<es.imim.DISGENET.search.SuggestionLabel> |
getAddedSuggestionLabels() |
JWindow |
getAutoSuggestionPopUpWindow() |
Window |
getContainer() |
String |
getCurrentlyTypedWord() |
JTextField |
getTextField() |
void |
setDictionary(ArrayList<String> words) |
public ArrayList<es.imim.DISGENET.search.SuggestionLabel> getAddedSuggestionLabels()
protected void addWordToSuggestions(String word)
public String getCurrentlyTypedWord()
public JWindow getAutoSuggestionPopUpWindow()
public Window getContainer()
public JTextField getTextField()
public void addToDictionary(String word)
Copyright © 2024. All rights reserved.