Example usage for Java com.google.gwt.user.client.ui SuggestBox fields, constructors, methods, implement or subclass
The text is from its open source code.
SuggestBox(SuggestOracle oracle) Constructor for SuggestBox . | |
SuggestBox(SuggestOracle oracle, ValueBoxBase Constructor for SuggestBox . | |
SuggestBox(SuggestOracle oracle, ValueBoxBase Constructor for SuggestBox . | |
SuggestBox() Constructor for SuggestBox . |
void | addChangeListener(final ChangeListener listener) Adds a listener to receive change events on the SuggestBox's text box. |
void | addEventHandler(final SuggestionHandler handler) Adds an event to this handler. |
void | addFocusListener(final FocusListener listener) Adds a listener to receive focus events on the SuggestBox's text box. |
HandlerRegistration | addKeyDownHandler(KeyDownHandler handler) |
HandlerRegistration | addKeyPressHandler(KeyPressHandler handler) |
HandlerRegistration | addKeyUpHandler(KeyUpHandler handler) |
HandlerRegistration | addSelectionHandler(SelectionHandler |
HandlerRegistration | addValueChangeHandler(ValueChangeHandler |
SuggestOracle | getSuggestOracle() Gets the suggest box's com.google.gwt.user.client.ui.SuggestOracle . |
String | getText() |
TextBoxBase | getTextBox() Get the text box associated with this suggest box. |
String | getValue() |
ValueBoxBase | getValueBox() Get the ValueBoxBase associated with this suggest box. |
void | hideSuggestionList() Hide current suggestions in the DefaultSuggestionDisplay . |
boolean | isSuggestionListShowing() Check if the DefaultSuggestionDisplay is showing. |
void | setAutoSelectEnabled(boolean selectsFirstItem) Turns on or off the behavior that automatically selects the first suggested item. |
void | setEnabled(boolean enabled) Sets whether this widget is enabled. |
void | setFocus(boolean focused) |
void | setLimit(int limit) Sets the limit to the number of suggestions the oracle should provide. |
void | setTabIndex(int index) |
void | setText(String text) |
void | setValue(String newValue) |
void | setValue(String value, boolean fireEvents) |
void | showSuggestionList() Show the current list of suggestions. |
SuggestBox | wrap(SuggestOracle oracle, Element element) Creates a SuggestBox widget that wraps an existing <input type='text'> element. |