|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.SuggestOracle
public abstract class SuggestOracle
A SuggestOracle
can be used to create
suggestions associated with a specific query string. It is currently used by
SuggestBox
.
SuggestBox
Nested Class Summary | |
---|---|
static interface |
SuggestOracle.Callback
Callback for SuggestOracle . |
static class |
SuggestOracle.Request
A SuggestOracle request. |
static class |
SuggestOracle.Response
SuggestOracle response. |
static interface |
SuggestOracle.Suggestion
Suggestion supplied by the SuggestOracle . |
Constructor Summary | |
---|---|
SuggestOracle()
Constructor for SuggestOracle . |
Method Summary | |
---|---|
boolean |
isDisplayStringHTML()
Should SuggestOracle.Suggestion display strings be treated as HTML? If true, this
all suggestions' display strings will be interpreted as HTML, otherwise as
text. |
abstract void |
requestSuggestions(SuggestOracle.Request request,
SuggestOracle.Callback callback)
Generate a SuggestOracle.Response based on a specific SuggestOracle.Request . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SuggestOracle()
SuggestOracle
.
Method Detail |
---|
public boolean isDisplayStringHTML()
SuggestOracle.Suggestion
display strings be treated as HTML? If true, this
all suggestions' display strings will be interpreted as HTML, otherwise as
text.
public abstract void requestSuggestions(SuggestOracle.Request request, SuggestOracle.Callback callback)
SuggestOracle.Response
based on a specific SuggestOracle.Request
. After the
SuggestOracle.Response
is created, it is passed into
SuggestOracle.Callback.onSuggestionsReady(com.google.gwt.user.client.ui.SuggestOracle.Request, com.google.gwt.user.client.ui.SuggestOracle.Response)
.
request
- the requestcallback
- the callback to use for the response
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |