Java com.google.gwt.user.client.ui SuggestBox fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui SuggestBox fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui SuggestBox.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.SuggestBox has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidaddChangeListener(final ChangeListener listener)
Adds a listener to receive change events on the SuggestBox's text box.
voidaddEventHandler(final SuggestionHandler handler)
Adds an event to this handler.
voidaddFocusListener(final FocusListener listener)
Adds a listener to receive focus events on the SuggestBox's text box.
HandlerRegistrationaddKeyDownHandler(KeyDownHandler handler)
HandlerRegistrationaddKeyPressHandler(KeyPressHandler handler)
HandlerRegistrationaddKeyUpHandler(KeyUpHandler handler)
HandlerRegistrationaddSelectionHandler(SelectionHandler handler)
HandlerRegistrationaddValueChangeHandler(ValueChangeHandler handler)
SuggestOraclegetSuggestOracle()
Gets the suggest box's com.google.gwt.user.client.ui.SuggestOracle .
StringgetText()
TextBoxBasegetTextBox()
Get the text box associated with this suggest box.
StringgetValue()
ValueBoxBasegetValueBox()
Get the ValueBoxBase associated with this suggest box.
voidhideSuggestionList()
Hide current suggestions in the DefaultSuggestionDisplay .
booleanisSuggestionListShowing()
Check if the DefaultSuggestionDisplay is showing.
voidsetAutoSelectEnabled(boolean selectsFirstItem)
Turns on or off the behavior that automatically selects the first suggested item.
voidsetEnabled(boolean enabled)
Sets whether this widget is enabled.
voidsetFocus(boolean focused)
voidsetLimit(int limit)
Sets the limit to the number of suggestions the oracle should provide.
voidsetTabIndex(int index)
voidsetText(String text)
voidsetValue(String newValue)
voidsetValue(String value, boolean fireEvents)
voidshowSuggestionList()
Show the current list of suggestions.
SuggestBoxwrap(SuggestOracle oracle, Element element)
Creates a SuggestBox widget that wraps an existing <input type='text'> element.