@Dependent public class LiveSearchDropDown extends Object implements com.google.gwt.user.client.ui.IsWidget
| Modifier and Type | Class and Description |
|---|---|
static interface |
LiveSearchDropDown.View |
| Constructor and Description |
|---|
LiveSearchDropDown(LiveSearchDropDown.View view) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToSearchCache(String pattern,
LiveSearchResults searchResults) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
clear() |
protected void |
doSearch(String pattern) |
protected LiveSearchResults |
getFromSearchCache(String pattern) |
String |
getLastSearch() |
int |
getMaxItems() |
String |
getSelectedKey() |
String |
getSelectedValue() |
boolean |
isSearchCacheEnabled() |
boolean |
isSearchEnabled() |
void |
search(String pattern) |
void |
setMaxItems(int maxItems) |
void |
setNotFoundMessage(String noItemsMessage) |
void |
setOnChange(Command onChange) |
void |
setSearchCacheEnabled(boolean searchCacheEnabled) |
void |
setSearchEnabled(boolean searchEnabled) |
void |
setSearchHint(String text) |
void |
setSearchService(LiveSearchService searchService) |
void |
setSelectedItem(String key,
String value) |
void |
setSelectorHint(String text) |
void |
setWidth(int minWidth) |
void |
showResults(LiveSearchResults results) |
@Inject public LiveSearchDropDown(LiveSearchDropDown.View view)
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetpublic boolean isSearchEnabled()
public void setSearchEnabled(boolean searchEnabled)
public void setSelectorHint(String text)
public void setSearchHint(String text)
public void setNotFoundMessage(String noItemsMessage)
public void setOnChange(Command onChange)
public void setSearchService(LiveSearchService searchService)
public boolean isSearchCacheEnabled()
public void setSearchCacheEnabled(boolean searchCacheEnabled)
public int getMaxItems()
public void setMaxItems(int maxItems)
public void setWidth(int minWidth)
public String getSelectedKey()
public String getSelectedValue()
public void clear()
public String getLastSearch()
public void search(String pattern)
protected void doSearch(String pattern)
protected LiveSearchResults getFromSearchCache(String pattern)
protected void addToSearchCache(String pattern, LiveSearchResults searchResults)
public void showResults(LiveSearchResults results)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.