<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_141) on Mon Oct 30 09:22:15 GMT 2017 --> <title>TreeView (JavaFX 8)</title> <meta name="date" content="2017-10-30"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="TreeView (JavaFX 8)"; } } catch(err) { } //--> var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":41,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/TreeView.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/control/TreeTableView.TreeTableViewSelectionModel.html" title="class in javafx.scene.control"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/control/TreeView.html" target="_top">Frames</a></li> <li><a href="TreeView.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.class.summary">Nested</a> | </li> <li><a href="#fields.inherited.from.class.javafx.scene.layout.Region">Field</a> | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">javafx.scene.control</div> <h2 title="Class TreeView" class="title">Class TreeView<T></h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li><a href="../../../javafx/scene/Node.html" title="class in javafx.scene">javafx.scene.Node</a></li> <li> <ul class="inheritance"> <li><a href="../../../javafx/scene/Parent.html" title="class in javafx.scene">javafx.scene.Parent</a></li> <li> <ul class="inheritance"> <li><a href="../../../javafx/scene/layout/Region.html" title="class in javafx.scene.layout">javafx.scene.layout.Region</a></li> <li> <ul class="inheritance"> <li><a href="../../../javafx/scene/control/Control.html" title="class in javafx.scene.control">javafx.scene.control.Control</a></li> <li> <ul class="inheritance"> <li>javafx.scene.control.TreeView<T></li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> <dd><code>T</code> - The type of the item contained within the <a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control"><code>TreeItem</code></a> value property for all tree items in this TreeView.</dd> </dl> <dl> <dt>All Implemented Interfaces:</dt> <dd><a href="../../../javafx/css/Styleable.html" title="interface in javafx.css">Styleable</a>, <a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a>, <a href="../../../javafx/scene/control/Skinnable.html" title="interface in javafx.scene.control">Skinnable</a></dd> </dl> <hr> <br> <pre><a href="../../../javafx/beans/DefaultProperty.html" title="annotation in javafx.beans">@DefaultProperty</a>(<a href="../../../javafx/beans/DefaultProperty.html#value--">value</a>="root") public class <span class="typeNameLabel">TreeView<T></span> extends <a href="../../../javafx/scene/control/Control.html" title="class in javafx.scene.control">Control</a></pre> <div class="block">The TreeView control provides a view on to a tree root (of type <a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control"><code>TreeItem</code></a>). By using a TreeView, it is possible to drill down into the children of a TreeItem, recursively until a TreeItem has no children (that is, it is a <i>leaf</i> node in the tree). To facilitate this, unlike controls like <a href="../../../javafx/scene/control/ListView.html" title="class in javafx.scene.control"><code>ListView</code></a>, in TreeView it is necessary to <strong>only</strong> specify the <a href="../../../javafx/scene/control/TreeView.html#rootProperty--"><code>root</code></a> node. <p> For more information on building up a tree using this approach, refer to the <a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control"><code>TreeItem</code></a> class documentation. Briefly however, to create a TreeView, you should do something along the lines of the following: <pre><code> TreeItem<String> root = new TreeItem<String>("Root Node"); root.setExpanded(true); root.getChildren().addAll( new TreeItem<String>("Item 1"), new TreeItem<String>("Item 2"), new TreeItem<String>("Item 3") ); TreeView<String> treeView = new TreeView<String>(root); </code></pre> <p> A TreeView may be configured to optionally hide the root node by setting the <a href="../../../javafx/scene/control/TreeView.html#setShowRoot-boolean-"><code>showRoot</code></a> property to <code>false</code>. If the root node is hidden, there is one less level of indentation, and all children nodes of the root node are shown. By default, the root node is shown in the TreeView. <h3>TreeView Selection / Focus APIs</h3> <p>To track selection and focus, it is necessary to become familiar with the <a href="../../../javafx/scene/control/SelectionModel.html" title="class in javafx.scene.control"><code>SelectionModel</code></a> and <a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control"><code>FocusModel</code></a> classes. A TreeView has at most one instance of each of these classes, available from <a href="../../../javafx/scene/control/TreeView.html#selectionModelProperty--"><code>selectionModel</code></a> and <a href="../../../javafx/scene/control/TreeView.html#focusModelProperty--"><code>focusModel</code></a> properties respectively. Whilst it is possible to use this API to set a new selection model, in most circumstances this is not necessary - the default selection and focus models should work in most circumstances. <p>The default <a href="../../../javafx/scene/control/SelectionModel.html" title="class in javafx.scene.control"><code>SelectionModel</code></a> used when instantiating a TreeView is an implementation of the <a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control"><code>MultipleSelectionModel</code></a> abstract class. However, as noted in the API documentation for the <a href="../../../javafx/scene/control/MultipleSelectionModel.html#selectionModeProperty--"><code>selectionMode</code></a> property, the default value is <a href="../../../javafx/scene/control/SelectionMode.html#SINGLE"><code>SelectionMode.SINGLE</code></a>. To enable multiple selection in a default TreeView instance, it is therefore necessary to do the following: <pre> <code> treeView.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE);</code></pre> <h3>Customizing TreeView Visuals</h3> <p>The visuals of the TreeView can be entirely customized by replacing the default <a href="../../../javafx/scene/control/TreeView.html#cellFactoryProperty--"><code>cell factory</code></a>. A cell factory is used to generate <a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control"><code>TreeCell</code></a> instances, which are used to represent an item in the TreeView. See the <a href="../../../javafx/scene/control/Cell.html" title="class in javafx.scene.control"><code>Cell</code></a> class documentation for a more complete description of how to write custom Cells. <h3>Editing</h3> <p>This control supports inline editing of values, and this section attempts to give an overview of the available APIs and how you should use them.</p> <p>Firstly, cell editing most commonly requires a different user interface than when a cell is not being edited. This is the responsibility of the <a href="../../../javafx/scene/control/Cell.html" title="class in javafx.scene.control"><code>Cell</code></a> implementation being used. For TreeView, this is the responsibility of the <a href="../../../javafx/scene/control/TreeView.html#cellFactoryProperty--"><code>cell factory</code></a>. It is your choice whether the cell is permanently in an editing state (e.g. this is common for <a href="../../../javafx/scene/control/CheckBox.html" title="class in javafx.scene.control"><code>CheckBox</code></a> cells), or to switch to a different UI when editing begins (e.g. when a double-click is received on a cell).</p> <p>To know when editing has been requested on a cell, simply override the <a href="../../../javafx/scene/control/Cell.html#startEdit--"><code>Cell.startEdit()</code></a> method, and update the cell <a href="../../../javafx/scene/control/Labeled.html#textProperty--"><code>text</code></a> and <a href="../../../javafx/scene/control/Labeled.html#graphicProperty--"><code>graphic</code></a> properties as appropriate (e.g. set the text to null and set the graphic to be a <a href="../../../javafx/scene/control/TextField.html" title="class in javafx.scene.control"><code>TextField</code></a>). Additionally, you should also override <a href="../../../javafx/scene/control/Cell.html#cancelEdit--"><code>Cell.cancelEdit()</code></a> to reset the UI back to its original visual state when the editing concludes. In both cases it is important that you also ensure that you call the super method to have the cell perform all duties it must do to enter or exit its editing mode.</p> <p>Once your cell is in an editing state, the next thing you are most probably interested in is how to commit or cancel the editing that is taking place. This is your responsibility as the cell factory provider. Your cell implementation will know when the editing is over, based on the user input (e.g. when the user presses the Enter or ESC keys on their keyboard). When this happens, it is your responsibility to call <a href="../../../javafx/scene/control/Cell.html#commitEdit-T-"><code>Cell.commitEdit(Object)</code></a> or <a href="../../../javafx/scene/control/Cell.html#cancelEdit--"><code>Cell.cancelEdit()</code></a>, as appropriate.</p> <p>When you call <a href="../../../javafx/scene/control/Cell.html#commitEdit-T-"><code>Cell.commitEdit(Object)</code></a> an event is fired to the TreeView, which you can observe by adding an <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> via <a href="../../../javafx/scene/control/TreeView.html#setOnEditCommit-javafx.event.EventHandler-"><code>setOnEditCommit(javafx.event.EventHandler)</code></a>. Similarly, you can also observe edit events for <a href="../../../javafx/scene/control/TreeView.html#setOnEditStart-javafx.event.EventHandler-"><code>edit start</code></a> and <a href="../../../javafx/scene/control/TreeView.html#setOnEditCancel-javafx.event.EventHandler-"><code>edit cancel</code></a>.</p> <p>By default the TreeView edit commit handler is non-null, with a default handler that attempts to overwrite the property value for the item in the currently-being-edited row. It is able to do this as the <a href="../../../javafx/scene/control/Cell.html#commitEdit-T-"><code>Cell.commitEdit(Object)</code></a> method is passed in the new value, and this is passed along to the edit commit handler via the <a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control"><code>TreeView.EditEvent</code></a> that is fired. It is simply a matter of calling <a href="../../../javafx/scene/control/TreeView.EditEvent.html#getNewValue--"><code>TreeView.EditEvent.getNewValue()</code></a> to retrieve this value. <p>It is very important to note that if you call <a href="../../../javafx/scene/control/TreeView.html#setOnEditCommit-javafx.event.EventHandler-"><code>setOnEditCommit(javafx.event.EventHandler)</code></a> with your own <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a>, then you will be removing the default handler. Unless you then handle the writeback to the property (or the relevant data source), nothing will happen. You can work around this by using the <a href="../../../javafx/scene/Node.html#addEventHandler-javafx.event.EventType-javafx.event.EventHandler-"><code>Node.addEventHandler(javafx.event.EventType, javafx.event.EventHandler)</code></a> method to add a <a href="../../../javafx/scene/control/TreeView.html#EDIT_COMMIT_EVENT"><code>EDIT_COMMIT_EVENT</code></a> <a href="../../../javafx/event/EventType.html" title="class in javafx.event"><code>EventType</code></a> with your desired <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> as the second argument. Using this method, you will not replace the default implementation, but you will be notified when an edit commit has occurred.</p> <p>Hopefully this summary answers some of the commonly asked questions. Fortunately, JavaFX ships with a number of pre-built cell factories that handle all the editing requirements on your behalf. You can find these pre-built cell factories in the javafx.scene.control.cell package.</p></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control"><code>TreeItem</code></a>, <a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control"><code>TreeCell</code></a></dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== PROPERTY SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="property.summary"> <!-- --> </a> <h3>Property Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Property Summary table, listing properties, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Type</th> <th class="colLast" scope="col">Property and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a><<a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control">TreeView</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>,<a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control">TreeCell</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#cellFactoryProperty">cellFactory</a></span></code> <div class="block">Represents the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#editableProperty">editable</a></span></code> <div class="block">Specifies whether this TreeView is editable - only if the TreeView and the TreeCells within it are both editable will a TreeCell be able to go into their editing state.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#editingItemProperty">editingItem</a></span></code> <div class="block">A property used to represent the TreeItem currently being edited in the TreeView, if editing is taking place, or null if no item is being edited.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyIntegerProperty.html" title="class in javafx.beans.property">ReadOnlyIntegerProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#expandedItemCountProperty">expandedItemCount</a></span></code> <div class="block">Represents the number of tree nodes presently able to be visible in the TreeView.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#fixedCellSizeProperty">fixedCellSize</a></span></code> <div class="block">Specifies whether this control has cells that are a fixed height (of the specified value).</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#focusModelProperty">focusModel</a></span></code> <div class="block">The FocusModel provides the API through which it is possible to control focus on zero or one rows of the TreeView.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#onEditCancelProperty">onEditCancel</a></span></code> <div class="block">This event handler will be fired when the user cancels editing a cell.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#onEditCommitProperty">onEditCommit</a></span></code> <div class="block">This property is used when the user performs an action that should result in their editing input being persisted.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#onEditStartProperty">onEditStart</a></span></code> <div class="block">This event handler will be fired when the user successfully initiates editing.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><java.lang.Integer>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#onScrollToProperty">onScrollTo</a></span></code> <div class="block">Called when there's a request to scroll an index into view using <a href="../../../javafx/scene/control/TreeView.html#scrollTo-int-"><code>scrollTo(int)</code></a></div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#rootProperty">root</a></span></code> <div class="block">Property representing the root node of the TreeView.</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control">MultipleSelectionModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#selectionModelProperty">selectionModel</a></span></code> <div class="block">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.</div> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#showRootProperty">showRoot</a></span></code> <div class="block">Property that represents whether or not the TreeView root node is visible.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="properties.inherited.from.class.javafx.scene.control.Control"> <!-- --> </a> <h3>Properties inherited from class javafx.scene.control.<a href="../../../javafx/scene/control/Control.html" title="class in javafx.scene.control">Control</a></h3> <code><a href="../../../javafx/scene/control/Control.html#contextMenuProperty">contextMenu</a>, <a href="../../../javafx/scene/control/Control.html#skinProperty">skin</a>, <a href="../../../javafx/scene/control/Control.html#tooltipProperty">tooltip</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="properties.inherited.from.class.javafx.scene.layout.Region"> <!-- --> </a> <h3>Properties inherited from class javafx.scene.layout.<a href="../../../javafx/scene/layout/Region.html" title="class in javafx.scene.layout">Region</a></h3> <code><a href="../../../javafx/scene/layout/Region.html#backgroundProperty">background</a>, <a href="../../../javafx/scene/layout/Region.html#borderProperty">border</a>, <a href="../../../javafx/scene/layout/Region.html#cacheShapeProperty">cacheShape</a>, <a href="../../../javafx/scene/layout/Region.html#centerShapeProperty">centerShape</a>, <a href="../../../javafx/scene/layout/Region.html#heightProperty">height</a>, <a href="../../../javafx/scene/layout/Region.html#insetsProperty">insets</a>, <a href="../../../javafx/scene/layout/Region.html#maxHeightProperty">maxHeight</a>, <a href="../../../javafx/scene/layout/Region.html#maxWidthProperty">maxWidth</a>, <a href="../../../javafx/scene/layout/Region.html#minHeightProperty">minHeight</a>, <a href="../../../javafx/scene/layout/Region.html#minWidthProperty">minWidth</a>, <a href="../../../javafx/scene/layout/Region.html#opaqueInsetsProperty">opaqueInsets</a>, <a href="../../../javafx/scene/layout/Region.html#paddingProperty">padding</a>, <a href="../../../javafx/scene/layout/Region.html#prefHeightProperty">prefHeight</a>, <a href="../../../javafx/scene/layout/Region.html#prefWidthProperty">prefWidth</a>, <a href="../../../javafx/scene/layout/Region.html#scaleShapeProperty">scaleShape</a>, <a href="../../../javafx/scene/layout/Region.html#shapeProperty">shape</a>, <a href="../../../javafx/scene/layout/Region.html#snapToPixelProperty">snapToPixel</a>, <a href="../../../javafx/scene/layout/Region.html#widthProperty">width</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="properties.inherited.from.class.javafx.scene.Parent"> <!-- --> </a> <h3>Properties inherited from class javafx.scene.<a href="../../../javafx/scene/Parent.html" title="class in javafx.scene">Parent</a></h3> <code><a href="../../../javafx/scene/Parent.html#needsLayoutProperty">needsLayout</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="properties.inherited.from.class.javafx.scene.Node"> <!-- --> </a> <h3>Properties inherited from class javafx.scene.<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a></h3> <code><a href="../../../javafx/scene/Node.html#accessibleHelpProperty">accessibleHelp</a>, <a href="../../../javafx/scene/Node.html#accessibleRoleDescriptionProperty">accessibleRoleDescription</a>, <a href="../../../javafx/scene/Node.html#accessibleRoleProperty">accessibleRole</a>, <a href="../../../javafx/scene/Node.html#accessibleTextProperty">accessibleText</a>, <a href="../../../javafx/scene/Node.html#blendModeProperty">blendMode</a>, <a href="../../../javafx/scene/Node.html#boundsInLocalProperty">boundsInLocal</a>, <a href="../../../javafx/scene/Node.html#boundsInParentProperty">boundsInParent</a>, <a href="../../../javafx/scene/Node.html#cacheHintProperty">cacheHint</a>, <a href="../../../javafx/scene/Node.html#cacheProperty">cache</a>, <a href="../../../javafx/scene/Node.html#clipProperty">clip</a>, <a href="../../../javafx/scene/Node.html#cursorProperty">cursor</a>, <a href="../../../javafx/scene/Node.html#depthTestProperty">depthTest</a>, <a href="../../../javafx/scene/Node.html#disabledProperty">disabled</a>, <a href="../../../javafx/scene/Node.html#disableProperty">disable</a>, <a href="../../../javafx/scene/Node.html#effectiveNodeOrientationProperty">effectiveNodeOrientation</a>, <a href="../../../javafx/scene/Node.html#effectProperty">effect</a>, <a href="../../../javafx/scene/Node.html#eventDispatcherProperty">eventDispatcher</a>, <a href="../../../javafx/scene/Node.html#focusedProperty">focused</a>, <a href="../../../javafx/scene/Node.html#focusTraversableProperty">focusTraversable</a>, <a href="../../../javafx/scene/Node.html#hoverProperty">hover</a>, <a href="../../../javafx/scene/Node.html#idProperty">id</a>, <a href="../../../javafx/scene/Node.html#inputMethodRequestsProperty">inputMethodRequests</a>, <a href="../../../javafx/scene/Node.html#layoutBoundsProperty">layoutBounds</a>, <a href="../../../javafx/scene/Node.html#layoutXProperty">layoutX</a>, <a href="../../../javafx/scene/Node.html#layoutYProperty">layoutY</a>, <a href="../../../javafx/scene/Node.html#localToParentTransformProperty">localToParentTransform</a>, <a href="../../../javafx/scene/Node.html#localToSceneTransformProperty">localToSceneTransform</a>, <a href="../../../javafx/scene/Node.html#managedProperty">managed</a>, <a href="../../../javafx/scene/Node.html#mouseTransparentProperty">mouseTransparent</a>, <a href="../../../javafx/scene/Node.html#nodeOrientationProperty">nodeOrientation</a>, <a href="../../../javafx/scene/Node.html#onContextMenuRequestedProperty">onContextMenuRequested</a>, <a href="../../../javafx/scene/Node.html#onDragDetectedProperty">onDragDetected</a>, <a href="../../../javafx/scene/Node.html#onDragDoneProperty">onDragDone</a>, <a href="../../../javafx/scene/Node.html#onDragDroppedProperty">onDragDropped</a>, <a href="../../../javafx/scene/Node.html#onDragEnteredProperty">onDragEntered</a>, <a href="../../../javafx/scene/Node.html#onDragExitedProperty">onDragExited</a>, <a href="../../../javafx/scene/Node.html#onDragOverProperty">onDragOver</a>, <a href="../../../javafx/scene/Node.html#onInputMethodTextChangedProperty">onInputMethodTextChanged</a>, <a href="../../../javafx/scene/Node.html#onKeyPressedProperty">onKeyPressed</a>, <a href="../../../javafx/scene/Node.html#onKeyReleasedProperty">onKeyReleased</a>, <a href="../../../javafx/scene/Node.html#onKeyTypedProperty">onKeyTyped</a>, <a href="../../../javafx/scene/Node.html#onMouseClickedProperty">onMouseClicked</a>, <a href="../../../javafx/scene/Node.html#onMouseDragEnteredProperty">onMouseDragEntered</a>, <a href="../../../javafx/scene/Node.html#onMouseDragExitedProperty">onMouseDragExited</a>, <a href="../../../javafx/scene/Node.html#onMouseDraggedProperty">onMouseDragged</a>, <a href="../../../javafx/scene/Node.html#onMouseDragOverProperty">onMouseDragOver</a>, <a href="../../../javafx/scene/Node.html#onMouseDragReleasedProperty">onMouseDragReleased</a>, <a href="../../../javafx/scene/Node.html#onMouseEnteredProperty">onMouseEntered</a>, <a href="../../../javafx/scene/Node.html#onMouseExitedProperty">onMouseExited</a>, <a href="../../../javafx/scene/Node.html#onMouseMovedProperty">onMouseMoved</a>, <a href="../../../javafx/scene/Node.html#onMousePressedProperty">onMousePressed</a>, <a href="../../../javafx/scene/Node.html#onMouseReleasedProperty">onMouseReleased</a>, <a href="../../../javafx/scene/Node.html#onRotateProperty">onRotate</a>, <a href="../../../javafx/scene/Node.html#onRotationFinishedProperty">onRotationFinished</a>, <a href="../../../javafx/scene/Node.html#onRotationStartedProperty">onRotationStarted</a>, <a href="../../../javafx/scene/Node.html#onScrollFinishedProperty">onScrollFinished</a>, <a href="../../../javafx/scene/Node.html#onScrollProperty">onScroll</a>, <a href="../../../javafx/scene/Node.html#onScrollStartedProperty">onScrollStarted</a>, <a href="../../../javafx/scene/Node.html#onSwipeDownProperty">onSwipeDown</a>, <a href="../../../javafx/scene/Node.html#onSwipeLeftProperty">onSwipeLeft</a>, <a href="../../../javafx/scene/Node.html#onSwipeRightProperty">onSwipeRight</a>, <a href="../../../javafx/scene/Node.html#onSwipeUpProperty">onSwipeUp</a>, <a href="../../../javafx/scene/Node.html#onTouchMovedProperty">onTouchMoved</a>, <a href="../../../javafx/scene/Node.html#onTouchPressedProperty">onTouchPressed</a>, <a href="../../../javafx/scene/Node.html#onTouchReleasedProperty">onTouchReleased</a>, <a href="../../../javafx/scene/Node.html#onTouchStationaryProperty">onTouchStationary</a>, <a href="../../../javafx/scene/Node.html#onZoomFinishedProperty">onZoomFinished</a>, <a href="../../../javafx/scene/Node.html#onZoomProperty">onZoom</a>, <a href="../../../javafx/scene/Node.html#onZoomStartedProperty">onZoomStarted</a>, <a href="../../../javafx/scene/Node.html#opacityProperty">opacity</a>, <a href="../../../javafx/scene/Node.html#parentProperty">parent</a>, <a href="../../../javafx/scene/Node.html#pickOnBoundsProperty">pickOnBounds</a>, <a href="../../../javafx/scene/Node.html#pressedProperty">pressed</a>, <a href="../../../javafx/scene/Node.html#rotateProperty">rotate</a>, <a href="../../../javafx/scene/Node.html#rotationAxisProperty">rotationAxis</a>, <a href="../../../javafx/scene/Node.html#scaleXProperty">scaleX</a>, <a href="../../../javafx/scene/Node.html#scaleYProperty">scaleY</a>, <a href="../../../javafx/scene/Node.html#scaleZProperty">scaleZ</a>, <a href="../../../javafx/scene/Node.html#sceneProperty">scene</a>, <a href="../../../javafx/scene/Node.html#styleProperty">style</a>, <a href="../../../javafx/scene/Node.html#translateXProperty">translateX</a>, <a href="../../../javafx/scene/Node.html#translateYProperty">translateY</a>, <a href="../../../javafx/scene/Node.html#translateZProperty">translateZ</a>, <a href="../../../javafx/scene/Node.html#visibleProperty">visible</a></code></li> </ul> </li> </ul> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested.class.summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Class and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="type parameter in TreeView.EditEvent">T</a>></span></code> <div class="block">An <a href="../../../javafx/event/Event.html" title="class in javafx.event"><code>Event</code></a> subclass used specifically in TreeView for representing edit-related events.</div> </td> </tr> </table> </li> </ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field.summary"> <!-- --> </a> <h3>Field Summary</h3> <ul class="blockList"> <li class="blockList"><a name="fields.inherited.from.class.javafx.scene.layout.Region"> <!-- --> </a> <h3>Fields inherited from class javafx.scene.layout.<a href="../../../javafx/scene/layout/Region.html" title="class in javafx.scene.layout">Region</a></h3> <code><a href="../../../javafx/scene/layout/Region.html#USE_COMPUTED_SIZE">USE_COMPUTED_SIZE</a>, <a href="../../../javafx/scene/layout/Region.html#USE_PREF_SIZE">USE_PREF_SIZE</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="fields.inherited.from.class.javafx.scene.Node"> <!-- --> </a> <h3>Fields inherited from class javafx.scene.<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a></h3> <code><a href="../../../javafx/scene/Node.html#BASELINE_OFFSET_SAME_AS_HEIGHT">BASELINE_OFFSET_SAME_AS_HEIGHT</a></code></li> </ul> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#TreeView--">TreeView</a></span>()</code> <div class="block">Creates an empty TreeView.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#TreeView-javafx.scene.control.TreeItem-">TreeView</a></span>(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> root)</code> <div class="block">Creates a TreeView with the provided root node.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a><<a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control">TreeView</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>,<a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control">TreeCell</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#cellFactoryProperty--">cellFactoryProperty</a></span>()</code> <div class="block">Represents the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>protected <a href="../../../javafx/scene/control/Skin.html" title="interface in javafx.scene.control">Skin</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#createDefaultSkin--">createDefaultSkin</a></span>()</code> <div class="block">Create a new instance of the default skin for this control.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#edit-javafx.scene.control.TreeItem-">edit</a></span>(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> item)</code> <div class="block">Instructs the TreeView to begin editing the given TreeItem, if the TreeView is <a href="../../../javafx/scene/control/TreeView.html#editableProperty--"><code>editable</code></a>.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#editableProperty--">editableProperty</a></span>()</code> <div class="block">Specifies whether this TreeView is editable - only if the TreeView and the TreeCells within it are both editable will a TreeCell be able to go into their editing state.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>static <T> <a href="../../../javafx/event/EventType.html" title="class in javafx.event">EventType</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><T>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#editAnyEvent--">editAnyEvent</a></span>()</code> <div class="block">An EventType that indicates some edit event has occurred.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>static <T> <a href="../../../javafx/event/EventType.html" title="class in javafx.event">EventType</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><T>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#editCancelEvent--">editCancelEvent</a></span>()</code> <div class="block">An EventType used to indicate that an edit event has just been canceled within the TreeView upon which the event was fired.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>static <T> <a href="../../../javafx/event/EventType.html" title="class in javafx.event">EventType</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><T>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#editCommitEvent--">editCommitEvent</a></span>()</code> <div class="block">An EventType that is used to indicate that an edit in a TreeView has been committed.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#editingItemProperty--">editingItemProperty</a></span>()</code> <div class="block">A property used to represent the TreeItem currently being edited in the TreeView, if editing is taking place, or null if no item is being edited.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code>static <T> <a href="../../../javafx/event/EventType.html" title="class in javafx.event">EventType</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><T>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#editStartEvent--">editStartEvent</a></span>()</code> <div class="block">An EventType used to indicate that an edit event has started within the TreeView upon which the event was fired.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyIntegerProperty.html" title="class in javafx.beans.property">ReadOnlyIntegerProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#expandedItemCountProperty--">expandedItemCountProperty</a></span>()</code> <div class="block">Represents the number of tree nodes presently able to be visible in the TreeView.</div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#fixedCellSizeProperty--">fixedCellSizeProperty</a></span>()</code> <div class="block">Specifies whether this control has cells that are a fixed height (of the specified value).</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#focusModelProperty--">focusModelProperty</a></span>()</code> <div class="block">The FocusModel provides the API through which it is possible to control focus on zero or one rows of the TreeView.</div> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a><<a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control">TreeView</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>,<a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control">TreeCell</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getCellFactory--">getCellFactory</a></span>()</code> <div class="block">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.</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code>static java.util.List<<a href="../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><? extends <a href="../../../javafx/css/Styleable.html" title="interface in javafx.css">Styleable</a>,?>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getClassCssMetaData--">getClassCssMetaData</a></span>()</code> </td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code>java.util.List<<a href="../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><? extends <a href="../../../javafx/css/Styleable.html" title="interface in javafx.css">Styleable</a>,?>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getControlCssMetaData--">getControlCssMetaData</a></span>()</code></td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getEditingItem--">getEditingItem</a></span>()</code> <div class="block">Returns the TreeItem that is currently being edited in the TreeView, or null if no item is being edited.</div> </td> </tr> <tr id="i16" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getExpandedItemCount--">getExpandedItemCount</a></span>()</code> <div class="block">Gets the value of the property expandedItemCount.</div> </td> </tr> <tr id="i17" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getFixedCellSize--">getFixedCellSize</a></span>()</code> <div class="block">Returns the fixed cell size value.</div> </td> </tr> <tr id="i18" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getFocusModel--">getFocusModel</a></span>()</code> <div class="block">Returns the currently installed <a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control"><code>FocusModel</code></a>.</div> </td> </tr> <tr id="i19" class="rowColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getNodeLevel-javafx.scene.control.TreeItem-">getNodeLevel</a></span>(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><?> node)</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <div class="block"><span class="deprecationComment">This method does not correctly calculate the distance from the given TreeItem to the root of the TreeView. As of JavaFX 8.0_20, the proper way to do this is via <a href="../../../javafx/scene/control/TreeView.html#getTreeItemLevel-javafx.scene.control.TreeItem-"><code>getTreeItemLevel(TreeItem)</code></a></span></div> </div> </td> </tr> <tr id="i20" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getOnEditCancel--">getOnEditCancel</a></span>()</code> <div class="block">Returns the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user cancels an edit.</div> </td> </tr> <tr id="i21" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getOnEditCommit--">getOnEditCommit</a></span>()</code> <div class="block">Returns the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user commits an edit.</div> </td> </tr> <tr id="i22" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getOnEditStart--">getOnEditStart</a></span>()</code> <div class="block">Returns the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user begins an edit.</div> </td> </tr> <tr id="i23" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><java.lang.Integer>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getOnScrollTo--">getOnScrollTo</a></span>()</code> <div class="block">Gets the value of the property onScrollTo.</div> </td> </tr> <tr id="i24" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getRoot--">getRoot</a></span>()</code> <div class="block">Returns the current root node of this TreeView, or null if no root node is specified.</div> </td> </tr> <tr id="i25" class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getRow-javafx.scene.control.TreeItem-">getRow</a></span>(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> item)</code> <div class="block">Returns the index position of the given TreeItem, assuming that it is currently accessible through the tree hierarchy (most notably, that all parent tree items are expanded).</div> </td> </tr> <tr id="i26" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control">MultipleSelectionModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getSelectionModel--">getSelectionModel</a></span>()</code> <div class="block">Returns the currently installed selection model.</div> </td> </tr> <tr id="i27" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getTreeItem-int-">getTreeItem</a></span>(int row)</code> <div class="block">Returns the TreeItem in the given index, or null if it is out of bounds.</div> </td> </tr> <tr id="i28" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#getTreeItemLevel-javafx.scene.control.TreeItem-">getTreeItemLevel</a></span>(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><?> node)</code> <div class="block">Returns the number of levels of 'indentation' of the given TreeItem, based on how many times getParent() can be recursively called.</div> </td> </tr> <tr id="i29" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#isEditable--">isEditable</a></span>()</code> <div class="block">Gets the value of the property editable.</div> </td> </tr> <tr id="i30" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#isShowRoot--">isShowRoot</a></span>()</code> <div class="block">Returns true if the root of the TreeView should be shown, and false if it should not.</div> </td> </tr> <tr id="i31" class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#layoutChildren--">layoutChildren</a></span>()</code> <div class="block">Invoked during the layout pass to layout the children in this <code>Parent</code>.</div> </td> </tr> <tr id="i32" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#onEditCancelProperty--">onEditCancelProperty</a></span>()</code> <div class="block">This event handler will be fired when the user cancels editing a cell.</div> </td> </tr> <tr id="i33" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#onEditCommitProperty--">onEditCommitProperty</a></span>()</code> <div class="block">This property is used when the user performs an action that should result in their editing input being persisted.</div> </td> </tr> <tr id="i34" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#onEditStartProperty--">onEditStartProperty</a></span>()</code> <div class="block">This event handler will be fired when the user successfully initiates editing.</div> </td> </tr> <tr id="i35" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><java.lang.Integer>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#onScrollToProperty--">onScrollToProperty</a></span>()</code> <div class="block">Called when there's a request to scroll an index into view using <a href="../../../javafx/scene/control/TreeView.html#scrollTo-int-"><code>scrollTo(int)</code></a></div> </td> </tr> <tr id="i36" class="altColor"> <td class="colFirst"><code>java.lang.Object</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#queryAccessibleAttribute-javafx.scene.AccessibleAttribute-java.lang.Object...-">queryAccessibleAttribute</a></span>(<a href="../../../javafx/scene/AccessibleAttribute.html" title="enum in javafx.scene">AccessibleAttribute</a> attribute, java.lang.Object... parameters)</code> <div class="block">* Accessibility handling * *</div> </td> </tr> <tr id="i37" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#refresh--">refresh</a></span>()</code> <div class="block">Calling <code>refresh()</code> forces the TreeView control to recreate and repopulate the cells necessary to populate the visual bounds of the control.</div> </td> </tr> <tr id="i38" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#rootProperty--">rootProperty</a></span>()</code> <div class="block">Property representing the root node of the TreeView.</div> </td> </tr> <tr id="i39" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#scrollTo-int-">scrollTo</a></span>(int index)</code> <div class="block">Scrolls the TreeView such that the item in the given index is visible to the end user.</div> </td> </tr> <tr id="i40" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control">MultipleSelectionModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#selectionModelProperty--">selectionModelProperty</a></span>()</code> <div class="block">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.</div> </td> </tr> <tr id="i41" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setCellFactory-javafx.util.Callback-">setCellFactory</a></span>(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a><<a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control">TreeView</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>,<a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control">TreeCell</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</code> <div class="block">Sets the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView.</div> </td> </tr> <tr id="i42" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setEditable-boolean-">setEditable</a></span>(boolean value)</code> <div class="block">Sets the value of the property editable.</div> </td> </tr> <tr id="i43" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setFixedCellSize-double-">setFixedCellSize</a></span>(double value)</code> <div class="block">Sets the new fixed cell size for this control.</div> </td> </tr> <tr id="i44" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setFocusModel-javafx.scene.control.FocusModel-">setFocusModel</a></span>(<a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</code> <div class="block">Sets the <a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control"><code>FocusModel</code></a> to be used in the TreeView.</div> </td> </tr> <tr id="i45" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setOnEditCancel-javafx.event.EventHandler-">setOnEditCancel</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</code> <div class="block">Sets the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user cancels an edit.</div> </td> </tr> <tr id="i46" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setOnEditCommit-javafx.event.EventHandler-">setOnEditCommit</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</code> <div class="block">Sets the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user commits an edit.</div> </td> </tr> <tr id="i47" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setOnEditStart-javafx.event.EventHandler-">setOnEditStart</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</code> <div class="block">Sets the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user begins an edit.</div> </td> </tr> <tr id="i48" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setOnScrollTo-javafx.event.EventHandler-">setOnScrollTo</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><java.lang.Integer>> value)</code> <div class="block">Sets the value of the property onScrollTo.</div> </td> </tr> <tr id="i49" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setRoot-javafx.scene.control.TreeItem-">setRoot</a></span>(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> value)</code> <div class="block">Sets the root node in this TreeView.</div> </td> </tr> <tr id="i50" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setSelectionModel-javafx.scene.control.MultipleSelectionModel-">setSelectionModel</a></span>(<a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control">MultipleSelectionModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</code> <div class="block">Sets the <a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control"><code>MultipleSelectionModel</code></a> to be used in the TreeView.</div> </td> </tr> <tr id="i51" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#setShowRoot-boolean-">setShowRoot</a></span>(boolean value)</code> <div class="block">Specifies whether the root <code>TreeItem</code> should be shown within this TreeView.</div> </td> </tr> <tr id="i52" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/TreeView.html#showRootProperty--">showRootProperty</a></span>()</code> <div class="block">Property that represents whether or not the TreeView root node is visible.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.scene.control.Control"> <!-- --> </a> <h3>Methods inherited from class javafx.scene.control.<a href="../../../javafx/scene/control/Control.html" title="class in javafx.scene.control">Control</a></h3> <code><a href="../../../javafx/scene/control/Control.html#computeMaxHeight-double-">computeMaxHeight</a>, <a href="../../../javafx/scene/control/Control.html#computeMaxWidth-double-">computeMaxWidth</a>, <a href="../../../javafx/scene/control/Control.html#computeMinHeight-double-">computeMinHeight</a>, <a href="../../../javafx/scene/control/Control.html#computeMinWidth-double-">computeMinWidth</a>, <a href="../../../javafx/scene/control/Control.html#computePrefHeight-double-">computePrefHeight</a>, <a href="../../../javafx/scene/control/Control.html#computePrefWidth-double-">computePrefWidth</a>, <a href="../../../javafx/scene/control/Control.html#contextMenuProperty--">contextMenuProperty</a>, <a href="../../../javafx/scene/control/Control.html#executeAccessibleAction-javafx.scene.AccessibleAction-java.lang.Object...-">executeAccessibleAction</a>, <a href="../../../javafx/scene/control/Control.html#getBaselineOffset--">getBaselineOffset</a>, <a href="../../../javafx/scene/control/Control.html#getContextMenu--">getContextMenu</a>, <a href="../../../javafx/scene/control/Control.html#getCssMetaData--">getCssMetaData</a>, <a href="../../../javafx/scene/control/Control.html#getSkin--">getSkin</a>, <a href="../../../javafx/scene/control/Control.html#getTooltip--">getTooltip</a>, <a href="../../../javafx/scene/control/Control.html#isResizable--">isResizable</a>, <a href="../../../javafx/scene/control/Control.html#setContextMenu-javafx.scene.control.ContextMenu-">setContextMenu</a>, <a href="../../../javafx/scene/control/Control.html#setSkin-javafx.scene.control.Skin-">setSkin</a>, <a href="../../../javafx/scene/control/Control.html#setTooltip-javafx.scene.control.Tooltip-">setTooltip</a>, <a href="../../../javafx/scene/control/Control.html#skinProperty--">skinProperty</a>, <a href="../../../javafx/scene/control/Control.html#tooltipProperty--">tooltipProperty</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.scene.layout.Region"> <!-- --> </a> <h3>Methods inherited from class javafx.scene.layout.<a href="../../../javafx/scene/layout/Region.html" title="class in javafx.scene.layout">Region</a></h3> <code><a href="../../../javafx/scene/layout/Region.html#backgroundProperty--">backgroundProperty</a>, <a href="../../../javafx/scene/layout/Region.html#borderProperty--">borderProperty</a>, <a href="../../../javafx/scene/layout/Region.html#cacheShapeProperty--">cacheShapeProperty</a>, <a href="../../../javafx/scene/layout/Region.html#centerShapeProperty--">centerShapeProperty</a>, <a href="../../../javafx/scene/layout/Region.html#getBackground--">getBackground</a>, <a href="../../../javafx/scene/layout/Region.html#getBorder--">getBorder</a>, <a href="../../../javafx/scene/layout/Region.html#getHeight--">getHeight</a>, <a href="../../../javafx/scene/layout/Region.html#getInsets--">getInsets</a>, <a href="../../../javafx/scene/layout/Region.html#getMaxHeight--">getMaxHeight</a>, <a href="../../../javafx/scene/layout/Region.html#getMaxWidth--">getMaxWidth</a>, <a href="../../../javafx/scene/layout/Region.html#getMinHeight--">getMinHeight</a>, <a href="../../../javafx/scene/layout/Region.html#getMinWidth--">getMinWidth</a>, <a href="../../../javafx/scene/layout/Region.html#getOpaqueInsets--">getOpaqueInsets</a>, <a href="../../../javafx/scene/layout/Region.html#getPadding--">getPadding</a>, <a href="../../../javafx/scene/layout/Region.html#getPrefHeight--">getPrefHeight</a>, <a href="../../../javafx/scene/layout/Region.html#getPrefWidth--">getPrefWidth</a>, <a href="../../../javafx/scene/layout/Region.html#getShape--">getShape</a>, <a href="../../../javafx/scene/layout/Region.html#getUserAgentStylesheet--">getUserAgentStylesheet</a>, <a href="../../../javafx/scene/layout/Region.html#getWidth--">getWidth</a>, <a href="../../../javafx/scene/layout/Region.html#heightProperty--">heightProperty</a>, <a href="../../../javafx/scene/layout/Region.html#insetsProperty--">insetsProperty</a>, <a href="../../../javafx/scene/layout/Region.html#isCacheShape--">isCacheShape</a>, <a href="../../../javafx/scene/layout/Region.html#isCenterShape--">isCenterShape</a>, <a href="../../../javafx/scene/layout/Region.html#isScaleShape--">isScaleShape</a>, <a href="../../../javafx/scene/layout/Region.html#isSnapToPixel--">isSnapToPixel</a>, <a href="../../../javafx/scene/layout/Region.html#layoutInArea-javafx.scene.Node-double-double-double-double-double-javafx.geometry.HPos-javafx.geometry.VPos-">layoutInArea</a>, <a href="../../../javafx/scene/layout/Region.html#layoutInArea-javafx.scene.Node-double-double-double-double-double-javafx.geometry.Insets-boolean-boolean-javafx.geometry.HPos-javafx.geometry.VPos-">layoutInArea</a>, <a href="../../../javafx/scene/layout/Region.html#layoutInArea-javafx.scene.Node-double-double-double-double-double-javafx.geometry.Insets-boolean-boolean-javafx.geometry.HPos-javafx.geometry.VPos-boolean-">layoutInArea</a>, <a href="../../../javafx/scene/layout/Region.html#layoutInArea-javafx.scene.Node-double-double-double-double-double-javafx.geometry.Insets-javafx.geometry.HPos-javafx.geometry.VPos-">layoutInArea</a>, <a href="../../../javafx/scene/layout/Region.html#maxHeight-double-">maxHeight</a>, <a href="../../../javafx/scene/layout/Region.html#maxHeightProperty--">maxHeightProperty</a>, <a href="../../../javafx/scene/layout/Region.html#maxWidth-double-">maxWidth</a>, <a href="../../../javafx/scene/layout/Region.html#maxWidthProperty--">maxWidthProperty</a>, <a href="../../../javafx/scene/layout/Region.html#minHeight-double-">minHeight</a>, <a href="../../../javafx/scene/layout/Region.html#minHeightProperty--">minHeightProperty</a>, <a href="../../../javafx/scene/layout/Region.html#minWidth-double-">minWidth</a>, <a href="../../../javafx/scene/layout/Region.html#minWidthProperty--">minWidthProperty</a>, <a href="../../../javafx/scene/layout/Region.html#opaqueInsetsProperty--">opaqueInsetsProperty</a>, <a href="../../../javafx/scene/layout/Region.html#paddingProperty--">paddingProperty</a>, <a href="../../../javafx/scene/layout/Region.html#positionInArea-javafx.scene.Node-double-double-double-double-double-javafx.geometry.HPos-javafx.geometry.VPos-">positionInArea</a>, <a href="../../../javafx/scene/layout/Region.html#positionInArea-javafx.scene.Node-double-double-double-double-double-javafx.geometry.Insets-javafx.geometry.HPos-javafx.geometry.VPos-boolean-">positionInArea</a>, <a href="../../../javafx/scene/layout/Region.html#prefHeight-double-">prefHeight</a>, <a href="../../../javafx/scene/layout/Region.html#prefHeightProperty--">prefHeightProperty</a>, <a href="../../../javafx/scene/layout/Region.html#prefWidth-double-">prefWidth</a>, <a href="../../../javafx/scene/layout/Region.html#prefWidthProperty--">prefWidthProperty</a>, <a href="../../../javafx/scene/layout/Region.html#resize-double-double-">resize</a>, <a href="../../../javafx/scene/layout/Region.html#scaleShapeProperty--">scaleShapeProperty</a>, <a href="../../../javafx/scene/layout/Region.html#setBackground-javafx.scene.layout.Background-">setBackground</a>, <a href="../../../javafx/scene/layout/Region.html#setBorder-javafx.scene.layout.Border-">setBorder</a>, <a href="../../../javafx/scene/layout/Region.html#setCacheShape-boolean-">setCacheShape</a>, <a href="../../../javafx/scene/layout/Region.html#setCenterShape-boolean-">setCenterShape</a>, <a href="../../../javafx/scene/layout/Region.html#setHeight-double-">setHeight</a>, <a href="../../../javafx/scene/layout/Region.html#setMaxHeight-double-">setMaxHeight</a>, <a href="../../../javafx/scene/layout/Region.html#setMaxSize-double-double-">setMaxSize</a>, <a href="../../../javafx/scene/layout/Region.html#setMaxWidth-double-">setMaxWidth</a>, <a href="../../../javafx/scene/layout/Region.html#setMinHeight-double-">setMinHeight</a>, <a href="../../../javafx/scene/layout/Region.html#setMinSize-double-double-">setMinSize</a>, <a href="../../../javafx/scene/layout/Region.html#setMinWidth-double-">setMinWidth</a>, <a href="../../../javafx/scene/layout/Region.html#setOpaqueInsets-javafx.geometry.Insets-">setOpaqueInsets</a>, <a href="../../../javafx/scene/layout/Region.html#setPadding-javafx.geometry.Insets-">setPadding</a>, <a href="../../../javafx/scene/layout/Region.html#setPrefHeight-double-">setPrefHeight</a>, <a href="../../../javafx/scene/layout/Region.html#setPrefSize-double-double-">setPrefSize</a>, <a href="../../../javafx/scene/layout/Region.html#setPrefWidth-double-">setPrefWidth</a>, <a href="../../../javafx/scene/layout/Region.html#setScaleShape-boolean-">setScaleShape</a>, <a href="../../../javafx/scene/layout/Region.html#setShape-javafx.scene.shape.Shape-">setShape</a>, <a href="../../../javafx/scene/layout/Region.html#setSnapToPixel-boolean-">setSnapToPixel</a>, <a href="../../../javafx/scene/layout/Region.html#setWidth-double-">setWidth</a>, <a href="../../../javafx/scene/layout/Region.html#shapeProperty--">shapeProperty</a>, <a href="../../../javafx/scene/layout/Region.html#snappedBottomInset--">snappedBottomInset</a>, <a href="../../../javafx/scene/layout/Region.html#snappedLeftInset--">snappedLeftInset</a>, <a href="../../../javafx/scene/layout/Region.html#snappedRightInset--">snappedRightInset</a>, <a href="../../../javafx/scene/layout/Region.html#snappedTopInset--">snappedTopInset</a>, <a href="../../../javafx/scene/layout/Region.html#snapPosition-double-">snapPosition</a>, <a href="../../../javafx/scene/layout/Region.html#snapSize-double-">snapSize</a>, <a href="../../../javafx/scene/layout/Region.html#snapSpace-double-">snapSpace</a>, <a href="../../../javafx/scene/layout/Region.html#snapToPixelProperty--">snapToPixelProperty</a>, <a href="../../../javafx/scene/layout/Region.html#widthProperty--">widthProperty</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.scene.Parent"> <!-- --> </a> <h3>Methods inherited from class javafx.scene.<a href="../../../javafx/scene/Parent.html" title="class in javafx.scene">Parent</a></h3> <code><a href="../../../javafx/scene/Parent.html#getChildren--">getChildren</a>, <a href="../../../javafx/scene/Parent.html#getChildrenUnmodifiable--">getChildrenUnmodifiable</a>, <a href="../../../javafx/scene/Parent.html#getManagedChildren--">getManagedChildren</a>, <a href="../../../javafx/scene/Parent.html#getStylesheets--">getStylesheets</a>, <a href="../../../javafx/scene/Parent.html#isNeedsLayout--">isNeedsLayout</a>, <a href="../../../javafx/scene/Parent.html#layout--">layout</a>, <a href="../../../javafx/scene/Parent.html#lookup-java.lang.String-">lookup</a>, <a href="../../../javafx/scene/Parent.html#needsLayoutProperty--">needsLayoutProperty</a>, <a href="../../../javafx/scene/Parent.html#requestLayout--">requestLayout</a>, <a href="../../../javafx/scene/Parent.html#requestParentLayout--">requestParentLayout</a>, <a href="../../../javafx/scene/Parent.html#setNeedsLayout-boolean-">setNeedsLayout</a>, <a href="../../../javafx/scene/Parent.html#updateBounds--">updateBounds</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.scene.Node"> <!-- --> </a> <h3>Methods inherited from class javafx.scene.<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a></h3> <code><a href="../../../javafx/scene/Node.html#accessibleHelpProperty--">accessibleHelpProperty</a>, <a href="../../../javafx/scene/Node.html#accessibleRoleDescriptionProperty--">accessibleRoleDescriptionProperty</a>, <a href="../../../javafx/scene/Node.html#accessibleRoleProperty--">accessibleRoleProperty</a>, <a href="../../../javafx/scene/Node.html#accessibleTextProperty--">accessibleTextProperty</a>, <a href="../../../javafx/scene/Node.html#addEventFilter-javafx.event.EventType-javafx.event.EventHandler-">addEventFilter</a>, <a href="../../../javafx/scene/Node.html#addEventHandler-javafx.event.EventType-javafx.event.EventHandler-">addEventHandler</a>, <a href="../../../javafx/scene/Node.html#applyCss--">applyCss</a>, <a href="../../../javafx/scene/Node.html#autosize--">autosize</a>, <a href="../../../javafx/scene/Node.html#blendModeProperty--">blendModeProperty</a>, <a href="../../../javafx/scene/Node.html#boundsInLocalProperty--">boundsInLocalProperty</a>, <a href="../../../javafx/scene/Node.html#boundsInParentProperty--">boundsInParentProperty</a>, <a href="../../../javafx/scene/Node.html#buildEventDispatchChain-javafx.event.EventDispatchChain-">buildEventDispatchChain</a>, <a href="../../../javafx/scene/Node.html#cacheHintProperty--">cacheHintProperty</a>, <a href="../../../javafx/scene/Node.html#cacheProperty--">cacheProperty</a>, <a href="../../../javafx/scene/Node.html#clipProperty--">clipProperty</a>, <a href="../../../javafx/scene/Node.html#computeAreaInScreen--">computeAreaInScreen</a>, <a href="../../../javafx/scene/Node.html#contains-double-double-">contains</a>, <a href="../../../javafx/scene/Node.html#contains-javafx.geometry.Point2D-">contains</a>, <a href="../../../javafx/scene/Node.html#cursorProperty--">cursorProperty</a>, <a href="../../../javafx/scene/Node.html#depthTestProperty--">depthTestProperty</a>, <a href="../../../javafx/scene/Node.html#disabledProperty--">disabledProperty</a>, <a href="../../../javafx/scene/Node.html#disableProperty--">disableProperty</a>, <a href="../../../javafx/scene/Node.html#effectiveNodeOrientationProperty--">effectiveNodeOrientationProperty</a>, <a href="../../../javafx/scene/Node.html#effectProperty--">effectProperty</a>, <a href="../../../javafx/scene/Node.html#eventDispatcherProperty--">eventDispatcherProperty</a>, <a href="../../../javafx/scene/Node.html#fireEvent-javafx.event.Event-">fireEvent</a>, <a href="../../../javafx/scene/Node.html#focusedProperty--">focusedProperty</a>, <a href="../../../javafx/scene/Node.html#focusTraversableProperty--">focusTraversableProperty</a>, <a href="../../../javafx/scene/Node.html#getAccessibleHelp--">getAccessibleHelp</a>, <a href="../../../javafx/scene/Node.html#getAccessibleRole--">getAccessibleRole</a>, <a href="../../../javafx/scene/Node.html#getAccessibleRoleDescription--">getAccessibleRoleDescription</a>, <a href="../../../javafx/scene/Node.html#getAccessibleText--">getAccessibleText</a>, <a href="../../../javafx/scene/Node.html#getBlendMode--">getBlendMode</a>, <a href="../../../javafx/scene/Node.html#getBoundsInLocal--">getBoundsInLocal</a>, <a href="../../../javafx/scene/Node.html#getBoundsInParent--">getBoundsInParent</a>, <a href="../../../javafx/scene/Node.html#getCacheHint--">getCacheHint</a>, <a href="../../../javafx/scene/Node.html#getClip--">getClip</a>, <a href="../../../javafx/scene/Node.html#getContentBias--">getContentBias</a>, <a href="../../../javafx/scene/Node.html#getCursor--">getCursor</a>, <a href="../../../javafx/scene/Node.html#getDepthTest--">getDepthTest</a>, <a href="../../../javafx/scene/Node.html#getEffect--">getEffect</a>, <a href="../../../javafx/scene/Node.html#getEffectiveNodeOrientation--">getEffectiveNodeOrientation</a>, <a href="../../../javafx/scene/Node.html#getEventDispatcher--">getEventDispatcher</a>, <a href="../../../javafx/scene/Node.html#getId--">getId</a>, <a href="../../../javafx/scene/Node.html#getInputMethodRequests--">getInputMethodRequests</a>, <a href="../../../javafx/scene/Node.html#getLayoutBounds--">getLayoutBounds</a>, <a href="../../../javafx/scene/Node.html#getLayoutX--">getLayoutX</a>, <a href="../../../javafx/scene/Node.html#getLayoutY--">getLayoutY</a>, <a href="../../../javafx/scene/Node.html#getLocalToParentTransform--">getLocalToParentTransform</a>, <a href="../../../javafx/scene/Node.html#getLocalToSceneTransform--">getLocalToSceneTransform</a>, <a href="../../../javafx/scene/Node.html#getNodeOrientation--">getNodeOrientation</a>, <a href="../../../javafx/scene/Node.html#getOnContextMenuRequested--">getOnContextMenuRequested</a>, <a href="../../../javafx/scene/Node.html#getOnDragDetected--">getOnDragDetected</a>, <a href="../../../javafx/scene/Node.html#getOnDragDone--">getOnDragDone</a>, <a href="../../../javafx/scene/Node.html#getOnDragDropped--">getOnDragDropped</a>, <a href="../../../javafx/scene/Node.html#getOnDragEntered--">getOnDragEntered</a>, <a href="../../../javafx/scene/Node.html#getOnDragExited--">getOnDragExited</a>, <a href="../../../javafx/scene/Node.html#getOnDragOver--">getOnDragOver</a>, <a href="../../../javafx/scene/Node.html#getOnInputMethodTextChanged--">getOnInputMethodTextChanged</a>, <a href="../../../javafx/scene/Node.html#getOnKeyPressed--">getOnKeyPressed</a>, <a href="../../../javafx/scene/Node.html#getOnKeyReleased--">getOnKeyReleased</a>, <a href="../../../javafx/scene/Node.html#getOnKeyTyped--">getOnKeyTyped</a>, <a href="../../../javafx/scene/Node.html#getOnMouseClicked--">getOnMouseClicked</a>, <a href="../../../javafx/scene/Node.html#getOnMouseDragEntered--">getOnMouseDragEntered</a>, <a href="../../../javafx/scene/Node.html#getOnMouseDragExited--">getOnMouseDragExited</a>, <a href="../../../javafx/scene/Node.html#getOnMouseDragged--">getOnMouseDragged</a>, <a href="../../../javafx/scene/Node.html#getOnMouseDragOver--">getOnMouseDragOver</a>, <a href="../../../javafx/scene/Node.html#getOnMouseDragReleased--">getOnMouseDragReleased</a>, <a href="../../../javafx/scene/Node.html#getOnMouseEntered--">getOnMouseEntered</a>, <a href="../../../javafx/scene/Node.html#getOnMouseExited--">getOnMouseExited</a>, <a href="../../../javafx/scene/Node.html#getOnMouseMoved--">getOnMouseMoved</a>, <a href="../../../javafx/scene/Node.html#getOnMousePressed--">getOnMousePressed</a>, <a href="../../../javafx/scene/Node.html#getOnMouseReleased--">getOnMouseReleased</a>, <a href="../../../javafx/scene/Node.html#getOnRotate--">getOnRotate</a>, <a href="../../../javafx/scene/Node.html#getOnRotationFinished--">getOnRotationFinished</a>, <a href="../../../javafx/scene/Node.html#getOnRotationStarted--">getOnRotationStarted</a>, <a href="../../../javafx/scene/Node.html#getOnScroll--">getOnScroll</a>, <a href="../../../javafx/scene/Node.html#getOnScrollFinished--">getOnScrollFinished</a>, <a href="../../../javafx/scene/Node.html#getOnScrollStarted--">getOnScrollStarted</a>, <a href="../../../javafx/scene/Node.html#getOnSwipeDown--">getOnSwipeDown</a>, <a href="../../../javafx/scene/Node.html#getOnSwipeLeft--">getOnSwipeLeft</a>, <a href="../../../javafx/scene/Node.html#getOnSwipeRight--">getOnSwipeRight</a>, <a href="../../../javafx/scene/Node.html#getOnSwipeUp--">getOnSwipeUp</a>, <a href="../../../javafx/scene/Node.html#getOnTouchMoved--">getOnTouchMoved</a>, <a href="../../../javafx/scene/Node.html#getOnTouchPressed--">getOnTouchPressed</a>, <a href="../../../javafx/scene/Node.html#getOnTouchReleased--">getOnTouchReleased</a>, <a href="../../../javafx/scene/Node.html#getOnTouchStationary--">getOnTouchStationary</a>, <a href="../../../javafx/scene/Node.html#getOnZoom--">getOnZoom</a>, <a href="../../../javafx/scene/Node.html#getOnZoomFinished--">getOnZoomFinished</a>, <a href="../../../javafx/scene/Node.html#getOnZoomStarted--">getOnZoomStarted</a>, <a href="../../../javafx/scene/Node.html#getOpacity--">getOpacity</a>, <a href="../../../javafx/scene/Node.html#getParent--">getParent</a>, <a href="../../../javafx/scene/Node.html#getProperties--">getProperties</a>, <a href="../../../javafx/scene/Node.html#getPseudoClassStates--">getPseudoClassStates</a>, <a href="../../../javafx/scene/Node.html#getRotate--">getRotate</a>, <a href="../../../javafx/scene/Node.html#getRotationAxis--">getRotationAxis</a>, <a href="../../../javafx/scene/Node.html#getScaleX--">getScaleX</a>, <a href="../../../javafx/scene/Node.html#getScaleY--">getScaleY</a>, <a href="../../../javafx/scene/Node.html#getScaleZ--">getScaleZ</a>, <a href="../../../javafx/scene/Node.html#getScene--">getScene</a>, <a href="../../../javafx/scene/Node.html#getStyle--">getStyle</a>, <a href="../../../javafx/scene/Node.html#getStyleableParent--">getStyleableParent</a>, <a href="../../../javafx/scene/Node.html#getStyleClass--">getStyleClass</a>, <a href="../../../javafx/scene/Node.html#getTransforms--">getTransforms</a>, <a href="../../../javafx/scene/Node.html#getTranslateX--">getTranslateX</a>, <a href="../../../javafx/scene/Node.html#getTranslateY--">getTranslateY</a>, <a href="../../../javafx/scene/Node.html#getTranslateZ--">getTranslateZ</a>, <a href="../../../javafx/scene/Node.html#getTypeSelector--">getTypeSelector</a>, <a href="../../../javafx/scene/Node.html#getUserData--">getUserData</a>, <a href="../../../javafx/scene/Node.html#hasProperties--">hasProperties</a>, <a href="../../../javafx/scene/Node.html#hoverProperty--">hoverProperty</a>, <a href="../../../javafx/scene/Node.html#idProperty--">idProperty</a>, <a href="../../../javafx/scene/Node.html#inputMethodRequestsProperty--">inputMethodRequestsProperty</a>, <a href="../../../javafx/scene/Node.html#intersects-javafx.geometry.Bounds-">intersects</a>, <a href="../../../javafx/scene/Node.html#intersects-double-double-double-double-">intersects</a>, <a href="../../../javafx/scene/Node.html#isCache--">isCache</a>, <a href="../../../javafx/scene/Node.html#isDisable--">isDisable</a>, <a href="../../../javafx/scene/Node.html#isDisabled--">isDisabled</a>, <a href="../../../javafx/scene/Node.html#isFocused--">isFocused</a>, <a href="../../../javafx/scene/Node.html#isFocusTraversable--">isFocusTraversable</a>, <a href="../../../javafx/scene/Node.html#isHover--">isHover</a>, <a href="../../../javafx/scene/Node.html#isManaged--">isManaged</a>, <a href="../../../javafx/scene/Node.html#isMouseTransparent--">isMouseTransparent</a>, <a href="../../../javafx/scene/Node.html#isPickOnBounds--">isPickOnBounds</a>, <a href="../../../javafx/scene/Node.html#isPressed--">isPressed</a>, <a href="../../../javafx/scene/Node.html#isVisible--">isVisible</a>, <a href="../../../javafx/scene/Node.html#layoutBoundsProperty--">layoutBoundsProperty</a>, <a href="../../../javafx/scene/Node.html#layoutXProperty--">layoutXProperty</a>, <a href="../../../javafx/scene/Node.html#layoutYProperty--">layoutYProperty</a>, <a href="../../../javafx/scene/Node.html#localToParent-javafx.geometry.Bounds-">localToParent</a>, <a href="../../../javafx/scene/Node.html#localToParent-double-double-">localToParent</a>, <a href="../../../javafx/scene/Node.html#localToParent-double-double-double-">localToParent</a>, <a href="../../../javafx/scene/Node.html#localToParent-javafx.geometry.Point2D-">localToParent</a>, <a href="../../../javafx/scene/Node.html#localToParent-javafx.geometry.Point3D-">localToParent</a>, <a href="../../../javafx/scene/Node.html#localToParentTransformProperty--">localToParentTransformProperty</a>, <a href="../../../javafx/scene/Node.html#localToScene-javafx.geometry.Bounds-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToScene-javafx.geometry.Bounds-boolean-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToScene-double-double-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToScene-double-double-boolean-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToScene-double-double-double-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToScene-double-double-double-boolean-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToScene-javafx.geometry.Point2D-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToScene-javafx.geometry.Point2D-boolean-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToScene-javafx.geometry.Point3D-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToScene-javafx.geometry.Point3D-boolean-">localToScene</a>, <a href="../../../javafx/scene/Node.html#localToSceneTransformProperty--">localToSceneTransformProperty</a>, <a href="../../../javafx/scene/Node.html#localToScreen-javafx.geometry.Bounds-">localToScreen</a>, <a href="../../../javafx/scene/Node.html#localToScreen-double-double-">localToScreen</a>, <a href="../../../javafx/scene/Node.html#localToScreen-double-double-double-">localToScreen</a>, <a href="../../../javafx/scene/Node.html#localToScreen-javafx.geometry.Point2D-">localToScreen</a>, <a href="../../../javafx/scene/Node.html#localToScreen-javafx.geometry.Point3D-">localToScreen</a>, <a href="../../../javafx/scene/Node.html#lookupAll-java.lang.String-">lookupAll</a>, <a href="../../../javafx/scene/Node.html#managedProperty--">managedProperty</a>, <a href="../../../javafx/scene/Node.html#mouseTransparentProperty--">mouseTransparentProperty</a>, <a href="../../../javafx/scene/Node.html#nodeOrientationProperty--">nodeOrientationProperty</a>, <a href="../../../javafx/scene/Node.html#notifyAccessibleAttributeChanged-javafx.scene.AccessibleAttribute-">notifyAccessibleAttributeChanged</a>, <a href="../../../javafx/scene/Node.html#onContextMenuRequestedProperty--">onContextMenuRequestedProperty</a>, <a href="../../../javafx/scene/Node.html#onDragDetectedProperty--">onDragDetectedProperty</a>, <a href="../../../javafx/scene/Node.html#onDragDoneProperty--">onDragDoneProperty</a>, <a href="../../../javafx/scene/Node.html#onDragDroppedProperty--">onDragDroppedProperty</a>, <a href="../../../javafx/scene/Node.html#onDragEnteredProperty--">onDragEnteredProperty</a>, <a href="../../../javafx/scene/Node.html#onDragExitedProperty--">onDragExitedProperty</a>, <a href="../../../javafx/scene/Node.html#onDragOverProperty--">onDragOverProperty</a>, <a href="../../../javafx/scene/Node.html#onInputMethodTextChangedProperty--">onInputMethodTextChangedProperty</a>, <a href="../../../javafx/scene/Node.html#onKeyPressedProperty--">onKeyPressedProperty</a>, <a href="../../../javafx/scene/Node.html#onKeyReleasedProperty--">onKeyReleasedProperty</a>, <a href="../../../javafx/scene/Node.html#onKeyTypedProperty--">onKeyTypedProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseClickedProperty--">onMouseClickedProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseDragEnteredProperty--">onMouseDragEnteredProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseDragExitedProperty--">onMouseDragExitedProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseDraggedProperty--">onMouseDraggedProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseDragOverProperty--">onMouseDragOverProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseDragReleasedProperty--">onMouseDragReleasedProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseEnteredProperty--">onMouseEnteredProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseExitedProperty--">onMouseExitedProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseMovedProperty--">onMouseMovedProperty</a>, <a href="../../../javafx/scene/Node.html#onMousePressedProperty--">onMousePressedProperty</a>, <a href="../../../javafx/scene/Node.html#onMouseReleasedProperty--">onMouseReleasedProperty</a>, <a href="../../../javafx/scene/Node.html#onRotateProperty--">onRotateProperty</a>, <a href="../../../javafx/scene/Node.html#onRotationFinishedProperty--">onRotationFinishedProperty</a>, <a href="../../../javafx/scene/Node.html#onRotationStartedProperty--">onRotationStartedProperty</a>, <a href="../../../javafx/scene/Node.html#onScrollFinishedProperty--">onScrollFinishedProperty</a>, <a href="../../../javafx/scene/Node.html#onScrollProperty--">onScrollProperty</a>, <a href="../../../javafx/scene/Node.html#onScrollStartedProperty--">onScrollStartedProperty</a>, <a href="../../../javafx/scene/Node.html#onSwipeDownProperty--">onSwipeDownProperty</a>, <a href="../../../javafx/scene/Node.html#onSwipeLeftProperty--">onSwipeLeftProperty</a>, <a href="../../../javafx/scene/Node.html#onSwipeRightProperty--">onSwipeRightProperty</a>, <a href="../../../javafx/scene/Node.html#onSwipeUpProperty--">onSwipeUpProperty</a>, <a href="../../../javafx/scene/Node.html#onTouchMovedProperty--">onTouchMovedProperty</a>, <a href="../../../javafx/scene/Node.html#onTouchPressedProperty--">onTouchPressedProperty</a>, <a href="../../../javafx/scene/Node.html#onTouchReleasedProperty--">onTouchReleasedProperty</a>, <a href="../../../javafx/scene/Node.html#onTouchStationaryProperty--">onTouchStationaryProperty</a>, <a href="../../../javafx/scene/Node.html#onZoomFinishedProperty--">onZoomFinishedProperty</a>, <a href="../../../javafx/scene/Node.html#onZoomProperty--">onZoomProperty</a>, <a href="../../../javafx/scene/Node.html#onZoomStartedProperty--">onZoomStartedProperty</a>, <a href="../../../javafx/scene/Node.html#opacityProperty--">opacityProperty</a>, <a href="../../../javafx/scene/Node.html#parentProperty--">parentProperty</a>, <a href="../../../javafx/scene/Node.html#parentToLocal-javafx.geometry.Bounds-">parentToLocal</a>, <a href="../../../javafx/scene/Node.html#parentToLocal-double-double-">parentToLocal</a>, <a href="../../../javafx/scene/Node.html#parentToLocal-double-double-double-">parentToLocal</a>, <a href="../../../javafx/scene/Node.html#parentToLocal-javafx.geometry.Point2D-">parentToLocal</a>, <a href="../../../javafx/scene/Node.html#parentToLocal-javafx.geometry.Point3D-">parentToLocal</a>, <a href="../../../javafx/scene/Node.html#pickOnBoundsProperty--">pickOnBoundsProperty</a>, <a href="../../../javafx/scene/Node.html#pressedProperty--">pressedProperty</a>, <a href="../../../javafx/scene/Node.html#pseudoClassStateChanged-javafx.css.PseudoClass-boolean-">pseudoClassStateChanged</a>, <a href="../../../javafx/scene/Node.html#relocate-double-double-">relocate</a>, <a href="../../../javafx/scene/Node.html#removeEventFilter-javafx.event.EventType-javafx.event.EventHandler-">removeEventFilter</a>, <a href="../../../javafx/scene/Node.html#removeEventHandler-javafx.event.EventType-javafx.event.EventHandler-">removeEventHandler</a>, <a href="../../../javafx/scene/Node.html#requestFocus--">requestFocus</a>, <a href="../../../javafx/scene/Node.html#resizeRelocate-double-double-double-double-">resizeRelocate</a>, <a href="../../../javafx/scene/Node.html#rotateProperty--">rotateProperty</a>, <a href="../../../javafx/scene/Node.html#rotationAxisProperty--">rotationAxisProperty</a>, <a href="../../../javafx/scene/Node.html#scaleXProperty--">scaleXProperty</a>, <a href="../../../javafx/scene/Node.html#scaleYProperty--">scaleYProperty</a>, <a href="../../../javafx/scene/Node.html#scaleZProperty--">scaleZProperty</a>, <a href="../../../javafx/scene/Node.html#sceneProperty--">sceneProperty</a>, <a href="../../../javafx/scene/Node.html#sceneToLocal-javafx.geometry.Bounds-">sceneToLocal</a>, <a href="../../../javafx/scene/Node.html#sceneToLocal-javafx.geometry.Bounds-boolean-">sceneToLocal</a>, <a href="../../../javafx/scene/Node.html#sceneToLocal-double-double-">sceneToLocal</a>, <a href="../../../javafx/scene/Node.html#sceneToLocal-double-double-boolean-">sceneToLocal</a>, <a href="../../../javafx/scene/Node.html#sceneToLocal-double-double-double-">sceneToLocal</a>, <a href="../../../javafx/scene/Node.html#sceneToLocal-javafx.geometry.Point2D-">sceneToLocal</a>, <a href="../../../javafx/scene/Node.html#sceneToLocal-javafx.geometry.Point2D-boolean-">sceneToLocal</a>, <a href="../../../javafx/scene/Node.html#sceneToLocal-javafx.geometry.Point3D-">sceneToLocal</a>, <a href="../../../javafx/scene/Node.html#screenToLocal-javafx.geometry.Bounds-">screenToLocal</a>, <a href="../../../javafx/scene/Node.html#screenToLocal-double-double-">screenToLocal</a>, <a href="../../../javafx/scene/Node.html#screenToLocal-javafx.geometry.Point2D-">screenToLocal</a>, <a href="../../../javafx/scene/Node.html#setAccessibleHelp-java.lang.String-">setAccessibleHelp</a>, <a href="../../../javafx/scene/Node.html#setAccessibleRole-javafx.scene.AccessibleRole-">setAccessibleRole</a>, <a href="../../../javafx/scene/Node.html#setAccessibleRoleDescription-java.lang.String-">setAccessibleRoleDescription</a>, <a href="../../../javafx/scene/Node.html#setAccessibleText-java.lang.String-">setAccessibleText</a>, <a href="../../../javafx/scene/Node.html#setBlendMode-javafx.scene.effect.BlendMode-">setBlendMode</a>, <a href="../../../javafx/scene/Node.html#setCache-boolean-">setCache</a>, <a href="../../../javafx/scene/Node.html#setCacheHint-javafx.scene.CacheHint-">setCacheHint</a>, <a href="../../../javafx/scene/Node.html#setClip-javafx.scene.Node-">setClip</a>, <a href="../../../javafx/scene/Node.html#setCursor-javafx.scene.Cursor-">setCursor</a>, <a href="../../../javafx/scene/Node.html#setDepthTest-javafx.scene.DepthTest-">setDepthTest</a>, <a href="../../../javafx/scene/Node.html#setDisable-boolean-">setDisable</a>, <a href="../../../javafx/scene/Node.html#setDisabled-boolean-">setDisabled</a>, <a href="../../../javafx/scene/Node.html#setEffect-javafx.scene.effect.Effect-">setEffect</a>, <a href="../../../javafx/scene/Node.html#setEventDispatcher-javafx.event.EventDispatcher-">setEventDispatcher</a>, <a href="../../../javafx/scene/Node.html#setEventHandler-javafx.event.EventType-javafx.event.EventHandler-">setEventHandler</a>, <a href="../../../javafx/scene/Node.html#setFocused-boolean-">setFocused</a>, <a href="../../../javafx/scene/Node.html#setFocusTraversable-boolean-">setFocusTraversable</a>, <a href="../../../javafx/scene/Node.html#setHover-boolean-">setHover</a>, <a href="../../../javafx/scene/Node.html#setId-java.lang.String-">setId</a>, <a href="../../../javafx/scene/Node.html#setInputMethodRequests-javafx.scene.input.InputMethodRequests-">setInputMethodRequests</a>, <a href="../../../javafx/scene/Node.html#setLayoutX-double-">setLayoutX</a>, <a href="../../../javafx/scene/Node.html#setLayoutY-double-">setLayoutY</a>, <a href="../../../javafx/scene/Node.html#setManaged-boolean-">setManaged</a>, <a href="../../../javafx/scene/Node.html#setMouseTransparent-boolean-">setMouseTransparent</a>, <a href="../../../javafx/scene/Node.html#setNodeOrientation-javafx.geometry.NodeOrientation-">setNodeOrientation</a>, <a href="../../../javafx/scene/Node.html#setOnContextMenuRequested-javafx.event.EventHandler-">setOnContextMenuRequested</a>, <a href="../../../javafx/scene/Node.html#setOnDragDetected-javafx.event.EventHandler-">setOnDragDetected</a>, <a href="../../../javafx/scene/Node.html#setOnDragDone-javafx.event.EventHandler-">setOnDragDone</a>, <a href="../../../javafx/scene/Node.html#setOnDragDropped-javafx.event.EventHandler-">setOnDragDropped</a>, <a href="../../../javafx/scene/Node.html#setOnDragEntered-javafx.event.EventHandler-">setOnDragEntered</a>, <a href="../../../javafx/scene/Node.html#setOnDragExited-javafx.event.EventHandler-">setOnDragExited</a>, <a href="../../../javafx/scene/Node.html#setOnDragOver-javafx.event.EventHandler-">setOnDragOver</a>, <a href="../../../javafx/scene/Node.html#setOnInputMethodTextChanged-javafx.event.EventHandler-">setOnInputMethodTextChanged</a>, <a href="../../../javafx/scene/Node.html#setOnKeyPressed-javafx.event.EventHandler-">setOnKeyPressed</a>, <a href="../../../javafx/scene/Node.html#setOnKeyReleased-javafx.event.EventHandler-">setOnKeyReleased</a>, <a href="../../../javafx/scene/Node.html#setOnKeyTyped-javafx.event.EventHandler-">setOnKeyTyped</a>, <a href="../../../javafx/scene/Node.html#setOnMouseClicked-javafx.event.EventHandler-">setOnMouseClicked</a>, <a href="../../../javafx/scene/Node.html#setOnMouseDragEntered-javafx.event.EventHandler-">setOnMouseDragEntered</a>, <a href="../../../javafx/scene/Node.html#setOnMouseDragExited-javafx.event.EventHandler-">setOnMouseDragExited</a>, <a href="../../../javafx/scene/Node.html#setOnMouseDragged-javafx.event.EventHandler-">setOnMouseDragged</a>, <a href="../../../javafx/scene/Node.html#setOnMouseDragOver-javafx.event.EventHandler-">setOnMouseDragOver</a>, <a href="../../../javafx/scene/Node.html#setOnMouseDragReleased-javafx.event.EventHandler-">setOnMouseDragReleased</a>, <a href="../../../javafx/scene/Node.html#setOnMouseEntered-javafx.event.EventHandler-">setOnMouseEntered</a>, <a href="../../../javafx/scene/Node.html#setOnMouseExited-javafx.event.EventHandler-">setOnMouseExited</a>, <a href="../../../javafx/scene/Node.html#setOnMouseMoved-javafx.event.EventHandler-">setOnMouseMoved</a>, <a href="../../../javafx/scene/Node.html#setOnMousePressed-javafx.event.EventHandler-">setOnMousePressed</a>, <a href="../../../javafx/scene/Node.html#setOnMouseReleased-javafx.event.EventHandler-">setOnMouseReleased</a>, <a href="../../../javafx/scene/Node.html#setOnRotate-javafx.event.EventHandler-">setOnRotate</a>, <a href="../../../javafx/scene/Node.html#setOnRotationFinished-javafx.event.EventHandler-">setOnRotationFinished</a>, <a href="../../../javafx/scene/Node.html#setOnRotationStarted-javafx.event.EventHandler-">setOnRotationStarted</a>, <a href="../../../javafx/scene/Node.html#setOnScroll-javafx.event.EventHandler-">setOnScroll</a>, <a href="../../../javafx/scene/Node.html#setOnScrollFinished-javafx.event.EventHandler-">setOnScrollFinished</a>, <a href="../../../javafx/scene/Node.html#setOnScrollStarted-javafx.event.EventHandler-">setOnScrollStarted</a>, <a href="../../../javafx/scene/Node.html#setOnSwipeDown-javafx.event.EventHandler-">setOnSwipeDown</a>, <a href="../../../javafx/scene/Node.html#setOnSwipeLeft-javafx.event.EventHandler-">setOnSwipeLeft</a>, <a href="../../../javafx/scene/Node.html#setOnSwipeRight-javafx.event.EventHandler-">setOnSwipeRight</a>, <a href="../../../javafx/scene/Node.html#setOnSwipeUp-javafx.event.EventHandler-">setOnSwipeUp</a>, <a href="../../../javafx/scene/Node.html#setOnTouchMoved-javafx.event.EventHandler-">setOnTouchMoved</a>, <a href="../../../javafx/scene/Node.html#setOnTouchPressed-javafx.event.EventHandler-">setOnTouchPressed</a>, <a href="../../../javafx/scene/Node.html#setOnTouchReleased-javafx.event.EventHandler-">setOnTouchReleased</a>, <a href="../../../javafx/scene/Node.html#setOnTouchStationary-javafx.event.EventHandler-">setOnTouchStationary</a>, <a href="../../../javafx/scene/Node.html#setOnZoom-javafx.event.EventHandler-">setOnZoom</a>, <a href="../../../javafx/scene/Node.html#setOnZoomFinished-javafx.event.EventHandler-">setOnZoomFinished</a>, <a href="../../../javafx/scene/Node.html#setOnZoomStarted-javafx.event.EventHandler-">setOnZoomStarted</a>, <a href="../../../javafx/scene/Node.html#setOpacity-double-">setOpacity</a>, <a href="../../../javafx/scene/Node.html#setPickOnBounds-boolean-">setPickOnBounds</a>, <a href="../../../javafx/scene/Node.html#setPressed-boolean-">setPressed</a>, <a href="../../../javafx/scene/Node.html#setRotate-double-">setRotate</a>, <a href="../../../javafx/scene/Node.html#setRotationAxis-javafx.geometry.Point3D-">setRotationAxis</a>, <a href="../../../javafx/scene/Node.html#setScaleX-double-">setScaleX</a>, <a href="../../../javafx/scene/Node.html#setScaleY-double-">setScaleY</a>, <a href="../../../javafx/scene/Node.html#setScaleZ-double-">setScaleZ</a>, <a href="../../../javafx/scene/Node.html#setStyle-java.lang.String-">setStyle</a>, <a href="../../../javafx/scene/Node.html#setTranslateX-double-">setTranslateX</a>, <a href="../../../javafx/scene/Node.html#setTranslateY-double-">setTranslateY</a>, <a href="../../../javafx/scene/Node.html#setTranslateZ-double-">setTranslateZ</a>, <a href="../../../javafx/scene/Node.html#setUserData-java.lang.Object-">setUserData</a>, <a href="../../../javafx/scene/Node.html#setVisible-boolean-">setVisible</a>, <a href="../../../javafx/scene/Node.html#snapshot-javafx.util.Callback-javafx.scene.SnapshotParameters-javafx.scene.image.WritableImage-">snapshot</a>, <a href="../../../javafx/scene/Node.html#snapshot-javafx.scene.SnapshotParameters-javafx.scene.image.WritableImage-">snapshot</a>, <a href="../../../javafx/scene/Node.html#startDragAndDrop-javafx.scene.input.TransferMode...-">startDragAndDrop</a>, <a href="../../../javafx/scene/Node.html#startFullDrag--">startFullDrag</a>, <a href="../../../javafx/scene/Node.html#styleProperty--">styleProperty</a>, <a href="../../../javafx/scene/Node.html#toBack--">toBack</a>, <a href="../../../javafx/scene/Node.html#toFront--">toFront</a>, <a href="../../../javafx/scene/Node.html#toString--">toString</a>, <a href="../../../javafx/scene/Node.html#translateXProperty--">translateXProperty</a>, <a href="../../../javafx/scene/Node.html#translateYProperty--">translateYProperty</a>, <a href="../../../javafx/scene/Node.html#translateZProperty--">translateZProperty</a>, <a href="../../../javafx/scene/Node.html#usesMirroring--">usesMirroring</a>, <a href="../../../javafx/scene/Node.html#visibleProperty--">visibleProperty</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ PROPERTY DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="property.detail"> <!-- --> </a> <h3>Property Detail</h3> <a name="cellFactoryProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>cellFactory</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a><<a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control">TreeView</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>,<a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control">TreeCell</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> cellFactoryProperty</pre> <div class="block">Represents the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView.</div> </li> </ul> <a name="rootProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>root</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> rootProperty</pre> <div class="block">Property representing the root node of the TreeView.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getRoot--"><code>getRoot()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setRoot-javafx.scene.control.TreeItem-"><code>setRoot(TreeItem)</code></a></dd> </dl> </li> </ul> <a name="showRootProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>showRoot</h4> <pre>public final <a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> showRootProperty</pre> <div class="block">Property that represents whether or not the TreeView root node is visible.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#isShowRoot--"><code>isShowRoot()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setShowRoot-boolean-"><code>setShowRoot(boolean)</code></a></dd> </dl> </li> </ul> <a name="selectionModelProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>selectionModel</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control">MultipleSelectionModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> selectionModelProperty</pre> <div class="block">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. Note that it has a generic type that must match the type of the TreeView itself.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getSelectionModel--"><code>getSelectionModel()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setSelectionModel-javafx.scene.control.MultipleSelectionModel-"><code>setSelectionModel(MultipleSelectionModel)</code></a></dd> </dl> </li> </ul> <a name="focusModelProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>focusModel</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> focusModelProperty</pre> <div class="block">The FocusModel provides the API through which it is possible to control focus on zero or one rows of the TreeView. Generally the default implementation should be more than sufficient.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getFocusModel--"><code>getFocusModel()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setFocusModel-javafx.scene.control.FocusModel-"><code>setFocusModel(FocusModel)</code></a></dd> </dl> </li> </ul> <a name="expandedItemCountProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>expandedItemCount</h4> <pre>public final <a href="../../../javafx/beans/property/ReadOnlyIntegerProperty.html" title="class in javafx.beans.property">ReadOnlyIntegerProperty</a> expandedItemCountProperty</pre> <div class="block"><p>Represents the number of tree nodes presently able to be visible in the TreeView. This is essentially the count of all expanded tree items, and their children. <p>For example, if just the root node is visible, the expandedItemCount will be one. If the root had three children and the root was expanded, the value will be four.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getExpandedItemCount--"><code>getExpandedItemCount()</code></a></dd> </dl> </li> </ul> <a name="fixedCellSizeProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>fixedCellSize</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> fixedCellSizeProperty</pre> <div class="block">Specifies whether this control has cells that are a fixed height (of the specified value). If this value is less than or equal to zero, then all cells are individually sized and positioned. This is a slow operation. Therefore, when performance matters and developers are not dependent on variable cell sizes it is a good idea to set the fixed cell size value. Generally cells are around 24px, so setting a fixed cell size of 24 is likely to result in very little difference in visuals, but a improvement to performance. <p>To set this property via CSS, use the -fx-fixed-cell-size property. This should not be confused with the -fx-cell-size property. The difference between these two CSS properties is that -fx-cell-size will size all cells to the specified size, but it will not enforce that this is the only size (thus allowing for variable cell sizes, and preventing the performance gains from being possible). Therefore, when performance matters use -fx-fixed-cell-size, instead of -fx-cell-size. If both properties are specified in CSS, -fx-fixed-cell-size takes precedence.</p></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getFixedCellSize--"><code>getFixedCellSize()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setFixedCellSize-double-"><code>setFixedCellSize(double)</code></a></dd> </dl> </li> </ul> <a name="editableProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editable</h4> <pre>public final <a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> editableProperty</pre> <div class="block">Specifies whether this TreeView is editable - only if the TreeView and the TreeCells within it are both editable will a TreeCell be able to go into their editing state.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#isEditable--"><code>isEditable()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setEditable-boolean-"><code>setEditable(boolean)</code></a></dd> </dl> </li> </ul> <a name="editingItemProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editingItem</h4> <pre>public final <a href="../../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> editingItemProperty</pre> <div class="block"><p>A property used to represent the TreeItem currently being edited in the TreeView, if editing is taking place, or null if no item is being edited. <p>It is not possible to set the editing item, instead it is required that you call <a href="../../../javafx/scene/control/TreeView.html#edit-javafx.scene.control.TreeItem-"><code>edit(javafx.scene.control.TreeItem)</code></a>.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getEditingItem--"><code>getEditingItem()</code></a></dd> </dl> </li> </ul> <a name="onEditStartProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onEditStart</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> onEditStartProperty</pre> <div class="block">This event handler will be fired when the user successfully initiates editing.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getOnEditStart--"><code>getOnEditStart()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setOnEditStart-javafx.event.EventHandler-"><code>setOnEditStart(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="onEditCommitProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onEditCommit</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> onEditCommitProperty</pre> <div class="block"><p>This property is used when the user performs an action that should result in their editing input being persisted.</p> <p>The EventHandler in this property should not be called directly - instead call <a href="../../../javafx/scene/control/TreeCell.html#commitEdit-T-"><code>TreeCell.commitEdit(java.lang.Object)</code></a> from within your custom TreeCell. This will handle firing this event, updating the view, and switching out of the editing state.</p></div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getOnEditCommit--"><code>getOnEditCommit()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setOnEditCommit-javafx.event.EventHandler-"><code>setOnEditCommit(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="onEditCancelProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onEditCancel</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> onEditCancelProperty</pre> <div class="block">This event handler will be fired when the user cancels editing a cell.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getOnEditCancel--"><code>getOnEditCancel()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setOnEditCancel-javafx.event.EventHandler-"><code>setOnEditCancel(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="onScrollToProperty"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>onScrollTo</h4> <pre>public <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><java.lang.Integer>>> onScrollToProperty</pre> <div class="block">Called when there's a request to scroll an index into view using <a href="../../../javafx/scene/control/TreeView.html#scrollTo-int-"><code>scrollTo(int)</code></a></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getOnScrollTo--"><code>getOnScrollTo()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setOnScrollTo-javafx.event.EventHandler-"><code>setOnScrollTo(EventHandler)</code></a></dd> </dl> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="TreeView--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>TreeView</h4> <pre>public TreeView()</pre> <div class="block">Creates an empty TreeView. <p>Refer to the <a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control"><code>TreeView</code></a> class documentation for details on the default state of other properties.</div> </li> </ul> <a name="TreeView-javafx.scene.control.TreeItem-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>TreeView</h4> <pre>public TreeView(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> root)</pre> <div class="block">Creates a TreeView with the provided root node. <p>Refer to the <a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control"><code>TreeView</code></a> class documentation for details on the default state of other properties.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>root</code> - The node to be the root in this TreeView.</dd> </dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="editAnyEvent--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editAnyEvent</h4> <pre>public static <T> <a href="../../../javafx/event/EventType.html" title="class in javafx.event">EventType</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><T>> editAnyEvent()</pre> <div class="block">An EventType that indicates some edit event has occurred. It is the parent type of all other edit events: <a href="../../../javafx/scene/control/TreeView.html#editStartEvent--"><code>editStartEvent()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#editCommitEvent--"><code>editCommitEvent()</code></a> and <a href="../../../javafx/scene/control/TreeView.html#editCancelEvent--"><code>editCancelEvent()</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>An EventType that indicates some edit event has occurred.</dd> </dl> </li> </ul> <a name="editStartEvent--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editStartEvent</h4> <pre>public static <T> <a href="../../../javafx/event/EventType.html" title="class in javafx.event">EventType</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><T>> editStartEvent()</pre> <div class="block">An EventType used to indicate that an edit event has started within the TreeView upon which the event was fired.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>An EventType used to indicate that an edit event has started.</dd> </dl> </li> </ul> <a name="editCancelEvent--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editCancelEvent</h4> <pre>public static <T> <a href="../../../javafx/event/EventType.html" title="class in javafx.event">EventType</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><T>> editCancelEvent()</pre> <div class="block">An EventType used to indicate that an edit event has just been canceled within the TreeView upon which the event was fired.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>An EventType used to indicate that an edit event has just been canceled.</dd> </dl> </li> </ul> <a name="editCommitEvent--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editCommitEvent</h4> <pre>public static <T> <a href="../../../javafx/event/EventType.html" title="class in javafx.event">EventType</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><T>> editCommitEvent()</pre> <div class="block">An EventType that is used to indicate that an edit in a TreeView has been committed. This means that user has made changes to the data of a TreeItem, and that the UI should be updated.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>An EventType that is used to indicate that an edit in a TreeView has been committed.</dd> </dl> </li> </ul> <a name="getNodeLevel-javafx.scene.control.TreeItem-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getNodeLevel</h4> <pre>@Deprecated public static int getNodeLevel(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><?> node)</pre> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">This method does not correctly calculate the distance from the given TreeItem to the root of the TreeView. As of JavaFX 8.0_20, the proper way to do this is via <a href="../../../javafx/scene/control/TreeView.html#getTreeItemLevel-javafx.scene.control.TreeItem-"><code>getTreeItemLevel(TreeItem)</code></a></span></div> <div class="block">Returns the number of levels of 'indentation' of the given TreeItem, based on how many times <a href="../../../javafx/scene/control/TreeItem.html#getParent--"><code>TreeItem.getParent()</code></a> can be recursively called. If the TreeItem does not have any parent set, the returned value will be zero. For each time getParent() is recursively called, the returned value is incremented by one. <p><strong>Important note: </strong>This method is deprecated as it does not consider the root node. This means that this method will iterate past the root node of the TreeView control, if the root node has a parent. If this is important, call <a href="../../../javafx/scene/control/TreeView.html#getTreeItemLevel-javafx.scene.control.TreeItem-"><code>getTreeItemLevel(TreeItem)</code></a> instead.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>node</code> - The TreeItem for which the level is needed.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>An integer representing the number of parents above the given node, or -1 if the given TreeItem is null.</dd> </dl> </li> </ul> <a name="setCellFactory-javafx.util.Callback-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setCellFactory</h4> <pre>public final void setCellFactory(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a><<a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control">TreeView</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>,<a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control">TreeCell</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</pre> <div class="block">Sets the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView. The factory works identically to the cellFactory in ListView and other complex composite controls. It is called to create a new TreeCell only when the system has determined that it doesn't have enough cells to represent the currently visible items. The TreeCell is reused by the system to represent different items in the tree when possible. <p>Refer to the <a href="../../../javafx/scene/control/Cell.html" title="class in javafx.scene.control"><code>Cell</code></a> class documentation for more details.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>value</code> - The <a href="../../../javafx/util/Callback.html" title="interface in javafx.util"><code>Callback</code></a> to use for generating TreeCell instances, or null if the default cell factory should be used.</dd> </dl> </li> </ul> <a name="getCellFactory--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getCellFactory</h4> <pre>public final <a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a><<a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control">TreeView</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>,<a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control">TreeCell</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> getCellFactory()</pre> <div class="block"><p>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.</div> </li> </ul> <a name="cellFactoryProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>cellFactoryProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a><<a href="../../../javafx/scene/control/TreeView.html" title="class in javafx.scene.control">TreeView</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>,<a href="../../../javafx/scene/control/TreeCell.html" title="class in javafx.scene.control">TreeCell</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> cellFactoryProperty()</pre> <div class="block">Represents the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView.</div> </li> </ul> <a name="setRoot-javafx.scene.control.TreeItem-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setRoot</h4> <pre>public final void setRoot(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> value)</pre> <div class="block">Sets the root node in this TreeView. See the <a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control"><code>TreeItem</code></a> class level documentation for more details.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>value</code> - The <a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control"><code>TreeItem</code></a> that will be placed at the root of the TreeView.</dd> </dl> </li> </ul> <a name="getRoot--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getRoot</h4> <pre>public final <a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> getRoot()</pre> <div class="block">Returns the current root node of this TreeView, or null if no root node is specified.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The current root node, or null if no root node exists.</dd> </dl> </li> </ul> <a name="rootProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>rootProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> rootProperty()</pre> <div class="block">Property representing the root node of the TreeView.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getRoot--"><code>getRoot()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setRoot-javafx.scene.control.TreeItem-"><code>setRoot(TreeItem)</code></a></dd> </dl> </li> </ul> <a name="setShowRoot-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setShowRoot</h4> <pre>public final void setShowRoot(boolean value)</pre> <div class="block">Specifies whether the root <code>TreeItem</code> should be shown within this TreeView.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>value</code> - If true, the root TreeItem will be shown, and if false it will be hidden.</dd> </dl> </li> </ul> <a name="isShowRoot--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isShowRoot</h4> <pre>public final boolean isShowRoot()</pre> <div class="block">Returns true if the root of the TreeView should be shown, and false if it should not. By default, the root TreeItem is visible in the TreeView.</div> </li> </ul> <a name="showRootProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>showRootProperty</h4> <pre>public final <a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> showRootProperty()</pre> <div class="block">Property that represents whether or not the TreeView root node is visible.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#isShowRoot--"><code>isShowRoot()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setShowRoot-boolean-"><code>setShowRoot(boolean)</code></a></dd> </dl> </li> </ul> <a name="setSelectionModel-javafx.scene.control.MultipleSelectionModel-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setSelectionModel</h4> <pre>public final void setSelectionModel(<a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control">MultipleSelectionModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</pre> <div class="block">Sets the <a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control"><code>MultipleSelectionModel</code></a> to be used in the TreeView. Despite a TreeView requiring a <code><b>Multiple</b>SelectionModel</code>, it is possible to configure it to only allow single selection (see <a href="../../../javafx/scene/control/MultipleSelectionModel.html#setSelectionMode-javafx.scene.control.SelectionMode-"><code>MultipleSelectionModel.setSelectionMode(javafx.scene.control.SelectionMode)</code></a> for more information).</div> </li> </ul> <a name="getSelectionModel--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSelectionModel</h4> <pre>public final <a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control">MultipleSelectionModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> getSelectionModel()</pre> <div class="block">Returns the currently installed selection model.</div> </li> </ul> <a name="selectionModelProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>selectionModelProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control">MultipleSelectionModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> selectionModelProperty()</pre> <div class="block">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. Note that it has a generic type that must match the type of the TreeView itself.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getSelectionModel--"><code>getSelectionModel()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setSelectionModel-javafx.scene.control.MultipleSelectionModel-"><code>setSelectionModel(MultipleSelectionModel)</code></a></dd> </dl> </li> </ul> <a name="setFocusModel-javafx.scene.control.FocusModel-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setFocusModel</h4> <pre>public final void setFocusModel(<a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</pre> <div class="block">Sets the <a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control"><code>FocusModel</code></a> to be used in the TreeView.</div> </li> </ul> <a name="getFocusModel--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getFocusModel</h4> <pre>public final <a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> getFocusModel()</pre> <div class="block">Returns the currently installed <a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control"><code>FocusModel</code></a>.</div> </li> </ul> <a name="focusModelProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>focusModelProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> focusModelProperty()</pre> <div class="block">The FocusModel provides the API through which it is possible to control focus on zero or one rows of the TreeView. Generally the default implementation should be more than sufficient.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getFocusModel--"><code>getFocusModel()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setFocusModel-javafx.scene.control.FocusModel-"><code>setFocusModel(FocusModel)</code></a></dd> </dl> </li> </ul> <a name="expandedItemCountProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>expandedItemCountProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ReadOnlyIntegerProperty.html" title="class in javafx.beans.property">ReadOnlyIntegerProperty</a> expandedItemCountProperty()</pre> <div class="block"><p>Represents the number of tree nodes presently able to be visible in the TreeView. This is essentially the count of all expanded tree items, and their children. <p>For example, if just the root node is visible, the expandedItemCount will be one. If the root had three children and the root was expanded, the value will be four.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getExpandedItemCount--"><code>getExpandedItemCount()</code></a></dd> </dl> </li> </ul> <a name="getExpandedItemCount--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getExpandedItemCount</h4> <pre>public final int getExpandedItemCount()</pre> <div class="block">Gets the value of the property expandedItemCount.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd><p>Represents the number of tree nodes presently able to be visible in the TreeView. This is essentially the count of all expanded tree items, and their children. <p>For example, if just the root node is visible, the expandedItemCount will be one. If the root had three children and the root was expanded, the value will be four.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="setFixedCellSize-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setFixedCellSize</h4> <pre>public final void setFixedCellSize(double value)</pre> <div class="block">Sets the new fixed cell size for this control. Any value greater than zero will enable fixed cell size mode, whereas a zero or negative value (or Region.USE_COMPUTED_SIZE) will be used to disabled fixed cell size mode.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>value</code> - The new fixed cell size value, or a value less than or equal to zero (or Region.USE_COMPUTED_SIZE) to disable.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="getFixedCellSize--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getFixedCellSize</h4> <pre>public final double getFixedCellSize()</pre> <div class="block">Returns the fixed cell size value. A value less than or equal to zero is used to represent that fixed cell size mode is disabled, and a value greater than zero represents the size of all cells in this control.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A double representing the fixed cell size of this control, or a value less than or equal to zero if fixed cell size mode is disabled.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="fixedCellSizeProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>fixedCellSizeProperty</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> fixedCellSizeProperty()</pre> <div class="block">Specifies whether this control has cells that are a fixed height (of the specified value). If this value is less than or equal to zero, then all cells are individually sized and positioned. This is a slow operation. Therefore, when performance matters and developers are not dependent on variable cell sizes it is a good idea to set the fixed cell size value. Generally cells are around 24px, so setting a fixed cell size of 24 is likely to result in very little difference in visuals, but a improvement to performance. <p>To set this property via CSS, use the -fx-fixed-cell-size property. This should not be confused with the -fx-cell-size property. The difference between these two CSS properties is that -fx-cell-size will size all cells to the specified size, but it will not enforce that this is the only size (thus allowing for variable cell sizes, and preventing the performance gains from being possible). Therefore, when performance matters use -fx-fixed-cell-size, instead of -fx-cell-size. If both properties are specified in CSS, -fx-fixed-cell-size takes precedence.</p></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getFixedCellSize--"><code>getFixedCellSize()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setFixedCellSize-double-"><code>setFixedCellSize(double)</code></a></dd> </dl> </li> </ul> <a name="setEditable-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setEditable</h4> <pre>public final void setEditable(boolean value)</pre> <div class="block">Sets the value of the property editable.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies whether this TreeView is editable - only if the TreeView and the TreeCells within it are both editable will a TreeCell be able to go into their editing state.</dd> </dl> </li> </ul> <a name="isEditable--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isEditable</h4> <pre>public final boolean isEditable()</pre> <div class="block">Gets the value of the property editable.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies whether this TreeView is editable - only if the TreeView and the TreeCells within it are both editable will a TreeCell be able to go into their editing state.</dd> </dl> </li> </ul> <a name="editableProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editableProperty</h4> <pre>public final <a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> editableProperty()</pre> <div class="block">Specifies whether this TreeView is editable - only if the TreeView and the TreeCells within it are both editable will a TreeCell be able to go into their editing state.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#isEditable--"><code>isEditable()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setEditable-boolean-"><code>setEditable(boolean)</code></a></dd> </dl> </li> </ul> <a name="getEditingItem--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getEditingItem</h4> <pre>public final <a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> getEditingItem()</pre> <div class="block">Returns the TreeItem that is currently being edited in the TreeView, or null if no item is being edited.</div> </li> </ul> <a name="editingItemProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editingItemProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> editingItemProperty()</pre> <div class="block"><p>A property used to represent the TreeItem currently being edited in the TreeView, if editing is taking place, or null if no item is being edited. <p>It is not possible to set the editing item, instead it is required that you call <a href="../../../javafx/scene/control/TreeView.html#edit-javafx.scene.control.TreeItem-"><code>edit(javafx.scene.control.TreeItem)</code></a>.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getEditingItem--"><code>getEditingItem()</code></a></dd> </dl> </li> </ul> <a name="setOnEditStart-javafx.event.EventHandler-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setOnEditStart</h4> <pre>public final void setOnEditStart(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</pre> <div class="block">Sets the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user begins an edit.</div> </li> </ul> <a name="getOnEditStart--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getOnEditStart</h4> <pre>public final <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> getOnEditStart()</pre> <div class="block">Returns the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user begins an edit.</div> </li> </ul> <a name="onEditStartProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onEditStartProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> onEditStartProperty()</pre> <div class="block">This event handler will be fired when the user successfully initiates editing.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getOnEditStart--"><code>getOnEditStart()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setOnEditStart-javafx.event.EventHandler-"><code>setOnEditStart(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="setOnEditCommit-javafx.event.EventHandler-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setOnEditCommit</h4> <pre>public final void setOnEditCommit(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</pre> <div class="block">Sets the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user commits an edit.</div> </li> </ul> <a name="getOnEditCommit--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getOnEditCommit</h4> <pre>public final <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> getOnEditCommit()</pre> <div class="block">Returns the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user commits an edit.</div> </li> </ul> <a name="onEditCommitProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onEditCommitProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> onEditCommitProperty()</pre> <div class="block"><p>This property is used when the user performs an action that should result in their editing input being persisted.</p> <p>The EventHandler in this property should not be called directly - instead call <a href="../../../javafx/scene/control/TreeCell.html#commitEdit-T-"><code>TreeCell.commitEdit(java.lang.Object)</code></a> from within your custom TreeCell. This will handle firing this event, updating the view, and switching out of the editing state.</p></div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getOnEditCommit--"><code>getOnEditCommit()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setOnEditCommit-javafx.event.EventHandler-"><code>setOnEditCommit(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="setOnEditCancel-javafx.event.EventHandler-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setOnEditCancel</h4> <pre>public final void setOnEditCancel(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> value)</pre> <div class="block">Sets the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user cancels an edit.</div> </li> </ul> <a name="getOnEditCancel--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getOnEditCancel</h4> <pre>public final <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>> getOnEditCancel()</pre> <div class="block">Returns the <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event"><code>EventHandler</code></a> that will be called when the user cancels an edit.</div> </li> </ul> <a name="onEditCancelProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onEditCancelProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control">TreeView.EditEvent</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>>>> onEditCancelProperty()</pre> <div class="block">This event handler will be fired when the user cancels editing a cell.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getOnEditCancel--"><code>getOnEditCancel()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setOnEditCancel-javafx.event.EventHandler-"><code>setOnEditCancel(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="layoutChildren--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>layoutChildren</h4> <pre>protected void layoutChildren()</pre> <div class="block">Invoked during the layout pass to layout the children in this <code>Parent</code>. By default it will only set the size of managed, resizable content to their preferred sizes and does not do any node positioning. <p> Subclasses should override this function to layout content as needed.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../javafx/scene/control/Control.html#layoutChildren--">layoutChildren</a></code> in class <code><a href="../../../javafx/scene/control/Control.html" title="class in javafx.scene.control">Control</a></code></dd> </dl> </li> </ul> <a name="edit-javafx.scene.control.TreeItem-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>edit</h4> <pre>public void edit(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> item)</pre> <div class="block">Instructs the TreeView to begin editing the given TreeItem, if the TreeView is <a href="../../../javafx/scene/control/TreeView.html#editableProperty--"><code>editable</code></a>. Once this method is called, if the current <a href="../../../javafx/scene/control/TreeView.html#cellFactoryProperty--"><code>cell factory</code></a> is set up to support editing, the Cell will switch its visual state to enable the user input to take place.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>item</code> - The TreeItem in the TreeView that should be edited.</dd> </dl> </li> </ul> <a name="scrollTo-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>scrollTo</h4> <pre>public void scrollTo(int index)</pre> <div class="block">Scrolls the TreeView such that the item in the given index is visible to the end user.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>index</code> - The index that should be made visible to the user, assuming of course that it is greater than, or equal to 0, and less than the number of the visible items in the TreeView.</dd> </dl> </li> </ul> <a name="setOnScrollTo-javafx.event.EventHandler-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setOnScrollTo</h4> <pre>public void setOnScrollTo(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><java.lang.Integer>> value)</pre> <div class="block">Sets the value of the property onScrollTo.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Called when there's a request to scroll an index into view using <a href="../../../javafx/scene/control/TreeView.html#scrollTo-int-"><code>scrollTo(int)</code></a></dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="getOnScrollTo--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getOnScrollTo</h4> <pre>public <a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><java.lang.Integer>> getOnScrollTo()</pre> <div class="block">Gets the value of the property onScrollTo.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Called when there's a request to scroll an index into view using <a href="../../../javafx/scene/control/TreeView.html#scrollTo-int-"><code>scrollTo(int)</code></a></dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="onScrollToProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onScrollToProperty</h4> <pre>public <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><java.lang.Integer>>> onScrollToProperty()</pre> <div class="block">Called when there's a request to scroll an index into view using <a href="../../../javafx/scene/control/TreeView.html#scrollTo-int-"><code>scrollTo(int)</code></a></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/TreeView.html#getOnScrollTo--"><code>getOnScrollTo()</code></a>, <a href="../../../javafx/scene/control/TreeView.html#setOnScrollTo-javafx.event.EventHandler-"><code>setOnScrollTo(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="getRow-javafx.scene.control.TreeItem-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getRow</h4> <pre>public int getRow(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> item)</pre> <div class="block">Returns the index position of the given TreeItem, assuming that it is currently accessible through the tree hierarchy (most notably, that all parent tree items are expanded). If a parent tree item is collapsed, the result is that this method will return -1 to indicate that the given tree item is not accessible in the tree.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>item</code> - The TreeItem for which the index is sought.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>An integer representing the location in the current TreeView of the first instance of the given TreeItem, or -1 if it is null or can not be found (for example, if a parent (all the way up to the root) is collapsed).</dd> </dl> </li> </ul> <a name="getTreeItem-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTreeItem</h4> <pre>public <a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><<a href="../../../javafx/scene/control/TreeView.html" title="type parameter in TreeView">T</a>> getTreeItem(int row)</pre> <div class="block">Returns the TreeItem in the given index, or null if it is out of bounds.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>row</code> - The index of the TreeItem being sought.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>The TreeItem in the given index, or null if it is out of bounds.</dd> </dl> </li> </ul> <a name="getTreeItemLevel-javafx.scene.control.TreeItem-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTreeItemLevel</h4> <pre>public int getTreeItemLevel(<a href="../../../javafx/scene/control/TreeItem.html" title="class in javafx.scene.control">TreeItem</a><?> node)</pre> <div class="block">Returns the number of levels of 'indentation' of the given TreeItem, based on how many times getParent() can be recursively called. If the given TreeItem is the root node of this TreeView, or if the TreeItem does not have any parent set, the returned value will be zero. For each time getParent() is recursively called, the returned value is incremented by one.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>node</code> - The TreeItem for which the level is needed.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>An integer representing the number of parents above the given node, or -1 if the given TreeItem is null.</dd> </dl> </li> </ul> <a name="createDefaultSkin--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>createDefaultSkin</h4> <pre>protected <a href="../../../javafx/scene/control/Skin.html" title="interface in javafx.scene.control">Skin</a><?> createDefaultSkin()</pre> <div class="block">Create a new instance of the default skin for this control. This is called to create a skin for the control if no skin is provided via CSS <code>-fx-skin</code> or set explicitly in a sub-class with <code>setSkin(...)</code>.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../javafx/scene/control/Control.html#createDefaultSkin--">createDefaultSkin</a></code> in class <code><a href="../../../javafx/scene/control/Control.html" title="class in javafx.scene.control">Control</a></code></dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>new instance of default skin for this control. If null then the control will have no skin unless one is provided by css.</dd> </dl> </li> </ul> <a name="refresh--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>refresh</h4> <pre>public void refresh()</pre> <div class="block">Calling <code>refresh()</code> forces the TreeView control to recreate and repopulate the cells necessary to populate the visual bounds of the control. In other words, this forces the TreeView to update what it is showing to the user. This is useful in cases where the underlying data source has changed in a way that is not observed by the TreeView itself.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8u60</dd> </dl> </li> </ul> <a name="getClassCssMetaData--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getClassCssMetaData</h4> <pre>public static java.util.List<<a href="../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><? extends <a href="../../../javafx/css/Styleable.html" title="interface in javafx.css">Styleable</a>,?>> getClassCssMetaData()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The CssMetaData associated with this class, which may include the CssMetaData of its super classes.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="getControlCssMetaData--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getControlCssMetaData</h4> <pre>public java.util.List<<a href="../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><? extends <a href="../../../javafx/css/Styleable.html" title="interface in javafx.css">Styleable</a>,?>> getControlCssMetaData()</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../javafx/scene/control/Control.html#getControlCssMetaData--">getControlCssMetaData</a></code> in class <code><a href="../../../javafx/scene/control/Control.html" title="class in javafx.scene.control">Control</a></code></dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>unmodifiable list of the controls css styleable properties</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="queryAccessibleAttribute-javafx.scene.AccessibleAttribute-java.lang.Object...-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>queryAccessibleAttribute</h4> <pre>public java.lang.Object queryAccessibleAttribute(<a href="../../../javafx/scene/AccessibleAttribute.html" title="enum in javafx.scene">AccessibleAttribute</a> attribute, java.lang.Object... parameters)</pre> <div class="block">* Accessibility handling * *</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../javafx/scene/control/Control.html#queryAccessibleAttribute-javafx.scene.AccessibleAttribute-java.lang.Object...-">queryAccessibleAttribute</a></code> in class <code><a href="../../../javafx/scene/control/Control.html" title="class in javafx.scene.control">Control</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>attribute</code> - the requested attribute</dd> <dd><code>parameters</code> - optional list of parameters</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>the value for the requested attribute</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/AccessibleAttribute.html" title="enum in javafx.scene"><code>AccessibleAttribute</code></a></dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/TreeView.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/control/TreeTableView.TreeTableViewSelectionModel.html" title="class in javafx.scene.control"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/control/TreeView.EditEvent.html" title="class in javafx.scene.control"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/control/TreeView.html" target="_top">Frames</a></li> <li><a href="TreeView.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.class.summary">Nested</a> | </li> <li><a href="#fields.inherited.from.class.javafx.scene.layout.Region">Field</a> | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><font size="-1"><a href="http://bugreport.java.com/bugreport/" target="_blank">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="https://docs.oracle.com/javase/8/docs/index.html" target="_blank">Java SE Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> <a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html" target="_blank">Copyright</a> © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to <a href="http://download.oracle.com/otndocs/jcp/java_se-8-mrel-spec/license.html" target="_blank">license terms</a>. Also see the <a target="_blank" href="http://www.oracle.com/technetwork/java/redist-137594.html" target="_blank">documentation redistribution policy</a>.</font></small></p> </body> </html>