static class ComboBox.ComboBoxSelectionModel<T> extends SingleSelectionModel<T>
selectedIndex, selectedItem| Constructor and Description |
|---|
ComboBox.ComboBoxSelectionModel(ComboBox<T> cb) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clearAndSelect, clearSelection, clearSelection, isEmpty, isSelected, select, select, selectFirst, selectLast, selectNext, selectPreviousgetSelectedIndex, getSelectedItem, selectedIndexProperty, selectedItemProperty, setSelectedIndex, setSelectedItemprotected T getModelItem(int index)
SingleSelectionModelgetModelItem in class SingleSelectionModel<T>index - The position of the item in the underlying data model.protected int getItemCount()
SingleSelectionModelgetItemCount in class SingleSelectionModel<T>Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.