Module is.codion.swing.common.ui
Interface FilterTableColumnModel.VisibleColumns<C>
- Type Parameters:
C
- the column identifier type
- All Superinterfaces:
Observable<List<C>>
,Observer<List<C>>
- Enclosing interface:
FilterTableColumnModel<C>
Controls the visible columns
-
Method Summary
Methods inherited from interface is.codion.common.observable.Observable
addConsumer, addListener, addWeakConsumer, addWeakListener, getOrThrow, getOrThrow, isEqualTo, isNotEqualTo, isNull, isNullable, observer, optional, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener
-
Method Details
-
get
- Specified by:
get
in interfaceObservable<C>
- Returns:
- the visible columns or an empty list in case no columns are visible
-
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- 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
-