java.lang.Object
io.github.palexdev.materialfx.selection.base.AbstractMultipleSelectionModel<T>
io.github.palexdev.materialfx.selection.MultipleSelectionModel<T>
- All Implemented Interfaces:
IMultipleSelectionModel<T>
Implementation of
AbstractMultipleSelectionModel to implement the API
specified by IMultipleSelectionModel.
The logic is handled by MultipleSelectionManager, in fact all methods are just delegates.-
Property Summary
Properties -
Field Summary
Fields inherited from class io.github.palexdev.materialfx.selection.base.AbstractMultipleSelectionModel
items, selectionManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDelegate method forMultipleSelectionManager.allowsMultipleSelection().voidDelegate method forMultipleSelectionManager.clearSelection().voiddeselectIndex(int index) Delegate method forMultipleSelectionManager.deselectIndex(int).voiddeselectIndexes(int... indexes) Delegate method forMultipleSelectionManager.deselectIndexes(int...).voiddeselectItem(T item) Delegate method forMultipleSelectionManager.deselectItem(Object).voiddeselectItems(T... items) Delegate method forMultipleSelectionManager.deselectItems(Object[]).voidexpandSelection(int index) Delegate method forMultipleSelectionManager.expandSelection(int).Delegate method forMultipleSelectionManager.getSelectedValues().Delegate method forMultipleSelectionManager.getSelection().voidreplaceSelection(Integer... indexes) Delegate method forMultipleSelectionManager.replaceSelection(Integer...).voidreplaceSelection(T... items) Delegate method forMultipleSelectionManager.replaceSelection(Object[]).voidselectIndex(int index) Delegate method forMultipleSelectionManager.updateSelection(int).voidselectIndexes(List<Integer> indexes) Delegate method forMultipleSelectionManager.updateSelectionByIndexes(List).Delegate method forMultipleSelectionManager.selectionProperty().voidselectItem(T item) Delegate method forMultipleSelectionManager.updateSelection(Object).voidselectItems(List<T> items) Delegate method forMultipleSelectionManager.updateSelectionByItems(List).voidsetAllowsMultipleSelection(boolean allowsMultipleSelection) Delegate method forMultipleSelectionManager.setAllowsMultipleSelection(boolean).voidsetSelection(ObservableMap<Integer, T> newSelection) Delegate method forMultipleSelectionManager.setSelection(ObservableMap).Methods inherited from class io.github.palexdev.materialfx.selection.base.AbstractMultipleSelectionModel
getItems
-
Property Details
-
selection
Delegate method forMultipleSelectionManager.selectionProperty().- See Also:
-
-
Constructor Details
-
MultipleSelectionModel
-
MultipleSelectionModel
-
-
Method Details
-
clearSelection
public void clearSelection()Delegate method forMultipleSelectionManager.clearSelection(). -
deselectIndex
public void deselectIndex(int index) Delegate method forMultipleSelectionManager.deselectIndex(int). -
deselectItem
Delegate method forMultipleSelectionManager.deselectItem(Object). -
deselectIndexes
public void deselectIndexes(int... indexes) Delegate method forMultipleSelectionManager.deselectIndexes(int...). -
deselectItems
Delegate method forMultipleSelectionManager.deselectItems(Object[]). -
selectIndex
public void selectIndex(int index) Delegate method forMultipleSelectionManager.updateSelection(int). -
selectItem
Delegate method forMultipleSelectionManager.updateSelection(Object). -
selectIndexes
Delegate method forMultipleSelectionManager.updateSelectionByIndexes(List). -
selectItems
Delegate method forMultipleSelectionManager.updateSelectionByItems(List). -
expandSelection
public void expandSelection(int index) Delegate method forMultipleSelectionManager.expandSelection(int). -
replaceSelection
Delegate method forMultipleSelectionManager.replaceSelection(Integer...). -
replaceSelection
Delegate method forMultipleSelectionManager.replaceSelection(Object[]). -
getSelection
Delegate method forMultipleSelectionManager.getSelection().- Returns:
- the selection
ObservableMap
-
selectionProperty
Delegate method forMultipleSelectionManager.selectionProperty().- See Also:
-
setSelection
Delegate method forMultipleSelectionManager.setSelection(ObservableMap). -
getSelectedValues
Delegate method forMultipleSelectionManager.getSelectedValues(). -
allowsMultipleSelection
public boolean allowsMultipleSelection()Delegate method forMultipleSelectionManager.allowsMultipleSelection(). -
setAllowsMultipleSelection
public void setAllowsMultipleSelection(boolean allowsMultipleSelection) Delegate method forMultipleSelectionManager.setAllowsMultipleSelection(boolean).
-