Uses of Class
javafx.scene.control.TreeView
-
Packages that use TreeView 软件包 描述 javafx.scene.control JavaFX用户界面控件(UI控件或仅控件)是JavaFX场景中的专用节点,特别适用于许多不同应用程序环境中的重用。javafx.scene.control.cell 所述javafx.scene.control.cell
包是所有细胞相关的类的位置,比所述核心类如其他Cell
,IndexedCell
,ListCell
,TreeCell
,和TableCell
。javafx.scene.control.skin javafx.scene.control.skin包是皮肤类(通常每个UI控件一个)所在的位置 -
-
Uses of TreeView in javafx.scene.control
Methods in javafx.scene.control that return TreeView Modifier and Type 方法 描述 TreeView<T>
TreeView.EditEvent. getSource()
返回发生编辑的TreeView。TreeView<T>
TreeCell. getTreeView()
返回与此TreeCell关联的TreeView。Methods in javafx.scene.control that return types with arguments of type TreeView Modifier and Type 方法 描述 ObjectProperty<Callback<TreeView<T>,TreeCell<T>>>
TreeView. cellFactoryProperty()
表示将用于创建TreeCells的单元格工厂,用于表示TreeView中的项目。Callback<TreeView<T>,TreeCell<T>>
TreeView. getCellFactory()
返回用于创建TreeCells的单元格工厂,用于表示TreeView中的项目,如果未设置自定义单元格工厂,则返回null。ReadOnlyObjectProperty<TreeView<T>>
TreeCell. treeViewProperty()
TreeCell显式链接到一个TreeView
实例,由该属性表示。Methods in javafx.scene.control with parameters of type TreeView Modifier and Type 方法 描述 void
TreeCell. updateTreeView(TreeView<T> tree)
更新与TreeCell相关联的TreeView。Method parameters in javafx.scene.control with type arguments of type TreeView Modifier and Type 方法 描述 void
TreeView. setCellFactory(Callback<TreeView<T>,TreeCell<T>> value)
设置将用于创建TreeCells的单元格工厂,用于表示TreeView中的项目。Constructors in javafx.scene.control with parameters of type TreeView Constructor 描述 EditEvent(TreeView<T> source, EventType<? extends TreeView.EditEvent> eventType, TreeItem<T> treeItem, T oldValue, T newValue)
创建一个新的EditEvent实例来表示编辑事件。 -
Uses of TreeView in javafx.scene.control.cell
Methods in javafx.scene.control.cell that return types with arguments of type TreeView Modifier and Type 方法 描述 static <T> Callback<TreeView<T>,TreeCell<T>>
CheckBoxTreeCell. forTreeView()
创建用于TreeView控件的单元格工厂,尽管在TreeView中使用时有一个主要假设:此单元格工厂假定TreeView根和所有子项都是CheckBoxTreeItem
的实例,而不是正常使用的默认值为TreeItem
的类。static <T> Callback<TreeView<T>,TreeCell<T>>
CheckBoxTreeCell. forTreeView(Callback<TreeItem<T>,ObservableValue<Boolean>> getSelectedProperty)
创建一个用于TreeView控件的单元格工厂。static <T> Callback<TreeView<T>,TreeCell<T>>
CheckBoxTreeCell. forTreeView(Callback<TreeItem<T>,ObservableValue<Boolean>> getSelectedProperty, StringConverter<TreeItem<T>> converter)
创建一个用于TreeView控件的单元格工厂。static <T> Callback<TreeView<T>,TreeCell<T>>
ChoiceBoxTreeCell. forTreeView(ObservableList<T> items)
创建一个ChoiceBox单元格工厂用于TreeView
控件。static <T> Callback<TreeView<T>,TreeCell<T>>
ChoiceBoxTreeCell. forTreeView(StringConverter<T> converter, ObservableList<T> items)
创建一个ChoiceBox单元格工厂用于TreeView
控件。static <T> Callback<TreeView<T>,TreeCell<T>>
ChoiceBoxTreeCell. forTreeView(StringConverter<T> converter, T... items)
创建一个ChoiceBox单元格工厂用于TreeView
控件。static <T> Callback<TreeView<T>,TreeCell<T>>
ChoiceBoxTreeCell. forTreeView(T... items)
创建一个ChoiceBox单元格工厂用于TreeView
控件。static <T> Callback<TreeView<T>,TreeCell<T>>
ComboBoxTreeCell. forTreeView(ObservableList<T> items)
创建ComboBox单元格工厂,用于TreeView
控件。static <T> Callback<TreeView<T>,TreeCell<T>>
ComboBoxTreeCell. forTreeView(StringConverter<T> converter, ObservableList<T> items)
创建ComboBox单元格工厂用于TreeView
控件。static <T> Callback<TreeView<T>,TreeCell<T>>
ComboBoxTreeCell. forTreeView(StringConverter<T> converter, T... items)
创建ComboBox单元格工厂用于TreeView
控件。static <T> Callback<TreeView<T>,TreeCell<T>>
ComboBoxTreeCell. forTreeView(T... items)
创建ComboBox单元格工厂用于TreeView
控件。static Callback<TreeView<String>,TreeCell<String>>
TextFieldTreeCell. forTreeView()
提供TextField
,允许在双击单元格时调用单元格内容,或调用edit(javafx.scene.control.TreeItem)
时。static <T> Callback<TreeView<T>,TreeCell<T>>
TextFieldTreeCell. forTreeView(StringConverter<T> converter)
提供TextField
,使单元格内容的编辑在小区双击,或者当edit(javafx.scene.control.TreeItem)
被调用。 -
Uses of TreeView in javafx.scene.control.skin
Constructors in javafx.scene.control.skin with parameters of type TreeView Constructor 描述 TreeViewSkin(TreeView control)
Creates a new TreeViewSkin instance, installing the necessary child nodes into the Controlchildren
list, as well as the necessary input mappings for handling key, mouse, etc events.
-