Module MaterialFX

Class AbstractSingleSelectionModel<T>

java.lang.Object
io.github.palexdev.materialfx.selection.base.AbstractSingleSelectionModel<T>
All Implemented Interfaces:
ISingleSelectionModel<T>
Direct Known Subclasses:
SingleSelectionModel

public abstract class AbstractSingleSelectionModel<T> extends Object implements ISingleSelectionModel<T>
Abstract base class for all SingleSelectionModels.

This class holds a property for the items list. Controls that uses this selection model are responsible for changes in the source list, so if anything changes there be sure to keep the selection model in a consistent state. Also holds a reference for SingleSelectionManager, the class that is effectively responsible for updating/managing the selection model' state.