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 ListView<T> |
ListCellBehavior.getCellContainer() |
Constructor and Description |
---|
ListViewBehavior(ListView<T> control) |
Modifier and Type | Field and Description |
---|---|
private ListView<T> |
ComboBoxListViewSkin.listView |
Modifier and Type | Field and Description |
---|---|
private Callback<ListView<T>,ListCell<T>> |
ComboBoxListViewSkin.cellFactory |
Modifier and Type | Method and Description |
---|---|
private ListView<T> |
ComboBoxListViewSkin.createListView() |
ListView<T> |
ComboBoxListViewSkin.getListView()
API for testing
|
Modifier and Type | Method and Description |
---|---|
private Callback<ListView<T>,ListCell<T>> |
ComboBoxListViewSkin.getDefaultCellFactory() |
Constructor and Description |
---|
ListViewSkin(ListView<T> listView) |
Modifier and Type | Field and Description |
---|---|
private ListView<T> |
ListView.ListViewBitSetSelectionModel.listView
*
Internal properties *
*
|
private ListView<T> |
ListView.ListViewFocusModel.listView |
Modifier and Type | Field and Description |
---|---|
private Callback<ListView<T>,ListCell<T>> |
ListViewBuilder.cellFactory
Deprecated.
|
private Callback<ListView<T>,ListCell<T>> |
ComboBoxBuilder.cellFactory
Deprecated.
|
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.
|
private ObjectProperty<Callback<ListView<T>,ListCell<T>>> |
ListView.cellFactory |
private static CssMetaData<ListView<?>,java.lang.Number> |
ListView.StyleableProperties.FIXED_CELL_SIZE |
private ReadOnlyObjectWrapper<ListView<T>> |
ListCell.listView
The ListView associated with this Cell.
|
private static CssMetaData<ListView<?>,Orientation> |
ListView.StyleableProperties.ORIENTATION |
Modifier and Type | Method and Description |
---|---|
ListView<T> |
ListViewBuilder.build()
Deprecated.
Make an instance of
ListView based on the properties set on this builder. |
ListView<T> |
ListCell.getListView() |
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() |
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() |
Callback<ListView<T>,ListCell<T>> |
ListView.getCellFactory()
Returns the current cell factory.
|
ReadOnlyObjectProperty<ListView<T>> |
ListCell.listViewProperty() |
Modifier and Type | Method and Description |
---|---|
void |
ListViewBuilder.applyTo(ListView<T> x)
Deprecated.
|
private void |
ListCell.setListView(ListView<T> value) |
void |
ListCell.updateListView(ListView<T> listView)
Updates the ListView associated with this Cell.
|
Modifier and Type | Method and Description |
---|---|
B |
ListViewBuilder.cellFactory(Callback<ListView<T>,ListCell<T>> x)
Deprecated.
Set the value of the
cellFactory property for the instance constructed by this builder. |
B |
ComboBoxBuilder.cellFactory(Callback<ListView<T>,ListCell<T>> x)
Deprecated.
Set the value of the
cellFactory property for the instance constructed by this builder. |
void |
ComboBox.setCellFactory(Callback<ListView<T>,ListCell<T>> value) |
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.
|
ListViewBitSetSelectionModel(ListView<T> listView)
*
Constructors *
*
|
ListViewFocusModel(ListView<T> listView) |
Modifier and Type | Method and Description |
---|---|
static Callback<ListView<java.lang.String>,ListCell<java.lang.String>> |
TextFieldListCell.forListView()
|
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>> |
ComboBoxListCell.forListView(ObservableList<T> items)
Creates a ComboBox 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>> |
TextFieldListCell.forListView(StringConverter<T> converter)
|
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,
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,
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(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. |