Uses of Class
io.github.sosuisen.jfxbuilder.controls.TreeItemBuilder
Packages that use TreeItemBuilder
-
Uses of TreeItemBuilder in io.github.sosuisen.jfxbuilder.controls
Methods in io.github.sosuisen.jfxbuilder.controls that return TreeItemBuilderModifier and TypeMethodDescriptionfinal TreeItemBuilder<T>
TreeItemBuilder.addChildren
(Collection<? extends TreeItem<T>> col) Calls theaddAll
method on the ObservableList returned by theTreeItem#getChildren()
method.final TreeItemBuilder<T>
TreeItemBuilder.addChildren
(TreeItem<T>... elements) Calls theaddAll
method on the ObservableList returned by theTreeItem#getChildren()
method.Applies a function to the TreeItem instance being constructed.static <T> TreeItemBuilder<T>
TreeItemBuilder.create()
Returns an instance of theTreeItemBuilder<T>
.static <T> TreeItemBuilder<T>
TreeItemBuilder.create
(T value) Accepts the constructor arguments ofTreeItem(T)
and returns an instance ofTreeItemBuilder<T>
.static <T> TreeItemBuilder<T>
Accepts the constructor arguments ofTreeItem(T, Node)
and returns an instance ofTreeItemBuilder<T>
.TreeItemBuilder.expanded
(boolean value) A builder method that invokes thesetExpanded
method on the instance being constructed.TreeItemBuilder.expandedPropertyApply
(Consumer<BooleanProperty> op) Applies a function to theexpandedProperty
of the instance being constructed.A builder method that invokes thesetGraphic
method on the instance being constructed.TreeItemBuilder.graphicPropertyApply
(Consumer<ObjectProperty<Node>> op) Applies a function to thegraphicProperty
of the instance being constructed.TreeItemBuilder.leafPropertyApply
(Consumer<ReadOnlyBooleanProperty> op) Applies a function to theleafProperty
of the instance being constructed.TreeItemBuilder.parentPropertyApply
(Consumer<ReadOnlyObjectProperty<TreeItem<T>>> op) Applies a function to theparentProperty
of the instance being constructed.A builder method that invokes thesetValue
method on the instance being constructed.TreeItemBuilder.valuePropertyApply
(Consumer<ObjectProperty<T>> op) Applies a function to thevalueProperty
of the instance being constructed.static <T> TreeItemBuilder<T>
TreeItemBuilder.withChildren
(Collection<? extends TreeItem<T>> col) Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theTreeItem#getChildren()
method.static <T> TreeItemBuilder<T>
TreeItemBuilder.withChildren
(TreeItem<T>... elements) Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theTreeItem#getChildren()
method.