- java.lang.Object
- 
- javafx.scene.control.FocusModel<T>
- 
- javafx.scene.control.TableFocusModel<TreeItem<S>,TreeTableColumn<S,?>>
- 
- javafx.scene.control.TreeTableView.TreeTableViewFocusModel<S>
 
 
 
- 
- 含まれているクラス:
- TreeTableView<S>
 
 public static class TreeTableView.TreeTableViewFocusModel<S> extends TableFocusModel<TreeItem<S>,TreeTableColumn<S,?>> TableViewコントロールの要件をサポートする追加機能を持つFocusModel。- 導入されたバージョン:
- JavaFX 8.0
- 関連項目:
- TableView
 
- 
- 
プロパティのサマリープロパティ Type プロパティ 説明 ReadOnlyObjectProperty<TreeTablePosition<S,?>>focusedCellフォーカスを持つTableViewの現在のアイテムの位置。- 
クラス javafx.scene.control.FocusModelで宣言されたプロパティfocusedIndex、focusedItem
 
- 
 - 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 TreeTableViewFocusModel(TreeTableView<S> treeTableView)指定されたTableViewコントロールのフォーカスの管理に使用されるデフォルトのTableViewFocusModelインスタンスを作成します。
 - 
メソッドのサマリーすべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 voidfocus(int index)指定されたインデックスのアイテムがフォーカスを受け取ります。voidfocus(int row, TreeTableColumn<S,?> column)指定されたインデックスのアイテムがフォーカスを受け取ります。voidfocus(TreeTablePosition<S,?> pos)TablePositionを使用して特定の行またはセルにフォーカスを設定するためのコンビニエンス・メソッド。voidfocusAboveCell()現在フォーカスがあるセルの上のセルへのフォーカスの移動を試行します。voidfocusBelowCell()現在フォーカスがあるセルの下のセルへのフォーカスの移動を試行します。ReadOnlyObjectProperty<TreeTablePosition<S,?>>focusedCellProperty()フォーカスを持つTableViewの現在のアイテムの位置。voidfocusLeftCell()現在フォーカスがあるセルの左のセルへのフォーカスの移動を試行します。voidfocusRightCell()現在フォーカスがあるセルの右のセルへのフォーカスの移動を試行します。TreeTablePosition<S,?>getFocusedCell()プロパティfocusedCellの値を取得します。booleanisFocused(int row, TreeTableColumn<S,?> column)指定された位置の行/セルがTableView内で現在フォーカスを持っているかどうかをテストします。- 
クラス javafx.scene.control.FocusModelで宣言されたメソッドfocusedIndexProperty, focusedItemProperty, focusNext, focusPrevious, getFocusedIndex, getFocusedItem, getItemCount, getModelItem, isFocused
 
- 
 
- 
- 
- 
プロパティの詳細- 
focusedCellpublic final ReadOnlyObjectProperty<TreeTablePosition<S,?>> focusedCellProperty フォーカスを持つTableViewの現在のアイテムの位置。- 関連項目:
- getFocusedCell()
 
 
- 
 - 
コンストラクタの詳細- 
TreeTableViewFocusModelpublic TreeTableViewFocusModel(TreeTableView<S> treeTableView) 指定されたTableViewコントロールのフォーカスの管理に使用されるデフォルトのTableViewFocusModelインスタンスを作成します。- パラメータ:
- treeTableView- このフォーカス・モデルが動作するtableView。
- 例外:
- NullPointerException- TableViewの引数をnullにすることはできません。
 
 
- 
 - 
メソッドの詳細- 
focusedCellPropertypublic final ReadOnlyObjectProperty<TreeTablePosition<S,?>> focusedCellProperty() フォーカスを持つTableViewの現在のアイテムの位置。- 関連項目:
- getFocusedCell()
 
 - 
getFocusedCellpublic final TreeTablePosition<S,?> getFocusedCell() プロパティfocusedCellの値を取得します。- プロパティの説明:
- フォーカスを持つTableViewの現在のアイテムの位置。
 
 - 
focuspublic void focus(int row, TreeTableColumn<S,?> column)指定されたインデックスのアイテムがフォーカスを受け取ります。- 定義:
- focus、クラス:- TableFocusModel<TreeItem<S>,TreeTableColumn<S,?>>
- パラメータ:
- row- フォーカスするアイテムの行インデックス。
- column- フォーカスするアイテムの列。 nullに設定できます。
 
 - 
focuspublic void focus(TreeTablePosition<S,?> pos) TablePositionを使用して特定の行またはセルにフォーカスを設定するためのコンビニエンス・メソッド。- パラメータ:
- pos- フォーカスを設定する表の位置。
 
 - 
isFocusedpublic boolean isFocused(int row, TreeTableColumn<S,?> column)指定された位置の行/セルがTableView内で現在フォーカスを持っているかどうかをテストします。- 定義:
- isFocused、クラス:- TableFocusModel<TreeItem<S>,TreeTableColumn<S,?>>
- パラメータ:
- row- 行
- column- 列
- 戻り値:
- 指定されたロケーションの行 / セルが現在UIコントロール内にフォーカスを持っている場合はtrue
 
 - 
focuspublic void focus(int index) 指定されたインデックスのアイテムがフォーカスを受け取ります。 このことによって現在の選択が変化することはありません。 次の場合を除いて、focusedIndex = -1になるように、focusedItemとfocusedIndexのプロパティを更新します。0 <= index < model size- オーバーライド:
- focus、クラス:- FocusModel<TreeItem<S>>
- パラメータ:
- index- フォーカスを取得するアイテムのインデックス。
 
 - 
focusAboveCellpublic void focusAboveCell() 現在フォーカスがあるセルの上のセルへのフォーカスの移動を試行します。- 定義:
- focusAboveCell、クラス:- TableFocusModel<TreeItem<S>,TreeTableColumn<S,?>>
 
 - 
focusBelowCellpublic void focusBelowCell() 現在フォーカスがあるセルの下のセルへのフォーカスの移動を試行します。- 定義:
- focusBelowCell、クラス:- TableFocusModel<TreeItem<S>,TreeTableColumn<S,?>>
 
 - 
focusLeftCellpublic void focusLeftCell() 現在フォーカスがあるセルの左のセルへのフォーカスの移動を試行します。- 定義:
- focusLeftCell、クラス:- TableFocusModel<TreeItem<S>,TreeTableColumn<S,?>>
 
 - 
focusRightCellpublic void focusRightCell() 現在フォーカスがあるセルの右のセルへのフォーカスの移動を試行します。- 定義:
- focusRightCell、クラス:- TableFocusModel<TreeItem<S>,TreeTableColumn<S,?>>
 
 
- 
 
-