Module is.codion.swing.common.model
Interface FilterListSelection<T>
- Type Parameters:
T- the list item type
- All Superinterfaces:
ListSelectionModel,MultiSelection<T>,SingleSelection<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.common.model.selection.MultiSelection
MultiSelection.Indexes, MultiSelection.Items<R> -
Field Summary
Fields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T> FilterListSelection<T> filterListSelection(FilterModel.IncludedItems<T> items) Instantiates a newFilterListSelectioninstance based on the given itemsMethods inherited from interface javax.swing.ListSelectionModel
addListSelectionListener, addSelectionInterval, clearSelection, getAnchorSelectionIndex, getLeadSelectionIndex, getMaxSelectionIndex, getMinSelectionIndex, getSelectedIndices, getSelectedItemsCount, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isSelectedIndex, isSelectionEmpty, removeIndexInterval, removeListSelectionListener, removeSelectionInterval, setAnchorSelectionIndex, setLeadSelectionIndex, setSelectionInterval, setSelectionMode, setValueIsAdjustingMethods inherited from interface is.codion.common.model.selection.MultiSelection
adjusting, count, index, indexes, items, multiple, selectAll, single, singleSelectionMethods inherited from interface is.codion.common.model.selection.SingleSelection
changing, clear, empty, item
-
Method Details
-
filterListSelection
Instantiates a newFilterListSelectioninstance based on the given items- Type Parameters:
T- the list item type- Parameters:
items- theFilterModel.IncludedItemsto select from- Returns:
- a new
FilterListSelectioninstance
-