public class TreeUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
TreeUtil.ObservableFactory<T>
Factory to create child observables
|
Constructor and Description |
---|
TreeUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> @NonNull javafx.scene.control.TreeItem<T> |
createModel(T root,
@NonNull TreeUtil.ObservableFactory<T> factory)
Create a tree model backed by the given
TreeUtil.ObservableFactory |
public static <T> @NonNull javafx.scene.control.TreeItem<T> createModel(T root, @NonNull TreeUtil.ObservableFactory<T> factory)
TreeUtil.ObservableFactory
root
- the root of the modelfactory
- the factory to create children