447448449450451452453454455456457
TextInput textInput = suggestionPopup.getTextInput(); textInput.getComponentStateListeners().remove(textInputStateListener); textInput.getComponentKeyListeners().remove(textInputKeyListener); if (returnFocusToTextInput) { textInput.requestFocus(); } listViewBorder.setEnabled(true); closeTransition = null; }
992993994995996997998999100010011002
} } // Set focus to the text input textInput.requestFocus(); } return consumed; }
351352353354355356357358359360361
TextInput textInput = suggestionPopup.getTextInput(); textInput.getComponentStateListeners().remove(textInputStateListener); textInput.getComponentKeyListeners().remove(textInputKeyListener); textInput.requestFocus(); suggestionListViewBorder.setEnabled(true); closeTransition = null; } }
10041005100610071008100910101011101210131014
int index = getInsertionIndex(text, x); textInput.setSelection(index, 0); } // Set focus to the text input textInput.requestFocus(); } return super.mouseDown(component, button, x, y); }