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 | Class and Description |
---|---|
class |
CheckBoxTreeItem<T>
TreeItem subclass that adds support for being in selected, unselected, and
indeterminate states.
|
Modifier and Type | Field and Description |
---|---|
private TreeItem<T> |
TreeViewBuilder.root |
private TreeItem<T> |
TreeView.EditEvent.treeItem |
private TreeItem<T> |
TreeItem.TreeModificationEvent.treeItem |
Modifier and Type | Field and Description |
---|---|
private java.util.List<? extends TreeItem<T>> |
TreeItem.TreeModificationEvent.added |
private ObservableList<TreeItem<T>> |
TreeItem.children |
private java.util.Collection<? extends TreeItem<T>> |
TreeItemBuilder.children |
private ListChangeListener<TreeItem<T>> |
TreeItem.childrenListener
*
Callbacks and events *
*
|
private ReadOnlyObjectWrapper<TreeItem<T>> |
TreeView.editingItem |
private ObjectProperty<FocusModel<TreeItem<T>>> |
TreeView.focusModel |
private FocusModel<TreeItem<T>> |
TreeViewBuilder.focusModel |
private ReadOnlyObjectWrapper<TreeItem<T>> |
TreeItem.parent |
private java.util.List<? extends TreeItem<T>> |
TreeItem.TreeModificationEvent.removed |
private ObjectProperty<TreeItem<T>> |
TreeView.root |
private ObjectProperty<MultipleSelectionModel<TreeItem<T>>> |
TreeView.selectionModel |
private MultipleSelectionModel<TreeItem<T>> |
TreeViewBuilder.selectionModel |
private ReadOnlyObjectWrapper<TreeItem<T>> |
TreeCell.treeItem
*
Properties *
*
|
Modifier and Type | Method and Description |
---|---|
TreeItem<T> |
TreeItemBuilder.build()
Make an instance of
TreeItem based on the properties set on this builder. |
TreeItem<T> |
TreeView.getEditingItem()
Returns the TreeItem that is currently being edited in the TreeView,
or null if no item is being edited.
|
private TreeItem |
TreeView.getItem(TreeItem<T> parent,
int itemIndex) |
TreeItem<T> |
TreeView.TreeViewBitSetSelectionModel.getModelItem(int index)
Returns the item at the given index.
|
protected TreeItem<T> |
TreeView.TreeViewFocusModel.getModelItem(int index) |
TreeItem<T> |
TreeItem.getParent()
The parent of this TreeItem.
|
TreeItem<T> |
TreeView.getRoot()
Returns the current root node of this TreeView, or null if no root node
is specified.
|
TreeItem |
TreeItem.TreeModificationEvent.getSource()
Returns the TreeItem upon which this event occurred.
|
TreeItem<T> |
TreeView.EditEvent.getTreeItem()
Returns the
TreeItem upon which the edit took place. |
TreeItem<T> |
TreeItem.TreeModificationEvent.getTreeItem()
Returns the TreeItem that this event occurred upon.
|
TreeItem<T> |
TreeCell.getTreeItem()
Returns the TreeItem currently set in this TreeCell.
|
TreeItem<T> |
TreeView.getTreeItem(int row)
Returns the TreeItem in the given index, or null if it is out of bounds.
|
TreeItem<T> |
TreeItem.nextSibling()
Returns the next sibling of the TreeItem.
|
TreeItem<T> |
TreeItem.nextSibling(TreeItem<T> afterNode)
Returns the next sibling after the given node.
|
TreeItem<T> |
TreeItem.previousSibling()
Returns the previous sibling of the TreeItem.
|
TreeItem<T> |
TreeItem.previousSibling(TreeItem<T> beforeNode)
Returns the previous sibling after the given node.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<TreeItem<T>> |
TreeView.editingItemProperty()
A property used to represent the TreeItem currently being edited
in the TreeView, if editing is taking place, or -1 if no item is being edited.
|
private ReadOnlyObjectWrapper<TreeItem<T>> |
TreeView.editingItemPropertyImpl() |
ObjectProperty<FocusModel<TreeItem<T>>> |
TreeView.focusModelProperty()
The FocusModel provides the API through which it is possible
to control focus on zero or one rows of the TreeView.
|
java.util.List<? extends TreeItem<T>> |
TreeItem.TreeModificationEvent.getAddedChildren()
Returns the children added to the TreeItem in this event, or an empty
list if no children were added.
|
ObservableList<TreeItem<T>> |
TreeItem.getChildren()
The children of this TreeItem.
|
FocusModel<TreeItem<T>> |
TreeView.getFocusModel()
Returns the currently installed
FocusModel . |
java.util.List<? extends TreeItem<T>> |
TreeItem.TreeModificationEvent.getRemovedChildren()
Returns the children removed from the TreeItem in this event, or an
empty list if no children were added.
|
MultipleSelectionModel<TreeItem<T>> |
TreeView.getSelectionModel()
Returns the currently installed selection model.
|
ReadOnlyObjectProperty<TreeItem<T>> |
TreeItem.parentProperty()
A property that represents the parent of this TreeItem.
|
ObjectProperty<TreeItem<T>> |
TreeView.rootProperty()
Property representing the root node of the TreeView.
|
ObjectProperty<MultipleSelectionModel<TreeItem<T>>> |
TreeView.selectionModelProperty()
The SelectionModel provides the API through which it is possible
to select single or multiple items within a TreeView, as well as inspect
which rows have been selected by the user.
|
ReadOnlyObjectProperty<TreeItem<T>> |
TreeCell.treeItemProperty()
Each TreeCell represents at most a single
TreeItem , which is
represented by this property. |
Modifier and Type | Method and Description |
---|---|
void |
TreeItemBuilder.applyTo(TreeItem<T> x) |
B |
TreeItemBuilder.children(TreeItem<T>... x)
Add the given items to the List of items in the
children property for the instance constructed by this builder. |
void |
TreeView.edit(TreeItem<T> item)
Instructs the TreeView to begin editing the given TreeItem, if
the TreeView is
editable . |
private int |
TreeView.getExpandedDescendantCount(TreeItem<T> node)
*
Private Implementation *
*
|
private TreeItem |
TreeView.getItem(TreeItem<T> parent,
int itemIndex) |
static int |
TreeView.getNodeLevel(TreeItem<?> node)
Returns the number of levels of 'indentation' of the given TreeItem,
based on how many times getParent() can be recursively called.
|
int |
TreeView.getRow(TreeItem<T> item)
Returns the index position of the given TreeItem, taking into account the
current state of each TreeItem (i.e.
|
TreeItem<T> |
TreeItem.nextSibling(TreeItem<T> afterNode)
Returns the next sibling after the given node.
|
TreeItem<T> |
TreeItem.previousSibling(TreeItem<T> beforeNode)
Returns the previous sibling after the given node.
|
B |
TreeViewBuilder.root(TreeItem<T> x)
Set the value of the
root property for the instance constructed by this builder. |
void |
TreeView.TreeViewBitSetSelectionModel.select(TreeItem<T> obj)
This method will attempt to select the index that contains the given
object.
|
private void |
TreeView.setEditingItem(TreeItem<T> value) |
private void |
TreeItem.setParent(TreeItem<T> value) |
void |
TreeView.setRoot(TreeItem<T> value)
Sets the root node in this TreeView.
|
private void |
TreeCell.setTreeItem(TreeItem<T> value) |
private static <T> void |
TreeItem.updateChildrenParent(java.util.List<? extends TreeItem<T>> treeItems,
TreeItem<T> parent) |
private void |
TreeView.TreeViewBitSetSelectionModel.updateTreeEventListener(TreeItem<T> oldRoot,
TreeItem<T> newRoot) |
private void |
TreeView.TreeViewBitSetSelectionModel.updateTreeEventListener(TreeItem<T> oldRoot,
TreeItem<T> newRoot) |
private void |
TreeView.TreeViewFocusModel.updateTreeEventListener(TreeItem<T> oldRoot,
TreeItem<T> newRoot) |
private void |
TreeView.TreeViewFocusModel.updateTreeEventListener(TreeItem<T> oldRoot,
TreeItem<T> newRoot) |
void |
TreeCell.updateTreeItem(TreeItem<T> treeItem)
Updates the TreeItem associated with this TreeCell.
|
Modifier and Type | Method and Description |
---|---|
B |
TreeItemBuilder.children(java.util.Collection<? extends TreeItem<T>> x)
Add the given items to the List of items in the
children property for the instance constructed by this builder. |
B |
TreeViewBuilder.focusModel(FocusModel<TreeItem<T>> x)
Set the value of the
focusModel property for the instance constructed by this builder. |
B |
TreeViewBuilder.selectionModel(MultipleSelectionModel<TreeItem<T>> x)
Set the value of the
selectionModel property for the instance constructed by this builder. |
void |
TreeView.setFocusModel(FocusModel<TreeItem<T>> value)
Sets the
FocusModel to be used in the TreeView. |
void |
TreeView.setSelectionModel(MultipleSelectionModel<TreeItem<T>> value)
Sets the
MultipleSelectionModel to be used in the TreeView. |
private void |
TreeItem.updateChildren(java.util.List<? extends TreeItem<T>> added,
java.util.List<? extends TreeItem<T>> removed) |
private void |
TreeItem.updateChildren(java.util.List<? extends TreeItem<T>> added,
java.util.List<? extends TreeItem<T>> removed) |
private static <T> void |
TreeItem.updateChildrenParent(java.util.List<? extends TreeItem<T>> treeItems,
TreeItem<T> parent) |
Constructor and Description |
---|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem)
Constructs a basic TreeModificationEvent - this is useful in situations
where the tree item has not received a new value, has not changed
between expanded/collapsed states, and whose children has not changed.
|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
boolean expanded)
Constructs a TreeModificationEvent for when the TreeItem has had its
expandedProperty() changed. |
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
java.util.List<? extends TreeItem<T>> added,
java.util.List<? extends TreeItem<T>> removed)
Constructs a TreeModificationEvent for when the TreeItem has had its
children list changed.
|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
T newValue)
Constructs a TreeModificationEvent for when the TreeItem has had its
valueProperty() changed. |
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(TreeItem<T> root)
Creates a TreeView with the provided root node.
|
Constructor and Description |
---|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
java.util.List<? extends TreeItem<T>> added,
java.util.List<? extends TreeItem<T>> removed)
Constructs a TreeModificationEvent for when the TreeItem has had its
children list changed.
|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
java.util.List<? extends TreeItem<T>> added,
java.util.List<? extends TreeItem<T>> removed)
Constructs a TreeModificationEvent for when the TreeItem has had its
children list changed.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<StringConverter<TreeItem<T>>> |
CheckBoxTreeCell.converter
*
Properties *
*
|
private StringConverter<TreeItem<T>> |
CheckBoxTreeCellBuilder.converter |
private ObjectProperty<Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>>> |
CheckBoxTreeCell.selectedStateCallback |
private Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> |
CheckBoxTreeCellBuilder.selectedStateCallback |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<StringConverter<TreeItem<T>>> |
CheckBoxTreeCell.converterProperty()
The
StringConverter property. |
(package private) static <T> StringConverter<TreeItem<T>> |
CellUtils.defaultTreeItemStringConverter() |
StringConverter<TreeItem<T>> |
CheckBoxTreeCell.getConverter()
Returns the
StringConverter used in this cell. |
Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> |
CheckBoxTreeCell.getSelectedStateCallback()
Returns the
Callback that is bound to by the CheckBox shown on screen. |
ObjectProperty<Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>>> |
CheckBoxTreeCell.selectedStateCallbackProperty()
Property representing the
Callback that is bound to by the
CheckBox shown on screen. |
Modifier and Type | Method and Description |
---|---|
B |
CheckBoxTreeCellBuilder.converter(StringConverter<TreeItem<T>> x)
Set the value of the
converter property for the instance constructed by this builder. |
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.
|
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.
|
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.
|
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.
|
B |
CheckBoxTreeCellBuilder.selectedStateCallback(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> x)
Set the value of the
selectedStateCallback property for the instance constructed by this builder. |
void |
CheckBoxTreeCell.setConverter(StringConverter<TreeItem<T>> value)
Sets the
StringConverter to be used in this cell. |
void |
CheckBoxTreeCell.setSelectedStateCallback(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> value)
Sets the
Callback that is bound to by the CheckBox shown on screen. |
Constructor and Description |
---|
CheckBoxTreeCell(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty)
Creates a
CheckBoxTreeCell for use in a TreeView control via a
cell factory. |
CheckBoxTreeCell(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter)
Creates a
CheckBoxTreeCell for use in a TreeView control via a
cell factory. |
CheckBoxTreeCell(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter)
Creates a
CheckBoxTreeCell for use in a TreeView control via a
cell factory. |
CheckBoxTreeCell(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter,
Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getIndeterminateProperty) |
CheckBoxTreeCell(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter,
Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getIndeterminateProperty) |
CheckBoxTreeCell(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter,
Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getIndeterminateProperty) |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to