クラス
javafx.scene.control.ListCellの使用
-
ListCellを使用するパッケージ パッケージ 説明 javafx.scene.control JavaFXユーザー・インタフェース・コントロール(UIコントロールまたは単純なコントロール)は、特に多くの異なるアプリケーション・コンテキストでの再利用に適しているJavaFXシーングラフの特化されたノードです。javafx.scene.control.cell javafx.scene.control.cell
パッケージには、Cell
、IndexedCell
、ListCell
、TreeCell
およびTableCell
などのコア・クラス以外のすべてのセル関連クラスが配置されます。javafx.scene.control.skin javafx.scene.control.skinパッケージでは、通常は各UIコントロールのスキン・クラスが配置されます -
-
javafx.scene.controlのListCellの使用
ListCellを返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 ListCell<T>
ComboBox. getButtonCell()
プロパティbuttonCellの値を取得します。ListCell型の引数を持つ型を返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 ObjectProperty<ListCell<T>>
ComboBox. buttonCellProperty()
ボタン・セルを使用して、ComboBoxのボタン領域に表示される内容をレンダリングします。ObjectProperty<Callback<ListView<T>,ListCell<T>>>
ComboBox. cellFactoryProperty()
カスタム・セル・ファクトリにより、ComboBoxのアイテムのレンダリングを完全にカスタマイズできます。ObjectProperty<Callback<ListView<T>,ListCell<T>>>
ListView. cellFactoryProperty()
カスタム・セル・ファクトリを設定すると、すべてのセル作成を遅延する効果があり、セルのすべてのカスタマイズが許可されます。Callback<ListView<T>,ListCell<T>>
ComboBox. getCellFactory()
プロパティcellFactoryの値を取得します。Callback<ListView<T>,ListCell<T>>
ListView. getCellFactory()
現在のセル・ファクトリを返します。ListCell型のパラメータを持つjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 void
ComboBox. setButtonCell(ListCell<T> value)
プロパティbuttonCellの値を設定します。ListCell型の型引数を持つjavafx.scene.controlのメソッド・パラメータ 修飾子と型 メソッド 説明 void
ComboBox. setCellFactory(Callback<ListView<T>,ListCell<T>> value)
プロパティcellFactoryの値を設定します。void
ListView. setCellFactory(Callback<ListView<T>,ListCell<T>> value)
ListViewで使用する新規セル・ファクトリを設定します。 -
javafx.scene.control.cellのListCellの使用
javafx.scene.control.cellのListCellのサブクラス 修飾子と型 クラス 説明 class
CheckBoxListCell<T>
class
ChoiceBoxListCell<T>
class
ComboBoxListCell<T>
class
TextFieldListCell<T>
ListCell型の引数を持つ型を返すjavafx.scene.control.cellのメソッド 修飾子と型 メソッド 説明 static <T> Callback<ListView<T>,ListCell<T>>
CheckBoxListCell. forListView(Callback<T,ObservableValue<Boolean>> getSelectedProperty)
ListViewコントロールで使用するセル・ファクトリを作成します。static <T> Callback<ListView<T>,ListCell<T>>
CheckBoxListCell. forListView(Callback<T,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)
ListViewコントロールで使用するセル・ファクトリを作成します。static <T> Callback<ListView<T>,ListCell<T>>
ChoiceBoxListCell. forListView(ObservableList<T> items)
ListView
コントロールで使用するChoiceBoxセル・ファクトリを作成します。static <T> Callback<ListView<T>,ListCell<T>>
ChoiceBoxListCell. forListView(StringConverter<T> converter, ObservableList<T> items)
ListView
コントロールで使用するChoiceBoxセル・ファクトリを作成します。static <T> Callback<ListView<T>,ListCell<T>>
ChoiceBoxListCell. forListView(StringConverter<T> converter, T... items)
ListView
コントロールで使用するChoiceBoxセル・ファクトリを作成します。static <T> Callback<ListView<T>,ListCell<T>>
ChoiceBoxListCell. forListView(T... items)
ListView
コントロールで使用するChoiceBoxセル・ファクトリを作成します。static <T> Callback<ListView<T>,ListCell<T>>
ComboBoxListCell. forListView(ObservableList<T> items)
ListView
コントロールで使用するComboBoxセル・ファクトリを作成します。static <T> Callback<ListView<T>,ListCell<T>>
ComboBoxListCell. forListView(StringConverter<T> converter, ObservableList<T> items)
ListView
コントロールで使用するComboBoxセル・ファクトリを作成します。static <T> Callback<ListView<T>,ListCell<T>>
ComboBoxListCell. forListView(StringConverter<T> converter, T... items)
ListView
コントロールで使用するComboBoxセル・ファクトリを作成します。static <T> Callback<ListView<T>,ListCell<T>>
ComboBoxListCell. forListView(T... items)
ListView
コントロールで使用するComboBoxセル・ファクトリを作成します。static Callback<ListView<String>,ListCell<String>>
TextFieldListCell. forListView()
セルがダブルクリックされるか、またはListView.edit(int)
が呼び出されたときに、TextField
を提供してセル内容を編集できるようにします。static <T> Callback<ListView<T>,ListCell<T>>
TextFieldListCell. forListView(StringConverter<T> converter)
セルがダブルクリックされるか、またはListView.edit(int)
が呼び出されたときに、TextField
を提供してセル内容を編集できるようにします。 -
javafx.scene.control.skinでのListCellの使用
型ListCellのパラメータを持つjavafx.scene.control.skinのコンストラクタ コンストラクタ 説明 ListCellSkin(ListCell<T> control)
新しいListCellSkinインスタンスを作成し、必要な子ノードをControlchildren
リストにインストールし、キー、マウスなどのイベントを処理するために必要な入力マッピングも作成します。
-