Class LiveSearchSelectorDropDownItem<TYPE>
- java.lang.Object
-
- org.uberfire.ext.widgets.common.client.dropdown.items.LiveSearchSelectorDropDownItem<TYPE>
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement,LiveSearchSelectorItem<TYPE>
@Dependent public class LiveSearchSelectorDropDownItem<TYPE> extends Object implements LiveSearchSelectorItem<TYPE>
-
-
Constructor Summary
Constructors Constructor Description LiveSearchSelectorDropDownItem(LiveSearchSelectorDropDownItemView view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.errai.common.client.dom.HTMLElementgetElement()TYPEgetKey()StringgetValue()voidinit(TYPE key, String value)voidonItemClick()voidreset()voidselect()voidsetMultipleSelection(boolean enable)voidsetSelectionCallback(org.uberfire.mvp.Command selectionCallback)
-
-
-
Constructor Detail
-
LiveSearchSelectorDropDownItem
@Inject public LiveSearchSelectorDropDownItem(LiveSearchSelectorDropDownItemView view)
-
-
Method Detail
-
init
public void init(TYPE key, String value)
- Specified by:
initin interfaceLiveSearchSelectorItem<TYPE>
-
setSelectionCallback
public void setSelectionCallback(org.uberfire.mvp.Command selectionCallback)
- Specified by:
setSelectionCallbackin interfaceLiveSearchSelectorItem<TYPE>
-
getKey
public TYPE getKey()
- Specified by:
getKeyin interfaceLiveSearchSelectorItem<TYPE>
-
getValue
public String getValue()
- Specified by:
getValuein interfaceLiveSearchSelectorItem<TYPE>
-
onItemClick
public void onItemClick()
- Specified by:
onItemClickin interfaceLiveSearchSelectorItem<TYPE>
-
select
public void select()
- Specified by:
selectin interfaceLiveSearchSelectorItem<TYPE>
-
reset
public void reset()
- Specified by:
resetin interfaceLiveSearchSelectorItem<TYPE>
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.IsElement
-
setMultipleSelection
public void setMultipleSelection(boolean enable)
- Specified by:
setMultipleSelectionin interfaceLiveSearchSelectorItem<TYPE>
-
-