## Uses of Class
javafx.scene.control.FocusModel

- Packages that use FocusModel
  Package | Description
  --- | ---
  javafx.scene.control | The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts.

- - ### Uses of FocusModel in javafx.scene.control

    Subclasses of FocusModel in javafx.scene.control
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TableFocusModel<T,TC extends TableColumnBase<T,?>>` The abstract base class for FocusModel implementations that are used within table-like controls (most notably `TableView` and `TreeTableView`.
    `static class` | `TableView.TableViewFocusModel<S>` A `FocusModel` with additional functionality to support the requirements of a TableView control.
    `static class` | `TreeTableView.TreeTableViewFocusModel<S>` A `FocusModel` with additional functionality to support the requirements of a TableView control.

    Methods in javafx.scene.control that return FocusModel
    Modifier and Type | Method and Description
    --- | ---
    `FocusModel<TreeItem<T>>` | TreeView.`getFocusModel()` Returns the currently installed `FocusModel`.
    `FocusModel<T>` | ListView.`getFocusModel()` Returns the currently installed `FocusModel`.

    Methods in javafx.scene.control that return types with arguments of type FocusModel
    Modifier and Type | Method and Description
    --- | ---
    `ObjectProperty<FocusModel<TreeItem<T>>>` | TreeView.`focusModelProperty()` The FocusModel provides the API through which it is possible to control focus on zero or one rows of the TreeView.
    `ObjectProperty<FocusModel<T>>` | ListView.`focusModelProperty()` The FocusModel provides the API through which it is possible to both get and set the focus on a single item within a ListView.

    Methods in javafx.scene.control with parameters of type FocusModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | ListView.`setFocusModel(FocusModel<T> value)` Sets the `FocusModel` to be used in the ListView.
    `void` | TreeView.`setFocusModel(FocusModel<TreeItem<T>> value)` Sets the `FocusModel` to be used in the TreeView.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.