Uses of Class
javafx.scene.control.TreeView
Packages that use TreeView
Package
Description
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
The
javafx.scene.control.cell package is where all cell-related
classes are located, other than the core classes such as
Cell, IndexedCell,
ListCell, TreeCell,
and TableCell.The javafx.scene.control.skin package is where the skin classes, typically
one for each UI control, are located
-
Uses of TreeView in javafx.scene.control
Methods in javafx.scene.control that return TreeViewModifier and TypeMethodDescriptionTreeView.EditEvent.getSource()Returns the TreeView upon which the edit took place.TreeCell.getTreeView()Returns the TreeView associated with this TreeCell.Methods in javafx.scene.control that return types with arguments of type TreeViewModifier and TypeMethodDescriptionTreeView.cellFactoryProperty()Represents the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView.TreeView.getCellFactory()Returns the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView, or null if no custom cell factory has been set.final ReadOnlyObjectProperty<TreeView<T>>TreeCell.treeViewProperty()A TreeCell is explicitly linked to a singleTreeViewinstance, which is represented by this property.Methods in javafx.scene.control with parameters of type TreeViewModifier and TypeMethodDescriptionfinal voidTreeCell.updateTreeView(TreeView<T> tree) Updates the TreeView associated with this TreeCell.Method parameters in javafx.scene.control with type arguments of type TreeViewModifier and TypeMethodDescriptionfinal voidSets the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView.Constructors in javafx.scene.control with parameters of type TreeView -
Uses of TreeView in javafx.scene.control.cell
Methods in javafx.scene.control.cell that return types with arguments of type TreeViewModifier and TypeMethodDescriptionCheckBoxTreeCell.forTreeView()Creates a cell factory for use in a TreeView control, although there is a major assumption when used in a TreeView: this cell factory assumes that the TreeView root, and all children are instances ofCheckBoxTreeItem, rather than the defaultTreeItemclass that is used normally.CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in a TreeView control.CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>, ObservableValue<Boolean>> getSelectedProperty, StringConverter<TreeItem<T>> converter) Creates a cell factory for use in a TreeView control.ChoiceBoxTreeCell.forTreeView(ObservableList<T> items) Creates a ChoiceBox cell factory for use inTreeViewcontrols.ChoiceBoxTreeCell.forTreeView(StringConverter<T> converter, ObservableList<T> items) Creates a ChoiceBox cell factory for use inTreeViewcontrols.ChoiceBoxTreeCell.forTreeView(StringConverter<T> converter, T... items) Creates a ChoiceBox cell factory for use inTreeViewcontrols.ChoiceBoxTreeCell.forTreeView(T... items) Creates a ChoiceBox cell factory for use inTreeViewcontrols.ComboBoxTreeCell.forTreeView(ObservableList<T> items) Creates a ComboBox cell factory for use inTreeViewcontrols.ComboBoxTreeCell.forTreeView(StringConverter<T> converter, ObservableList<T> items) Creates a ComboBox cell factory for use inTreeViewcontrols.ComboBoxTreeCell.forTreeView(StringConverter<T> converter, T... items) Creates a ComboBox cell factory for use inTreeViewcontrols.ComboBoxTreeCell.forTreeView(T... items) Creates a ComboBox cell factory for use inTreeViewcontrols.TextFieldTreeCell.forTreeView()Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenedit(javafx.scene.control.TreeItem)is called.TextFieldTreeCell.forTreeView(StringConverter<T> converter) Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenedit(javafx.scene.control.TreeItem)is called. -
Uses of TreeView in javafx.scene.control.skin
Constructors in javafx.scene.control.skin with parameters of type TreeViewModifierConstructorDescriptionTreeViewSkin(TreeView control) Creates a new TreeViewSkin instance, installing the necessary child nodes into the Controlchildrenlist, as well as the necessary input mappings for handling key, mouse, etc events.