java.lang.Object | |
↳ | com.google.gwt.user.client.ui.SuggestOracle.Response |
SuggestOracle
response.
Can optionally have truncation information provided. To indicate that there are more results but the number is not known, use:
response.setMoreSuggestions(true);
Or to indicate more results with an exact number, use:
response.setMoreSuggestionsCount(102);
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for
SuggestOracle.Response . | |||||||||||
Constructor for
SuggestOracle.Response . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets how many more suggestions there are.
| |||||||||||
Gets the collection of suggestions.
| |||||||||||
Gets whether or not the suggestion list was truncated due to the
getLimit() . | |||||||||||
Sets whether or not the suggestion list was truncated due to the
getLimit() . | |||||||||||
Sets whether or not the suggestion list was truncated due to the
getLimit() , by providing an exact count of remaining
suggestions. | |||||||||||
Sets the suggestions for this response.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructor for SuggestOracle.Response
.
suggestions | each element of suggestions must implement the
SuggestOracle.Suggestion interface
|
---|
Gets how many more suggestions there are.
Gets the collection of suggestions. Each suggestion must implement the
SuggestOracle.Suggestion
interface.
Gets whether or not the suggestion list was truncated due to the
getLimit()
.
Sets whether or not the suggestion list was truncated due to the
getLimit()
.
Sets whether or not the suggestion list was truncated due to the
getLimit()
, by providing an exact count of remaining
suggestions.
count | number of truncated suggestions. Pass 0 to indicate there
are no other suggestions, which is equivalent to
setMoreSuggestions(false) .
|
---|
Sets the suggestions for this response. Each suggestion must implement
the SuggestOracle.Suggestion
interface.
suggestions | the suggestions |
---|