< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/TableView.java

Print this page

        

*** 3212,3222 **** /** * Causes the item at the given index to receive the focus. This does not * cause the current selection to change. Updates the focusedItem and * focusedIndex properties such that <code>focusedIndex = -1</code> unless ! * <pre><code>0 <= index < model size</code></pre>. * * @param index The index of the item to get focus. */ @Override public void focus(int index) { if (index < 0 || index >= getItemCount()) { --- 3212,3222 ---- /** * Causes the item at the given index to receive the focus. This does not * cause the current selection to change. Updates the focusedItem and * focusedIndex properties such that <code>focusedIndex = -1</code> unless ! * <pre><code>0 &lt;= index &lt; model size</code></pre>. * * @param index The index of the item to get focus. */ @Override public void focus(int index) { if (index < 0 || index >= getItemCount()) {
< prev index next >