Spec-Zone .ru
спецификации, руководства, описания, API
|
@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") public class TreeItemBuilder<T,B extends TreeItemBuilder<T,B>> extends java.lang.Object implements Builder<TreeItem<T>>
TreeItem
Modifier | Constructor and Description |
---|---|
protected |
TreeItemBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(TreeItem<T> x) |
TreeItem<T> |
build()
Make an instance of
TreeItem based on the properties set on this builder. |
B |
children(java.util.Collection<? extends TreeItem<T>> x)
Add the given items to the List of items in the
children property for the instance constructed by this builder. |
B |
children(TreeItem<T>... x)
Add the given items to the List of items in the
children property for the instance constructed by this builder. |
static <T> TreeItemBuilder<T,?> |
create()
Creates a new instance of TreeItemBuilder.
|
B |
expanded(boolean x)
Set the value of the
expanded property for the instance constructed by this builder. |
B |
graphic(Node x)
Set the value of the
graphic property for the instance constructed by this builder. |
B |
value(T x)
Set the value of the
value property for the instance constructed by this builder. |
public static <T> TreeItemBuilder<T,?> create()
public B children(java.util.Collection<? extends TreeItem<T>> x)
children
property for the instance constructed by this builder.public B children(TreeItem<T>... x)
children
property for the instance constructed by this builder.public B expanded(boolean x)
expanded
property for the instance constructed by this builder.public B graphic(Node x)
graphic
property for the instance constructed by this builder.public B value(T x)
value
property for the instance constructed by this builder.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to