Module is.codion.common.model
Interface FilterTableModel<R,C>
- Type Parameters:
R- the type representing the rows in this table modelC- the type used to identify columns in this table model, Integer for indexed identification for example
- All Superinterfaces:
FilterModel<R>
- All Known Subinterfaces:
EntityTableModel<E,,R> SwingFilterTableModel<R,C>
- All Known Implementing Classes:
AbstractEntityTableModel,SwingEntityTableModel
A UI-agnostic table model based on FilterModel, supporting selection, filtering and sorting.
A FilterTableModel can not contain null items.
The Swing-specific is.codion.swing.common.model.component.table.SwingFilterTableModel extends this with
javax.swing.table.TableModel, adding cell editing and the fireTableXxx surface.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder for aFilterTableModel.static interfaceProvides access to table column valuesstatic interfaceExports the table model data as a String.static interfaceSpecifies the columns for a table model, their identifiers, their class and how to extract their value from a row instance.Nested classes/interfaces inherited from interface is.codion.common.model.filter.FilterModel
FilterModel.FilteredItems<T>, FilterModel.IncludedItems<T>, FilterModel.IncludePredicate<T>, FilterModel.Items<T>, FilterModel.Refresher<T>, FilterModel.Sort<T> -
Field Summary
Fields inherited from interface is.codion.common.model.filter.FilterModel
ASYNC -
Method Summary
Methods inherited from interface is.codion.common.model.filter.FilterModel
items
-
Method Details
-
columns
FilterTableModel.TableColumns<R,C> columns()- Returns:
- the table columns
-
values
FilterTableModel.ColumnValues<C> values()Provides access to column values- Returns:
- the
FilterTableModel.ColumnValues
-
selection
MultiSelection<R> selection()- Specified by:
selectionin interfaceFilterModel<R>- Returns:
- the
MultiSelectioninstance used by this table model
-
filters
TableConditionModel<C> filters()- Returns:
- the
TableConditionModelused to filter this table model
-
sort
FilterTableSort<R,C> sort()- Specified by:
sortin interfaceFilterModel<R>- Returns:
- the sort
-
export
FilterTableModel.Export<C> export()- Returns:
- a
FilterTableModel.Exportinstance for exporting the table model data
-
builder
- Returns:
- a
FilterTableModel.Builder.ColumnsStepinstance
-