@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,
List<String> itemList) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
clear() |
protected void |
doSearch(String pattern) |
protected List<String> |
getFromSearchCache(String pattern) |
String |
getLastSearch() |
int |
getMaxItems() |
String |
getSelectedItem() |
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 selectedItem) |
void |
setSelectorHint(String text) |
void |
setWidth(int minWidth) |
void |
showItemList(List<String> itemList) |
@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 void setSelectedItem(String selectedItem)
public String getSelectedItem()
public void clear()
public String getLastSearch()
public void search(String pattern)
protected void doSearch(String pattern)
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.