public class AdapterFactoryTreeItem
extends javafx.scene.control.TreeItem<java.lang.Object>
TreeItem
that wraps an AdapterFactory
and retrieves its children from the
adapter-implemented ITreeItemContentProvider
interface.Constructor and Description |
---|
AdapterFactoryTreeItem(java.lang.Object object,
javafx.scene.control.Control treeView,
org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
Create a new instance
|
Modifier and Type | Method and Description |
---|---|
javafx.collections.ObservableList<javafx.scene.control.TreeItem<java.lang.Object>> |
getChildren()
This method overrides
TreeItem.getChildren() and returns an unmodifiable ObservableList
as the children may only be changed via the underlying model. |
addEventHandler, branchCollapsedEvent, branchExpandedEvent, buildEventDispatchChain, childrenModificationEvent, expandedItemCountChangeEvent, expandedProperty, getGraphic, getParent, getValue, graphicChangedEvent, graphicProperty, isExpanded, isLeaf, leafProperty, nextSibling, nextSibling, parentProperty, previousSibling, previousSibling, removeEventHandler, setExpanded, setGraphic, setValue, toString, treeNotificationEvent, valueChangedEvent, valueProperty
public AdapterFactoryTreeItem(java.lang.Object object, javafx.scene.control.Control treeView, org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
object
- the objecttreeView
- the treeadapterFactory
- the factorypublic javafx.collections.ObservableList<javafx.scene.control.TreeItem<java.lang.Object>> getChildren()
TreeItem.getChildren()
and returns an unmodifiable ObservableList
as the children may only be changed via the underlying model.getChildren
in class javafx.scene.control.TreeItem<java.lang.Object>