Example usage for Java javafx.scene.control TreeView fields, constructors, methods, implement or subclass
The text is from its open source code.
TreeView(TreeItem Creates a TreeView with the provided root node. | |
TreeView() Creates an empty TreeView. |
void | autosize() If the node is resizable, will set its layout bounds to its current preferred width and height. |
ContextMenu | getContextMenu() |
double | getHeight() |
TreeItem | getRoot() Returns the current root node of this TreeView, or null if no root node is specified. |
MultipleSelectionModel | getSelectionModel() Returns the currently installed selection model. |
double | getWidth() |
void | layout() Executes a top-down layout pass on the scene graph under this parent. |
Point2D | localToScreen(double localX, double localY) Transforms a point from the local coordinate space of this Node into the coordinate space of its javafx.stage.Screen . |
ObjectProperty | rootProperty() Property representing the root node of the TreeView. |
void | scrollTo(int index) Scrolls the TreeView such that the item in the given index is visible to the end user. |
void | setCellFactory(Callback Sets the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView. |
void | setContextMenu(ContextMenu value) |
void | setEditable(boolean value) |
void | setMinWidth(double value) |
void | setOnMouseClicked(EventHandler super MouseEvent> value) |
void | setRoot(TreeItem Sets the root node in this TreeView. |
void | setShowRoot(boolean value) Specifies whether the root TreeItem should be shown within this TreeView. |
void | setStyle(String value) A string representation of the CSS style associated with this specific Node . |
BooleanProperty | showRootProperty() Property that represents whether or not the TreeView root node is visible. |