Example usage for Java javafx.scene.control TreeItem fields, constructors, methods, implement or subclass
The text is from its open source code.
TreeItem(final T value) Creates a TreeItem with the value property set to the provided object. | |
TreeItem() Creates an empty TreeItem. | |
TreeItem(final T value, final Node graphic) Creates a TreeItem with the value property set to the provided object, and the graphic set to the provided Node. |
void | addEventHandler(EventType Registers an event handler to this TreeItem. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
BooleanProperty | expandedProperty() The expanded state of this TreeItem. |
ObservableList | getChildren() The children of this TreeItem. |
TreeItem | getParent() The parent of this TreeItem. |
T | getValue() Returns the application-specific data represented by this TreeItem. |
boolean | isExpanded() Returns the expanded state of this TreeItem. |
boolean | isLeaf() A TreeItem is a leaf if it has no children. |
void | setExpanded(boolean value) Sets the expanded state of this TreeItem. |
void | setGraphic(Node value) Sets the node that is generally shown to the left of the value property. |
void | setValue(T value) Sets the application-specific data represented by this TreeItem. |