Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.scene.control |
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.
|
javafx.scene.control.cell |
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 . |
Modifier and Type | Field and Description |
---|---|
private TreeView<T> |
TreeView.TreeViewBitSetSelectionModel.treeView
*
Internal properties *
*
|
private TreeView<T> |
TreeView.TreeViewFocusModel.treeView |
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<Callback<TreeView<T>,TreeCell<T>>> |
TreeView.cellFactory
*
Properties *
*
|
private Callback<TreeView<T>,TreeCell<T>> |
TreeViewBuilder.cellFactory |
private ReadOnlyObjectWrapper<TreeView<T>> |
TreeCell.treeView |
Modifier and Type | Method and Description |
---|---|
TreeView<T> |
TreeViewBuilder.build()
Make an instance of
TreeView based on the properties set on this builder. |
TreeView<T> |
TreeView.EditEvent.getSource()
Returns the TreeView upon which the edit took place.
|
TreeView<T> |
TreeCell.getTreeView()
Returns the TreeView associated with this TreeCell.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Callback<TreeView<T>,TreeCell<T>>> |
TreeView.cellFactoryProperty()
Represents the cell factory that will be used for creating TreeCells,
which are used to represent items in the TreeView.
|
Callback<TreeView<T>,TreeCell<T>> |
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.
|
ReadOnlyObjectProperty<TreeView<T>> |
TreeCell.treeViewProperty()
A TreeCell is explicitly linked to a single
TreeView instance,
which is represented by this property. |
Modifier and Type | Method and Description |
---|---|
void |
TreeViewBuilder.applyTo(TreeView<T> x) |
private void |
TreeCell.setTreeView(TreeView<T> value) |
void |
TreeCell.updateTreeView(TreeView<T> tree)
Updates the TreeView associated with this TreeCell.
|
Modifier and Type | Method and Description |
---|---|
B |
TreeViewBuilder.cellFactory(Callback<TreeView<T>,TreeCell<T>> x)
Set the value of the
cellFactory property for the instance constructed by this builder. |
void |
TreeView.setCellFactory(Callback<TreeView<T>,TreeCell<T>> value)
Sets the cell factory that will be used for creating TreeCells,
which are used to represent items in the
TreeView.
|
Constructor and Description |
---|
TreeView.EditEvent(TreeView<T> source,
EventType<? extends TreeView.EditEvent> eventType,
TreeItem<T> treeItem,
T oldValue,
T newValue)
Creates a new EditEvent instance to represent an edit event.
|
TreeView.TreeViewBitSetSelectionModel(TreeView<T> treeView)
*
Constructors *
*
|
TreeView.TreeViewFocusModel(TreeView<T> treeView) |
Modifier and Type | Method and Description |
---|---|
static Callback<TreeView<java.lang.String>,TreeCell<java.lang.String>> |
TextFieldTreeCell.forTreeView()
Provides a
TextField that allows editing of the cell content when
the cell is double-clicked, or when
edit(javafx.scene.control.TreeItem) is called. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
CheckBoxTreeCell.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 of
CheckBoxTreeItem , rather than the default TreeItem class
that is used normally. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty)
Creates a cell factory for use in a TreeView control.
|
static <T> Callback<TreeView<T>,TreeCell<T>> |
CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter)
Creates a cell factory for use in a TreeView control.
|
private static <T> Callback<TreeView<T>,TreeCell<T>> |
CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter,
Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getIndeterminateProperty)
Creates a cell factory for use in a TreeView control.
|
static <T> Callback<TreeView<T>,TreeCell<T>> |
ComboBoxTreeCell.forTreeView(ObservableList<T> items)
Creates a ComboBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ChoiceBoxTreeCell.forTreeView(ObservableList<T> items)
Creates a ChoiceBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
TextFieldTreeCell.forTreeView(StringConverter<T> converter)
Provides a
TextField that allows editing of the cell content when
the cell is double-clicked, or when
edit(javafx.scene.control.TreeItem) is called. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ComboBoxTreeCell.forTreeView(StringConverter<T> converter,
ObservableList<T> items)
Creates a ComboBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ChoiceBoxTreeCell.forTreeView(StringConverter<T> converter,
ObservableList<T> items)
Creates a ChoiceBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ComboBoxTreeCell.forTreeView(StringConverter<T> converter,
T... items)
Creates a ComboBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ChoiceBoxTreeCell.forTreeView(StringConverter<T> converter,
T... items)
Creates a ChoiceBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ComboBoxTreeCell.forTreeView(T... items)
Creates a ComboBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ChoiceBoxTreeCell.forTreeView(T... items)
Creates a ChoiceBox cell factory for use in
TreeView controls. |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to