Package | Description |
---|---|
com.sun.javafx.scene.control.behavior | |
com.sun.javafx.scene.control.skin | |
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.
|
javafx.scene.control.cell |
The
javafx.scene.control.cell package is where all cell-related
classes are located, other than the core classes such as
Cell , IndexedCell ,
ListCell , TreeCell ,
and TableCell . |
Modifier and Type | Method and Description |
---|---|
protected void |
ListCellBehavior.edit(ListCell<T> cell) |
Constructor and Description |
---|
ListCellBehavior(ListCell<T> control)
*
Constructors *
*
|
Modifier and Type | Field and Description |
---|---|
private ListCell<T> |
ComboBoxListViewSkin.buttonCell |
Modifier and Type | Field and Description |
---|---|
private Callback<ListView<T>,ListCell<T>> |
ComboBoxListViewSkin.cellFactory |
Modifier and Type | Method and Description |
---|---|
ListCell<T> |
ListViewSkin.createCell() |
private static <T> ListCell<T> |
ListViewSkin.createDefaultCellImpl() |
Modifier and Type | Method and Description |
---|---|
private Callback<ListView<T>,ListCell<T>> |
ComboBoxListViewSkin.getDefaultCellFactory() |
Modifier and Type | Method and Description |
---|---|
private boolean |
ComboBoxListViewSkin.updateDisplayText(ListCell<T> cell,
T item,
boolean empty) |
Constructor and Description |
---|
ListCellSkin(ListCell<T> control) |
Modifier and Type | Field and Description |
---|---|
private ListCell<T> |
ComboBoxBuilder.buttonCell
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<ListCell<T>> |
ComboBox.buttonCell |
private Callback<ListView<T>,ListCell<T>> |
ComboBoxBuilder.cellFactory
Deprecated.
|
private Callback<ListView<T>,ListCell<T>> |
ListViewBuilder.cellFactory
Deprecated.
|
private ObjectProperty<Callback<ListView<T>,ListCell<T>>> |
ListView.cellFactory |
private ObjectProperty<Callback<ListView<T>,ListCell<T>>> |
ComboBox.cellFactory
Providing a custom cell factory allows for complete customization of the
rendering of items in the ComboBox.
|
Modifier and Type | Method and Description |
---|---|
ListCell<T> |
ListCellBuilder.build()
Deprecated.
Make an instance of
ListCell based on the properties set on this builder. |
ListCell<T> |
ComboBox.getButtonCell() |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<ListCell<T>> |
ComboBox.buttonCellProperty()
The button cell is used to render what is shown in the ComboBox 'button'
area.
|
ObjectProperty<Callback<ListView<T>,ListCell<T>>> |
ListView.cellFactoryProperty()
Setting a custom cell factory has the effect of deferring all cell
creation, allowing for total customization of the cell.
|
ObjectProperty<Callback<ListView<T>,ListCell<T>>> |
ComboBox.cellFactoryProperty() |
Callback<ListView<T>,ListCell<T>> |
ListView.getCellFactory()
Returns the current cell factory.
|
Callback<ListView<T>,ListCell<T>> |
ComboBox.getCellFactory() |
Modifier and Type | Method and Description |
---|---|
B |
ComboBoxBuilder.buttonCell(ListCell<T> x)
Deprecated.
Set the value of the
buttonCell property for the instance constructed by this builder. |
void |
ComboBox.setButtonCell(ListCell<T> value) |
Modifier and Type | Method and Description |
---|---|
B |
ComboBoxBuilder.cellFactory(Callback<ListView<T>,ListCell<T>> x)
Deprecated.
Set the value of the
cellFactory property for the instance constructed by this builder. |
B |
ListViewBuilder.cellFactory(Callback<ListView<T>,ListCell<T>> x)
Deprecated.
Set the value of the
cellFactory property for the instance constructed by this builder. |
void |
ListView.setCellFactory(Callback<ListView<T>,ListCell<T>> value)
Sets a new cell factory to use in the ListView.
|
void |
ComboBox.setCellFactory(Callback<ListView<T>,ListCell<T>> value) |
Modifier and Type | Class and Description |
---|---|
class |
CheckBoxListCell<T>
|
class |
ChoiceBoxListCell<T>
|
class |
ComboBoxListCell<T>
|
class |
TextFieldListCell<T>
|
Modifier and Type | Method and Description |
---|---|
static Callback<ListView<java.lang.String>,ListCell<java.lang.String>> |
TextFieldListCell.forListView()
Provides a
TextField that allows editing of the cell content when
the cell is double-clicked, or when ListView.edit(int) is called. |
static <T> Callback<ListView<T>,ListCell<T>> |
CheckBoxListCell.forListView(Callback<T,ObservableValue<java.lang.Boolean>> getSelectedProperty)
Creates a cell factory for use in ListView controls.
|
static <T> Callback<ListView<T>,ListCell<T>> |
CheckBoxListCell.forListView(Callback<T,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<T> converter)
Creates a cell factory for use in ListView controls.
|
static <T> Callback<ListView<T>,ListCell<T>> |
ChoiceBoxListCell.forListView(ObservableList<T> items)
Creates a ChoiceBox cell factory for use in
ListView controls. |
static <T> Callback<ListView<T>,ListCell<T>> |
ComboBoxListCell.forListView(ObservableList<T> items)
Creates a ComboBox cell factory for use in
ListView controls. |
static <T> Callback<ListView<T>,ListCell<T>> |
TextFieldListCell.forListView(StringConverter<T> converter)
Provides a
TextField that allows editing of the cell content when
the cell is double-clicked, or when ListView.edit(int) is called. |
static <T> Callback<ListView<T>,ListCell<T>> |
ChoiceBoxListCell.forListView(StringConverter<T> converter,
ObservableList<T> items)
Creates a ChoiceBox cell factory for use in
ListView controls. |
static <T> Callback<ListView<T>,ListCell<T>> |
ComboBoxListCell.forListView(StringConverter<T> converter,
ObservableList<T> items)
Creates a ComboBox cell factory for use in
ListView controls. |
static <T> Callback<ListView<T>,ListCell<T>> |
ChoiceBoxListCell.forListView(StringConverter<T> converter,
T... items)
Creates a ChoiceBox cell factory for use in
ListView controls. |
static <T> Callback<ListView<T>,ListCell<T>> |
ComboBoxListCell.forListView(StringConverter<T> converter,
T... items)
Creates a ComboBox cell factory for use in
ListView controls. |
static <T> Callback<ListView<T>,ListCell<T>> |
ChoiceBoxListCell.forListView(T... items)
Creates a ChoiceBox cell factory for use in
ListView controls. |
static <T> Callback<ListView<T>,ListCell<T>> |
ComboBoxListCell.forListView(T... items)
Creates a ComboBox cell factory for use in
ListView controls. |