static class ComboBox.ComboBoxSelectionModel<T> extends SingleSelectionModel<T>
selectedIndexProperty, selectedItemProperty
Modifier and Type | Field and Description |
---|---|
private boolean |
atomic |
private ComboBox<T> |
comboBox |
private <any> |
itemsContentObserver |
private InvalidationListener |
itemsObserver |
private <any> |
weakItemsContentObserver |
Constructor and Description |
---|
ComboBoxSelectionModel(ComboBox<T> cb) |
Modifier and Type | Method and Description |
---|---|
private void |
doAtomic(java.lang.Runnable r) |
protected int |
getItemCount()
Gets the number of items available for the selection model.
|
protected T |
getModelItem(int index)
Gets the data model item associated with a specific index.
|
private void |
updateItemsObserver(<any> oldList,
<any> newList) |
clearAndSelect, clearSelection, clearSelection, isEmpty, isSelected, select, select, selectFirst, selectLast, selectNext, selectPrevious
getSelectedIndex, getSelectedItem, selectedIndexProperty, selectedItemProperty, setSelectedIndex, setSelectedItem
private boolean atomic
private final <any> itemsContentObserver
private final InvalidationListener itemsObserver
private <any> weakItemsContentObserver
private void doAtomic(java.lang.Runnable r)
private void updateItemsObserver(<any> oldList, <any> newList)
protected T getModelItem(int index)
SingleSelectionModel
getModelItem
in class SingleSelectionModel<T>
index
- The position of the item in the underlying data model.protected int getItemCount()
SingleSelectionModel
getItemCount
in class SingleSelectionModel<T>