Module is.codion.swing.common.ui
Interface FilterTableColumnModel.VisibleColumns<C>
- Type Parameters:
C
- the column identifier type
- Enclosing interface:
- FilterTableColumnModel<C>
Controls the visible columns
-
Method Summary
Modifier and TypeMethodDescriptioncolumns()
void
Arranges the columns so that only the given columns are visible and in the given ordervoid
Arranges the columns so that only the given columns are visible and in the given orderMethods inherited from interface is.codion.common.observer.Observable
addConsumer, addListener, addWeakConsumer, addWeakListener, get, observer, optional, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener
-
Method Details
-
set
Arranges the columns so that only the given columns are visible and in the given order- Parameters:
identifiers
- the column identifiers- Throws:
IllegalArgumentException
- in case a column is not found
-
set
Arranges the columns so that only the given columns are visible and in the given order- Specified by:
set
in interfaceMutable<C>
- Parameters:
identifiers
- the column identifiers- Throws:
IllegalArgumentException
- in case a column is not found
-
columns
List<FilterTableColumn<C>> columns()- Returns:
- an unmodifiable view of the currently visible columns
-