java.lang.Object
io.github.palexdev.materialfx.selection.base.AbstractSingleSelectionModel<T>
io.github.palexdev.materialfx.selection.SingleSelectionModel<T>
io.github.palexdev.materialfx.selection.ComboBoxSelectionModel<T>
- All Implemented Interfaces:
ISingleSelectionModel<T>
Extension of
SingleSelectionModel to implement a few more methods for comboboxes.-
Property Summary
Properties inherited from class io.github.palexdev.materialfx.selection.SingleSelectionModel
selectedIndex, selectedItem -
Field Summary
Fields inherited from class io.github.palexdev.materialfx.selection.base.AbstractSingleSelectionModel
items, selectionManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSelects the first item of the combobox if the items list is not empty.voidSelects the last item of the combobox if the items list is not empty.voidSelects the next item of the combobox if exists.voidSelects the previous item of the combobox if exists.Methods inherited from class io.github.palexdev.materialfx.selection.SingleSelectionModel
bindIndex, bindIndex, bindIndexBidirectional, bindIndexBidirectional, bindItem, bindItem, bindItemBidirectional, bindItemBidirectional, clearSelection, getSelectedIndex, getSelectedItem, isBound, selectedIndexProperty, selectedItemProperty, selectIndex, selectItem, unbind, unbindBidirectional, unbindIndexBidirectional, unbindItemBidirectionalMethods inherited from class io.github.palexdev.materialfx.selection.base.AbstractSingleSelectionModel
getItems, getUnmodifiableItems
-
Constructor Details
-
ComboBoxSelectionModel
-
ComboBoxSelectionModel
-
-
Method Details
-
selectFirst
public void selectFirst()Selects the first item of the combobox if the items list is not empty. -
selectNext
public void selectNext()Selects the next item of the combobox if exists. -
selectPrevious
public void selectPrevious()Selects the previous item of the combobox if exists. -
selectLast
public void selectLast()Selects the last item of the combobox if the items list is not empty.
-