Package com.google.gwt.user.client.ui
Class SuggestOracle.Request
java.lang.Object
com.google.gwt.user.client.ui.SuggestOracle.Request
- All Implemented Interfaces:
IsSerializable
- Enclosing class:
- SuggestOracle
A
SuggestOracle
request.-
Constructor Summary
ConstructorDescriptionRequest()
Constructor forSuggestOracle.Request
.Constructor forSuggestOracle.Request
.Constructor forSuggestOracle.Request
. -
Method Summary
-
Constructor Details
-
Request
public Request()Constructor forSuggestOracle.Request
. -
Request
Constructor forSuggestOracle.Request
.- Parameters:
query
- the query string
-
Request
Constructor forSuggestOracle.Request
.- Parameters:
query
- the query stringlimit
- limit on the number of suggestions that should be created for this query
-
-
Method Details
-
getLimit
public int getLimit()Gets the limit on the number of suggestions that should be created.- Returns:
- the limit
-
getQuery
Gets the query string.- Returns:
- the query string
-
setLimit
public void setLimit(int limit) Sets the limit on the number of suggestions that should be created.- Parameters:
limit
- the limit
-
setQuery
Sets the query string used for this request.- Parameters:
query
- the query string
-