Class SuggestOracle.Request

java.lang.Object
com.google.gwt.user.client.ui.SuggestOracle.Request
All Implemented Interfaces:
IsSerializable
Enclosing class:
SuggestOracle

public static class SuggestOracle.Request extends Object implements IsSerializable
A SuggestOracle request.
  • Constructor Details

    • Request

      public Request()
      Constructor for SuggestOracle.Request.
    • Request

      public Request(String query)
      Constructor for SuggestOracle.Request.
      Parameters:
      query - the query string
    • Request

      public Request(String query, int limit)
      Constructor for SuggestOracle.Request.
      Parameters:
      query - the query string
      limit - 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

      public String 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

      public void setQuery(String query)
      Sets the query string used for this request.
      Parameters:
      query - the query string