Esempio n. 1
0
 public void onClick(ClickEvent event) {
   // autoCompleteTextField should not loose focus
   this.textField.setFocus(true, false);
   Cell clickCell = ((HTMLTable) event.getSource()).getCellForEvent(event);
   textField.insertString(clickCell.getElement().getInnerText());
   hide();
 }
Esempio n. 2
0
 /** Ensure the popup toggle button is updated after hiding */
 @Override
 public void hide(boolean autoClosed) {
   super.hide(autoClosed);
   textField.toggleSymbolButton(false);
   AutoCompleteTextFieldW.showSymbolButtonFocused = false;
 }