|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.user.client.ui.SuggestBox.SuggestionDisplay
public abstract static class SuggestBox.SuggestionDisplay
Used to display suggestions to the user.
| Constructor Summary | |
|---|---|
SuggestBox.SuggestionDisplay()
|
|
| Method Summary | |
|---|---|
protected abstract SuggestOracle.Suggestion |
getCurrentSelection()
Get the currently selected SuggestOracle.Suggestion in the display. |
protected abstract void |
hideSuggestions()
Hide the list of suggestions from view. |
(package private) boolean |
isAnimationEnabledImpl()
Deprecated. implemented in DefaultSuggestionDisplay |
(package private) boolean |
isSuggestionListShowingImpl()
Deprecated. implemented in DefaultSuggestionDisplay |
protected abstract void |
moveSelectionDown()
Highlight the suggestion directly below the current selection in the list. |
protected abstract void |
moveSelectionUp()
Highlight the suggestion directly above the current selection in the list. |
protected void |
onEnsureDebugId(java.lang.String suggestBoxBaseID)
Set the debug id of widgets used in the SuggestionDisplay. |
(package private) void |
setAnimationEnabledImpl(boolean enable)
Deprecated. implemented in DefaultSuggestionDisplay |
protected void |
setMoreSuggestions(boolean hasMoreSuggestions,
int numMoreSuggestions)
Accepts information about whether there were more suggestions matching than were provided to showSuggestions(com.google.gwt.user.client.ui.SuggestBox, java.util.Collection extends com.google.gwt.user.client.ui.SuggestOracle.Suggestion>, boolean, boolean, com.google.gwt.user.client.ui.SuggestBox.SuggestionCallback). |
(package private) void |
setPopupStyleNameImpl(java.lang.String style)
Deprecated. implemented in DefaultSuggestionDisplay |
protected abstract void |
showSuggestions(SuggestBox suggestBox,
java.util.Collection<? extends SuggestOracle.Suggestion> suggestions,
boolean isDisplayStringHTML,
boolean isAutoSelectEnabled,
SuggestBox.SuggestionCallback callback)
Update the list of visible suggestions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuggestBox.SuggestionDisplay()
| Method Detail |
|---|
protected abstract SuggestOracle.Suggestion getCurrentSelection()
SuggestOracle.Suggestion in the display.
protected abstract void hideSuggestions()
protected abstract void moveSelectionDown()
protected abstract void moveSelectionUp()
protected void onEnsureDebugId(java.lang.String suggestBoxBaseID)
suggestBoxBaseID - the baseID of the SuggestBoxUIObject.onEnsureDebugId(String)
protected void setMoreSuggestions(boolean hasMoreSuggestions,
int numMoreSuggestions)
showSuggestions(com.google.gwt.user.client.ui.SuggestBox, java.util.Collection extends com.google.gwt.user.client.ui.SuggestOracle.Suggestion>, boolean, boolean, com.google.gwt.user.client.ui.SuggestBox.SuggestionCallback).
hasMoreSuggestions - true if more matches were availablenumMoreSuggestions - number of more matches available. If the
specific number is unknown, 0 will be passed.
protected abstract void showSuggestions(SuggestBox suggestBox,
java.util.Collection<? extends SuggestOracle.Suggestion> suggestions,
boolean isDisplayStringHTML,
boolean isAutoSelectEnabled,
SuggestBox.SuggestionCallback callback)
suggestBox - the suggest box where the suggestions originatedsuggestions - the suggestions to showisDisplayStringHTML - should the suggestions be displayed as HTMLisAutoSelectEnabled - if true, the first item should be selected
automaticallycallback - the callback used when the user makes a suggestion@Deprecated boolean isAnimationEnabledImpl()
@Deprecated boolean isSuggestionListShowingImpl()
@Deprecated void setAnimationEnabledImpl(boolean enable)
enable - true to enable animation@Deprecated void setPopupStyleNameImpl(java.lang.String style)
style - the style name
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||