Module is.codion.swing.common.ui
Interface FilterTableColumnModel.ColumnSelection<C>
- Type Parameters:
C- the column identifier type
- All Superinterfaces:
ListSelectionModel
- Enclosing interface:
FilterTableColumnModel<C>
A column selection model
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents an anchor or lead selection index. -
Field Summary
Fields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION -
Method Summary
Methods 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, setValueIsAdjusting
-
Method Details
-
empty
ObservableState empty()- Returns:
- an
ObservableStateindicating whether the column selection is empty
-
indexes
ObservableValueList<Integer> indexes()- Returns:
- the selected column indexes
-
identifiers
ObservableValueList<C> identifiers()- Returns:
- the selected column identifiers
-
anchor
- Returns:
- the anchor selection index
- See Also:
-
lead
- Returns:
- the lead selection index
- See Also:
-