<!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_77) on Fri Apr 22 13:46:36 UTC 2016 --> <title>ListView (JavaFX 8)</title> <meta name="date" content="2016-04-22"> <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="ListView (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":9,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"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}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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/ListView.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/ListCell.html" title="class in javafx.scene.control"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/control/ListView.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/ListView.html" target="_top">Frames</a></li> <li><a href="ListView.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 ListView" class="title">Class ListView<T></h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></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.ListView<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> - This type is used to represent the type of the objects stored in the ListViews <a href="../../../javafx/scene/control/ListView.html#itemsProperty--"><code>items</code></a> ObservableList. It is also used in the <a href="../../../javafx/scene/control/ListView.html#selectionModelProperty--"><code>selection model</code></a> and <a href="../../../javafx/scene/control/ListView.html#focusModelProperty--"><code>focus model</code></a>.</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>="items") public class <span class="typeNameLabel">ListView<T></span> extends <a href="../../../javafx/scene/control/Control.html" title="class in javafx.scene.control">Control</a></pre> <div class="block">A ListView displays a horizontal or vertical list of items from which the user may select, or with which the user may interact. A ListView is able to have its generic type set to represent the type of data in the backing model. Doing this has the benefit of making various methods in the ListView, as well as the supporting classes (mentioned below), type-safe. In addition, making use of the generic supports substantially simplifies development of applications making use of ListView, as all modern IDEs are able to auto-complete far more successfully with the additional type information. <h3>Populating a ListView</h3> <p>A simple example of how to create and populate a ListView of names (Strings) is shown here: <pre> <code> ObservableList<String> names = FXCollections.observableArrayList( "Julia", "Ian", "Sue", "Matthew", "Hannah", "Stephan", "Denise"); ListView<String> listView = new ListView<String>(names);</code></pre> <p>The elements of the ListView are contained within the <a href="../../../javafx/scene/control/ListView.html#itemsProperty--"><code>items</code></a> <a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections"><code>ObservableList</code></a>. This ObservableList is automatically observed by the ListView, such that any changes that occur inside the ObservableList will be automatically shown in the ListView itself. If passying the <code>ObservableList</code> in to the ListView constructor is not feasible, the recommended approach for setting the items is to simply call: <pre> <code> ObservableList<T> content = ... listView.setItems(content);</code></pre> The end result of this is, as noted above, that the ListView will automatically refresh the view to represent the items in the list. <p>Another approach, whilst accepted by the ListView, <b>is not the recommended approach</b>: <pre> <code> List<T> content = ... getItems().setAll(content);</code></pre> The issue with the approach shown above is that the content list is being copied into the items list - meaning that subsequent changes to the content list are not observed, and will not be reflected visually within the ListView. <h3>ListView 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 ListView has at most one instance of each of these classes, available from <a href="../../../javafx/scene/control/ListView.html#selectionModelProperty--"><code>selectionModel</code></a> and <a href="../../../javafx/scene/control/ListView.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 ListView 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 ListView instance, it is therefore necessary to do the following: <pre> <code> listView.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE);</code></pre> <h3>Customizing ListView Visuals</h3> <p>The visuals of the ListView can be entirely customized by replacing the default <a href="../../../javafx/scene/control/ListView.html#cellFactoryProperty--"><code>cell factory</code></a>. A cell factory is used to generate <a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control"><code>ListCell</code></a> instances, which are used to represent an item in the ListView. 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 ListView, this is the responsibility of the <a href="../../../javafx/scene/control/ListView.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 ListView, 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/ListView.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/ListView.html#setOnEditStart-javafx.event.EventHandler-"><code>edit start</code></a> and <a href="../../../javafx/scene/control/ListView.html#setOnEditCancel-javafx.event.EventHandler-"><code>edit cancel</code></a>.</p> <p>By default the ListView 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/ListView.EditEvent.html" title="class in javafx.scene.control"><code>ListView.EditEvent</code></a> that is fired. It is simply a matter of calling <a href="../../../javafx/scene/control/ListView.EditEvent.html#getNewValue--"><code>ListView.EditEvent.getNewValue()</code></a> to retrieve this value. <p>It is very important to note that if you call <a href="../../../javafx/scene/control/ListView.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/ListView.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/ListCell.html" title="class in javafx.scene.control"><code>ListCell</code></a>, <a href="../../../javafx/scene/control/MultipleSelectionModel.html" title="class in javafx.scene.control"><code>MultipleSelectionModel</code></a>, <a href="../../../javafx/scene/control/FocusModel.html" title="class in javafx.scene.control"><code>FocusModel</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/ListView.html" title="class in javafx.scene.control">ListView</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>,<a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control">ListCell</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#cellFactoryProperty">cellFactory</a></span></code> <div class="block">Setting a custom cell factory has the effect of deferring all cell creation, allowing for total customization of the cell.</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/ListView.html#editableProperty">editable</a></span></code> <div class="block">Specifies whether this ListView is editable - only if the ListView and the ListCells within it are both editable will a ListCell 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/ReadOnlyIntegerProperty.html" title="class in javafx.beans.property">ReadOnlyIntegerProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#editingIndexProperty">editingIndex</a></span></code> <div class="block">A property used to represent the index of the item currently being edited in the ListView, if editing is taking place, or -1 if no item is being edited.</div> </td> </tr> <tr id="i3" class="rowColor"> <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/ListView.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="i4" 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/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#focusModelProperty">focusModel</a></span></code> <div class="block">The FocusModel provides the API through which it is possible to both get and set the focus on a single item within a ListView.</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/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#itemsProperty">items</a></span></code> <div class="block">The underlying data model for the ListView.</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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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/ListView.html#scrollTo-int-"><code>scrollTo(int)</code></a> or <a href="../../../javafx/scene/control/ListView.html#scrollTo-T-"><code>scrollTo(Object)</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/geometry/Orientation.html" title="enum in javafx.geometry">Orientation</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#orientationProperty">orientation</a></span></code> <div class="block">The orientation of the <code>ListView</code> - this can either be horizontal or vertical.</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/Node.html" title="class in javafx.scene">Node</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#placeholderProperty">placeholder</a></span></code> <div class="block">This Node is shown to the user when the listview has no content to show.</div> </td> </tr> <tr id="i12" 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/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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 ListView, as well as inspect which items have been selected by the user.</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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.EditEvent.html" title="type parameter in ListView.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 ListView 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/ListView.html#ListView--">ListView</a></span>()</code> <div class="block">Creates a default ListView which will display contents stacked vertically.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#ListView-javafx.collections.ObservableList-">ListView</a></span>(<a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>> items)</code> <div class="block">Creates a default ListView which will stack the contents retrieved from the provided <a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections"><code>ObservableList</code></a> vertically.</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></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/ListView.html" title="class in javafx.scene.control">ListView</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>,<a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control">ListCell</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#cellFactoryProperty--">cellFactoryProperty</a></span>()</code> <div class="block">Setting a custom cell factory has the effect of deferring all cell creation, allowing for total customization of the cell.</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/ListView.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/ListView.html#edit-int-">edit</a></span>(int itemIndex)</code> <div class="block">Instructs the ListView to begin editing the item in the given index, if the ListView is <a href="../../../javafx/scene/control/ListView.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/ListView.html#editableProperty--">editableProperty</a></span>()</code> <div class="block">Specifies whether this ListView is editable - only if the ListView and the ListCells within it are both editable will a ListCell 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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><T>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><T>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#editCancelEvent--">editCancelEvent</a></span>()</code> <div class="block">An EventType used to indicate that an edit event has just been canceled within the ListView 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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><T>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#editCommitEvent--">editCommitEvent</a></span>()</code> <div class="block">An EventType used to indicate that an edit event has been committed within the ListView upon which the event was fired.</div> </td> </tr> <tr id="i7" 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/ListView.html#editingIndexProperty--">editingIndexProperty</a></span>()</code> <div class="block">A property used to represent the index of the item currently being edited in the ListView, if editing is taking place, or -1 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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><T>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#editStartEvent--">editStartEvent</a></span>()</code> <div class="block">An EventType used to indicate that an edit event has started within the ListView upon which the event was fired.</div> </td> </tr> <tr id="i9" class="rowColor"> <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/ListView.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="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/FocusModel.html" title="class in javafx.scene.control">FocusModel</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#focusModelProperty--">focusModelProperty</a></span>()</code> <div class="block">The FocusModel provides the API through which it is possible to both get and set the focus on a single item within a ListView.</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a><<a href="../../../javafx/scene/control/ListView.html" title="class in javafx.scene.control">ListView</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>,<a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control">ListCell</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#getCellFactory--">getCellFactory</a></span>()</code> <div class="block">Returns the current cell factory.</div> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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/ListView.html#getClassCssMetaData--">getClassCssMetaData</a></span>()</code> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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/ListView.html#getControlCssMetaData--">getControlCssMetaData</a></span>()</code></td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#getEditingIndex--">getEditingIndex</a></span>()</code> <div class="block">Returns the index of the item currently being edited in the ListView, or -1 if no item is being edited.</div> </td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#getFixedCellSize--">getFixedCellSize</a></span>()</code> <div class="block">Returns the fixed cell size value.</div> </td> </tr> <tr id="i16" 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/ListView.html" title="type parameter in ListView">T</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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="i17" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#getItems--">getItems</a></span>()</code> <div class="block">Returns an <a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections"><code>ObservableList</code></a> that contains the items currently being shown to the user.</div> </td> </tr> <tr id="i18" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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="i19" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../../javafx/scene/control/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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="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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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="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/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#getOnScrollTo--">getOnScrollTo</a></span>()</code> <div class="block">Gets the value of the property onScrollTo.</div> </td> </tr> <tr id="i22" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/geometry/Orientation.html" title="enum in javafx.geometry">Orientation</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#getOrientation--">getOrientation</a></span>()</code> <div class="block">Returns the current orientation of the ListView, which dictates whether it scrolls vertically or horizontally.</div> </td> </tr> <tr id="i23" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#getPlaceholder--">getPlaceholder</a></span>()</code> <div class="block">Gets the value of the property placeholder.</div> </td> </tr> <tr id="i24" 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/ListView.html" title="type parameter in ListView">T</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#getSelectionModel--">getSelectionModel</a></span>()</code> <div class="block">Returns the currently installed selection model.</div> </td> </tr> <tr id="i25" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#isEditable--">isEditable</a></span>()</code> <div class="block">Gets the value of the property editable.</div> </td> </tr> <tr id="i26" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#itemsProperty--">itemsProperty</a></span>()</code> <div class="block">The underlying data model for the ListView.</div> </td> </tr> <tr id="i27" 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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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="i28" 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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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="i29" 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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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="i30" 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/ScrollToEvent.html" title="class in javafx.scene.control">ScrollToEvent</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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/ListView.html#scrollTo-int-"><code>scrollTo(int)</code></a> or <a href="../../../javafx/scene/control/ListView.html#scrollTo-T-"><code>scrollTo(Object)</code></a></div> </td> </tr> <tr id="i31" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/geometry/Orientation.html" title="enum in javafx.geometry">Orientation</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#orientationProperty--">orientationProperty</a></span>()</code> <div class="block">The orientation of the <code>ListView</code> - this can either be horizontal or vertical.</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/scene/Node.html" title="class in javafx.scene">Node</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#placeholderProperty--">placeholderProperty</a></span>()</code> <div class="block">This Node is shown to the user when the listview has no content to show.</div> </td> </tr> <tr id="i33" class="rowColor"> <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... parameters)</code> <div class="block">* Accessibility handling * *</div> </td> </tr> <tr id="i34" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#refresh--">refresh</a></span>()</code> <div class="block">Calling <code>refresh()</code> forces the ListView control to recreate and repopulate the cells necessary to populate the visual bounds of the control.</div> </td> </tr> <tr id="i35" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#scrollTo-int-">scrollTo</a></span>(int index)</code> <div class="block">Scrolls the ListView such that the item in the given index is visible to the end user.</div> </td> </tr> <tr id="i36" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.html#scrollTo-T-">scrollTo</a></span>(<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a> object)</code> <div class="block">Scrolls the TableView so that the given object is visible within the viewport.</div> </td> </tr> <tr id="i37" 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/ListView.html" title="type parameter in ListView">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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 ListView, as well as inspect which items have been selected by the user.</div> </td> </tr> <tr id="i38" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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/ListView.html" title="class in javafx.scene.control">ListView</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>,<a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control">ListCell</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>> value)</code> <div class="block">Sets a new cell factory to use in the ListView.</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/ListView.html#setEditable-boolean-">setEditable</a></span>(boolean value)</code> <div class="block">Sets the value of the property editable.</div> </td> </tr> <tr id="i40" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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="i41" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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/ListView.html" title="type parameter in ListView">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 ListView.</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/ListView.html#setItems-javafx.collections.ObservableList-">setItems</a></span>(<a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>> value)</code> <div class="block">Sets the underlying data model for the ListView.</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/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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="i44" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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 has completed their editing.</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/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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="i46" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/ListView.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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>> value)</code> <div class="block">Sets the value of the property onScrollTo.</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/ListView.html#setOrientation-javafx.geometry.Orientation-">setOrientation</a></span>(<a href="../../../javafx/geometry/Orientation.html" title="enum in javafx.geometry">Orientation</a> value)</code> <div class="block">Sets the orientation of the ListView, which dictates whether it scrolls vertically or horizontally.</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/ListView.html#setPlaceholder-javafx.scene.Node-">setPlaceholder</a></span>(<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> value)</code> <div class="block">Sets the value of the property placeholder.</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/ListView.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/ListView.html" title="type parameter in ListView">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 ListView.</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#layoutChildren--">layoutChildren</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.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></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="itemsProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>items</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>> itemsProperty</pre> <div class="block">The underlying data model for the ListView. Note that it has a generic type that must match the type of the ListView itself.</div> </li> </ul> <a name="placeholderProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>placeholder</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>> placeholderProperty</pre> <div class="block">This Node is shown to the user when the listview has no content to show. This may be the case because the table model has no data in the first place or that a filter has been applied to the list model, resulting in there being nothing to show the user..</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/ListView.html#getPlaceholder--"><code>getPlaceholder()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setPlaceholder-javafx.scene.Node-"><code>setPlaceholder(Node)</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/ListView.html" title="type parameter in ListView">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 ListView, as well as inspect which items have been selected by the user. Note that it has a generic type that must match the type of the ListView itself.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getSelectionModel--"><code>getSelectionModel()</code></a>, <a href="../../../javafx/scene/control/ListView.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/ListView.html" title="type parameter in ListView">T</a>>> focusModelProperty</pre> <div class="block">The FocusModel provides the API through which it is possible to both get and set the focus on a single item within a ListView. Note that it has a generic type that must match the type of the ListView itself.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getFocusModel--"><code>getFocusModel()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setFocusModel-javafx.scene.control.FocusModel-"><code>setFocusModel(FocusModel)</code></a></dd> </dl> </li> </ul> <a name="orientationProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>orientation</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/geometry/Orientation.html" title="enum in javafx.geometry">Orientation</a>> orientationProperty</pre> <div class="block">The orientation of the <code>ListView</code> - this can either be horizontal or vertical.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getOrientation--"><code>getOrientation()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setOrientation-javafx.geometry.Orientation-"><code>setOrientation(Orientation)</code></a></dd> </dl> </li> </ul> <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/ListView.html" title="class in javafx.scene.control">ListView</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>,<a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control">ListCell</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>> cellFactoryProperty</pre> <div class="block"><p>Setting a custom cell factory has the effect of deferring all cell creation, allowing for total customization of the cell. Internally, the ListView is responsible for reusing ListCells - all that is necessary is for the custom cell factory to return from this function a ListCell which might be usable for representing any item in the ListView. <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 detail.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getCellFactory--"><code>getCellFactory()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setCellFactory-javafx.util.Callback-"><code>setCellFactory(Callback)</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/ListView.html#getFixedCellSize--"><code>getFixedCellSize()</code></a>, <a href="../../../javafx/scene/control/ListView.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 ListView is editable - only if the ListView and the ListCells within it are both editable will a ListCell be able to go into their editing state.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#isEditable--"><code>isEditable()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setEditable-boolean-"><code>setEditable(boolean)</code></a></dd> </dl> </li> </ul> <a name="editingIndexProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editingIndex</h4> <pre>public final <a href="../../../javafx/beans/property/ReadOnlyIntegerProperty.html" title="class in javafx.beans.property">ReadOnlyIntegerProperty</a> editingIndexProperty</pre> <div class="block"><p>A property used to represent the index of the item currently being edited in the ListView, if editing is taking place, or -1 if no item is being edited. <p>It is not possible to set the editing index, instead it is required that you call <a href="../../../javafx/scene/control/ListView.html#edit-int-"><code>edit(int)</code></a>.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getEditingIndex--"><code>getEditingIndex()</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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListView.html#getOnEditStart--"><code>getOnEditStart()</code></a>, <a href="../../../javafx/scene/control/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListCell.html#commitEdit-T-"><code>ListCell.commitEdit(java.lang.Object)</code></a> from within your custom ListCell. 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/ListView.html#getOnEditCommit--"><code>getOnEditCommit()</code></a>, <a href="../../../javafx/scene/control/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListView.html#getOnEditCancel--"><code>getOnEditCancel()</code></a>, <a href="../../../javafx/scene/control/ListView.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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>>> onScrollToProperty</pre> <div class="block">Called when there's a request to scroll an index into view using <a href="../../../javafx/scene/control/ListView.html#scrollTo-int-"><code>scrollTo(int)</code></a> or <a href="../../../javafx/scene/control/ListView.html#scrollTo-T-"><code>scrollTo(Object)</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/ListView.html#getOnScrollTo--"><code>getOnScrollTo()</code></a>, <a href="../../../javafx/scene/control/ListView.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="ListView--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ListView</h4> <pre>public ListView()</pre> <div class="block">Creates a default ListView which will display contents stacked vertically. As no <a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections"><code>ObservableList</code></a> is provided in this constructor, an empty ObservableList is created, meaning that it is legal to directly call <a href="../../../javafx/scene/control/ListView.html#getItems--"><code>getItems()</code></a> if so desired. However, as noted elsewhere, this is not the recommended approach (instead call <a href="../../../javafx/scene/control/ListView.html#setItems-javafx.collections.ObservableList-"><code>setItems(javafx.collections.ObservableList)</code></a>). <p>Refer to the <a href="../../../javafx/scene/control/ListView.html" title="class in javafx.scene.control"><code>ListView</code></a> class documentation for details on the default state of other properties.</div> </li> </ul> <a name="ListView-javafx.collections.ObservableList-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>ListView</h4> <pre>public ListView(<a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>> items)</pre> <div class="block">Creates a default ListView which will stack the contents retrieved from the provided <a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections"><code>ObservableList</code></a> vertically. <p>Attempts to add a listener to the <a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections"><code>ObservableList</code></a>, such that all subsequent changes inside the list will be shown to the user. <p>Refer to the <a href="../../../javafx/scene/control/ListView.html" title="class in javafx.scene.control"><code>ListView</code></a> class documentation for details on the default state of other properties.</div> </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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.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/ListView.html#EDIT_START_EVENT"><code>EDIT_START_EVENT</code></a>, <a href="../../../javafx/scene/control/ListView.html#EDIT_COMMIT_EVENT"><code>EDIT_COMMIT_EVENT</code></a> and <a href="../../../javafx/scene/control/ListView.html#EDIT_CANCEL_EVENT"><code>EDIT_CANCEL_EVENT</code></a>.</div> </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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><T>> editStartEvent()</pre> <div class="block">An EventType used to indicate that an edit event has started within the ListView upon which the event was fired.</div> </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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><T>> editCancelEvent()</pre> <div class="block">An EventType used to indicate that an edit event has just been canceled within the ListView upon which the event was fired.</div> </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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><T>> editCommitEvent()</pre> <div class="block">An EventType used to indicate that an edit event has been committed within the ListView upon which the event was fired.</div> </li> </ul> <a name="setItems-javafx.collections.ObservableList-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setItems</h4> <pre>public final void setItems(<a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>> value)</pre> <div class="block">Sets the underlying data model for the ListView. Note that it has a generic type that must match the type of the ListView itself.</div> </li> </ul> <a name="getItems--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getItems</h4> <pre>public final <a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>> getItems()</pre> <div class="block">Returns an <a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections"><code>ObservableList</code></a> that contains the items currently being shown to the user. This may be null if <a href="../../../javafx/scene/control/ListView.html#setItems-javafx.collections.ObservableList-"><code>setItems(javafx.collections.ObservableList)</code></a> has previously been called, however, by default it is an empty ObservableList.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>An ObservableList containing the items to be shown to the user, or null if the items have previously been set to null.</dd> </dl> </li> </ul> <a name="itemsProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>itemsProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>> itemsProperty()</pre> <div class="block">The underlying data model for the ListView. Note that it has a generic type that must match the type of the ListView itself.</div> </li> </ul> <a name="placeholderProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>placeholderProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>> placeholderProperty()</pre> <div class="block">This Node is shown to the user when the listview has no content to show. This may be the case because the table model has no data in the first place or that a filter has been applied to the list model, resulting in there being nothing to show the user..</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/ListView.html#getPlaceholder--"><code>getPlaceholder()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setPlaceholder-javafx.scene.Node-"><code>setPlaceholder(Node)</code></a></dd> </dl> </li> </ul> <a name="setPlaceholder-javafx.scene.Node-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setPlaceholder</h4> <pre>public final void setPlaceholder(<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> value)</pre> <div class="block">Sets the value of the property placeholder.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>This Node is shown to the user when the listview has no content to show. This may be the case because the table model has no data in the first place or that a filter has been applied to the list model, resulting in there being nothing to show the user..</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="getPlaceholder--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlaceholder</h4> <pre>public final <a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> getPlaceholder()</pre> <div class="block">Gets the value of the property placeholder.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>This Node is shown to the user when the listview has no content to show. This may be the case because the table model has no data in the first place or that a filter has been applied to the list model, resulting in there being nothing to show the user..</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</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/ListView.html" title="type parameter in ListView">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 ListView. Despite a ListView requiring a <b>Multiple</b>SelectionModel, 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/ListView.html" title="type parameter in ListView">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/ListView.html" title="type parameter in ListView">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 ListView, as well as inspect which items have been selected by the user. Note that it has a generic type that must match the type of the ListView itself.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getSelectionModel--"><code>getSelectionModel()</code></a>, <a href="../../../javafx/scene/control/ListView.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/ListView.html" title="type parameter in ListView">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 ListView.</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/ListView.html" title="type parameter in ListView">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/ListView.html" title="type parameter in ListView">T</a>>> focusModelProperty()</pre> <div class="block">The FocusModel provides the API through which it is possible to both get and set the focus on a single item within a ListView. Note that it has a generic type that must match the type of the ListView itself.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getFocusModel--"><code>getFocusModel()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setFocusModel-javafx.scene.control.FocusModel-"><code>setFocusModel(FocusModel)</code></a></dd> </dl> </li> </ul> <a name="setOrientation-javafx.geometry.Orientation-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setOrientation</h4> <pre>public final void setOrientation(<a href="../../../javafx/geometry/Orientation.html" title="enum in javafx.geometry">Orientation</a> value)</pre> <div class="block">Sets the orientation of the ListView, which dictates whether it scrolls vertically or horizontally.</div> </li> </ul> <a name="getOrientation--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getOrientation</h4> <pre>public final <a href="../../../javafx/geometry/Orientation.html" title="enum in javafx.geometry">Orientation</a> getOrientation()</pre> <div class="block">Returns the current orientation of the ListView, which dictates whether it scrolls vertically or horizontally.</div> </li> </ul> <a name="orientationProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>orientationProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/geometry/Orientation.html" title="enum in javafx.geometry">Orientation</a>> orientationProperty()</pre> <div class="block">The orientation of the <code>ListView</code> - this can either be horizontal or vertical.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getOrientation--"><code>getOrientation()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setOrientation-javafx.geometry.Orientation-"><code>setOrientation(Orientation)</code></a></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/ListView.html" title="class in javafx.scene.control">ListView</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>,<a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control">ListCell</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>> value)</pre> <div class="block">Sets a new cell factory to use in the ListView. This forces all old <a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control"><code>ListCell</code></a>'s to be thrown away, and new ListCell's created with the new cell factory.</div> </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/ListView.html" title="class in javafx.scene.control">ListView</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>,<a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control">ListCell</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>> getCellFactory()</pre> <div class="block">Returns the current cell factory.</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/ListView.html" title="class in javafx.scene.control">ListView</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>,<a href="../../../javafx/scene/control/ListCell.html" title="class in javafx.scene.control">ListCell</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a>>>> cellFactoryProperty()</pre> <div class="block"><p>Setting a custom cell factory has the effect of deferring all cell creation, allowing for total customization of the cell. Internally, the ListView is responsible for reusing ListCells - all that is necessary is for the custom cell factory to return from this function a ListCell which might be usable for representing any item in the ListView. <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 detail.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getCellFactory--"><code>getCellFactory()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setCellFactory-javafx.util.Callback-"><code>setCellFactory(Callback)</code></a></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/ListView.html#getFixedCellSize--"><code>getFixedCellSize()</code></a>, <a href="../../../javafx/scene/control/ListView.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 ListView is editable - only if the ListView and the ListCells within it are both editable will a ListCell 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 ListView is editable - only if the ListView and the ListCells within it are both editable will a ListCell 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 ListView is editable - only if the ListView and the ListCells within it are both editable will a ListCell be able to go into their editing state.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#isEditable--"><code>isEditable()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setEditable-boolean-"><code>setEditable(boolean)</code></a></dd> </dl> </li> </ul> <a name="getEditingIndex--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getEditingIndex</h4> <pre>public final int getEditingIndex()</pre> <div class="block">Returns the index of the item currently being edited in the ListView, or -1 if no item is being edited.</div> </li> </ul> <a name="editingIndexProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>editingIndexProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ReadOnlyIntegerProperty.html" title="class in javafx.beans.property">ReadOnlyIntegerProperty</a> editingIndexProperty()</pre> <div class="block"><p>A property used to represent the index of the item currently being edited in the ListView, if editing is taking place, or -1 if no item is being edited. <p>It is not possible to set the editing index, instead it is required that you call <a href="../../../javafx/scene/control/ListView.html#edit-int-"><code>edit(int)</code></a>.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/ListView.html#getEditingIndex--"><code>getEditingIndex()</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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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. <p>This is a convenience method - the same result can be achieved by calling <code>addEventHandler(ListView.EDIT_START_EVENT, eventHandler)</code>.</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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListView.html#getOnEditStart--"><code>getOnEditStart()</code></a>, <a href="../../../javafx/scene/control/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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 has completed their editing. This is called as part of the <a href="../../../javafx/scene/control/ListCell.html#commitEdit-T-"><code>ListCell.commitEdit(java.lang.Object)</code></a> method. <p>This is a convenience method - the same result can be achieved by calling <code>addEventHandler(ListView.EDIT_START_EVENT, eventHandler)</code>.</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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListCell.html#commitEdit-T-"><code>ListCell.commitEdit(java.lang.Object)</code></a> from within your custom ListCell. 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/ListView.html#getOnEditCommit--"><code>getOnEditCommit()</code></a>, <a href="../../../javafx/scene/control/ListView.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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListView.EditEvent.html" title="class in javafx.scene.control">ListView.EditEvent</a><<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">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/ListView.html#getOnEditCancel--"><code>getOnEditCancel()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setOnEditCancel-javafx.event.EventHandler-"><code>setOnEditCancel(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="edit-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>edit</h4> <pre>public void edit(int itemIndex)</pre> <div class="block">Instructs the ListView to begin editing the item in the given index, if the ListView is <a href="../../../javafx/scene/control/ListView.html#editableProperty--"><code>editable</code></a>. Once this method is called, if the current <a href="../../../javafx/scene/control/ListView.html#cellFactoryProperty--"><code>cellFactoryProperty()</code></a> is set up to support editing, the Cell will switch its visual state to enable for user input to take place.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>itemIndex</code> - The index of the item in the ListView 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 ListView 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 size of the items list contained within the given ListView.</dd> </dl> </li> </ul> <a name="scrollTo-java.lang.Object-"> <!-- --> </a><a name="scrollTo-T-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>scrollTo</h4> <pre>public void scrollTo(<a href="../../../javafx/scene/control/ListView.html" title="type parameter in ListView">T</a> object)</pre> <div class="block">Scrolls the TableView so that the given object is visible within the viewport.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>object</code> - The object that should be visible to the user.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>> 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/ListView.html#scrollTo-int-"><code>scrollTo(int)</code></a> or <a href="../../../javafx/scene/control/ListView.html#scrollTo-T-"><code>scrollTo(Object)</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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>> 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/ListView.html#scrollTo-int-"><code>scrollTo(int)</code></a> or <a href="../../../javafx/scene/control/ListView.html#scrollTo-T-"><code>scrollTo(Object)</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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>>> onScrollToProperty()</pre> <div class="block">Called when there's a request to scroll an index into view using <a href="../../../javafx/scene/control/ListView.html#scrollTo-int-"><code>scrollTo(int)</code></a> or <a href="../../../javafx/scene/control/ListView.html#scrollTo-T-"><code>scrollTo(Object)</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/ListView.html#getOnScrollTo--"><code>getOnScrollTo()</code></a>, <a href="../../../javafx/scene/control/ListView.html#setOnScrollTo-javafx.event.EventHandler-"><code>setOnScrollTo(EventHandler)</code></a></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 ListView control to recreate and repopulate the cells necessary to populate the visual bounds of the control. In other words, this forces the ListView 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 ListView 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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> queryAccessibleAttribute(<a href="../../../javafx/scene/AccessibleAttribute.html" title="enum in javafx.scene">AccessibleAttribute</a> attribute, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... 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/ListView.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/ListCell.html" title="class in javafx.scene.control"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/control/ListView.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/ListView.html" target="_top">Frames</a></li> <li><a href="ListView.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><small><a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html">Copyright</a> (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.</small></small></p> </body> </html>