Class KieDropdownElement<T>
- java.lang.Object
-
- org.kie.workbench.common.screens.library.client.settings.util.dropdown.KieDropdownElement<T>
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.elemental2.IsElement
public class KieDropdownElement<T> extends Object implements org.jboss.errai.common.client.api.elemental2.IsElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKieDropdownElement.Item<T>static classKieDropdownElement.ItemElement<T>static classKieDropdownElement.ItemsListPresenter<T>static interfaceKieDropdownElement.View
-
Constructor Summary
Constructors Constructor Description KieDropdownElement(KieDropdownElement.View view, KieDropdownElement.ItemsListPresenter<T> itemsListPresenter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elemental2.dom.HTMLElementgetElement()voidinit()voidsetup(List<KieDropdownElement.Item<T>> items, String initialSelectedLabel)voidsetValue(String value)
-
-
-
Constructor Detail
-
KieDropdownElement
@Inject public KieDropdownElement(KieDropdownElement.View view, KieDropdownElement.ItemsListPresenter<T> itemsListPresenter)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
setup
public void setup(List<KieDropdownElement.Item<T>> items, String initialSelectedLabel)
-
setValue
public void setValue(String value)
-
getElement
public elemental2.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.elemental2.IsElement
-
-