java.lang.Object | |
↳ | com.google.gwt.user.client.ui.SuggestBox.SuggestionDisplay |
Known Direct Subclasses |
Used to display suggestions to the user.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the currently selected
SuggestOracle.Suggestion in the display. | |||||||||||
Hide the list of suggestions from view.
| |||||||||||
Highlight the suggestion directly below the current selection in the
list.
| |||||||||||
Highlight the suggestion directly above the current selection in the
list.
| |||||||||||
Set the debug id of widgets used in the SuggestionDisplay.
| |||||||||||
Accepts information about whether there were more suggestions matching
than were provided to
showSuggestions(SuggestBox, Collection extends SuggestOracle.Suggestion>, boolean, boolean, SuggestBox.SuggestionCallback) . | |||||||||||
Update the list of visible suggestions.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Get the currently selected SuggestOracle.Suggestion
in the display.
Hide the list of suggestions from view.
Highlight the suggestion directly below the current selection in the list.
Highlight the suggestion directly above the current selection in the list.
Set the debug id of widgets used in the SuggestionDisplay.
suggestBoxBaseID | the baseID of the SuggestBox |
---|
Accepts information about whether there were more suggestions matching
than were provided to showSuggestions(SuggestBox, Collection extends SuggestOracle.Suggestion>, boolean, boolean, SuggestBox.SuggestionCallback)
.
hasMoreSuggestions | true if more matches were available |
---|---|
numMoreSuggestions | number of more matches available. If the specific number is unknown, 0 will be passed. |
Update the list of visible suggestions. Use care when using isDisplayStringHtml; it is an easy way to expose script-based security problems.
suggestBox | the suggest box where the suggestions originated |
---|---|
suggestions | the suggestions to show |
isDisplayStringHTML | should the suggestions be displayed as HTML |
isAutoSelectEnabled | if true, the first item should be selected automatically |
callback | the callback used when the user makes a suggestion |