@Dependent public class LiveSearchSelectorDropDownItem<TYPE> extends Object implements LiveSearchSelectorItem<TYPE>
| Constructor and Description |
|---|
LiveSearchSelectorDropDownItem(LiveSearchSelectorDropDownItemView view) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
TYPE |
getKey() |
String |
getValue() |
void |
init(TYPE key,
String value) |
void |
onItemClick() |
void |
reset() |
void |
select() |
void |
setMultipleSelection(boolean enable) |
void |
setSelectionCallback(Command selectionCallback) |
@Inject public LiveSearchSelectorDropDownItem(LiveSearchSelectorDropDownItemView view)
public void init(TYPE key, String value)
init in interface LiveSearchSelectorItem<TYPE>public void setSelectionCallback(Command selectionCallback)
setSelectionCallback in interface LiveSearchSelectorItem<TYPE>public TYPE getKey()
getKey in interface LiveSearchSelectorItem<TYPE>public String getValue()
getValue in interface LiveSearchSelectorItem<TYPE>public void onItemClick()
onItemClick in interface LiveSearchSelectorItem<TYPE>public void select()
select in interface LiveSearchSelectorItem<TYPE>public void reset()
reset in interface LiveSearchSelectorItem<TYPE>public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement in interface org.jboss.errai.common.client.api.IsElementpublic void setMultipleSelection(boolean enable)
setMultipleSelection in interface LiveSearchSelectorItem<TYPE>Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.