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.
|
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 |
---|---|
ListView<T> |
ListCell.getListView()
Gets the value of the property listView.
|
ListView<T> |
ListView.EditEvent.getSource()
Returns the ListView upon which the edit took place.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Callback<ListView<T>,ListCell<T>>> |
ComboBox.cellFactoryProperty()
Providing a custom cell factory allows for complete customization of the
rendering of items in the ComboBox.
|
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.
|
Callback<ListView<T>,ListCell<T>> |
ComboBox.getCellFactory()
Gets the value of the property cellFactory.
|
Callback<ListView<T>,ListCell<T>> |
ListView.getCellFactory()
Returns the current cell factory.
|
ReadOnlyObjectProperty<ListView<T>> |
ListCell.listViewProperty()
The ListView associated with this Cell.
|
Modifier and Type | Method and Description |
---|---|
void |
ListCell.updateListView(ListView<T> listView)
Updates the ListView associated with this Cell.
|
Modifier and Type | Method and Description |
---|---|
void |
ComboBox.setCellFactory(Callback<ListView<T>,ListCell<T>> value)
Sets the value of the property cellFactory.
|
void |
ListView.setCellFactory(Callback<ListView<T>,ListCell<T>> value)
Sets a new cell factory to use in the ListView.
|
Constructor and Description |
---|
EditEvent(ListView<T> source,
EventType<? extends ListView.EditEvent<T>> eventType,
T newValue,
int editIndex)
Creates a new EditEvent instance to represent an edit event.
|
Modifier and Type | Method and Description |
---|---|
static Callback<ListView<String>,ListCell<String>> |
TextFieldListCell.forListView()
|
static <T> Callback<ListView<T>,ListCell<T>> |
CheckBoxListCell.forListView(Callback<T,ObservableValue<Boolean>> getSelectedProperty)
Creates a cell factory for use in ListView controls.
|
static <T> Callback<ListView<T>,ListCell<T>> |
CheckBoxListCell.forListView(Callback<T,ObservableValue<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)
|
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. |
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.