Class TreeList
- java.lang.Object
-
- org.kie.workbench.common.dmn.client.editors.types.imported.treelist.TreeList
-
@Dependent public class TreeList extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTreeList.View
-
Constructor Summary
Constructors Constructor Description TreeList(TreeList.View view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidclearSelection()List<TreeListItem>getCurrentItems()elemental2.dom.NodegetElement()List<TreeListItem>getSelectedItems()voidpopulate(List<TreeListItem> items)voidrefresh()voidsetOnSelectionChanged(Consumer<List<TreeListItem>> onSelectionChanged)
-
-
-
Constructor Detail
-
TreeList
@Inject public TreeList(TreeList.View view)
-
-
Method Detail
-
populate
public void populate(List<TreeListItem> items)
-
refresh
public void refresh()
-
getCurrentItems
public List<TreeListItem> getCurrentItems()
-
clear
public void clear()
-
getElement
public elemental2.dom.Node getElement()
-
clearSelection
public void clearSelection()
-
getSelectedItems
public List<TreeListItem> getSelectedItems()
-
setOnSelectionChanged
public void setOnSelectionChanged(Consumer<List<TreeListItem>> onSelectionChanged)
-
-