- Type Parameters:
T- the type of items in the model.
- All Known Subinterfaces:
EntityComboBoxModel,EntityTableModel<M,,E, T, R> FilterComboBoxModel<T>,FilterListModel<T>,FilterTableModel<R,C>
- All Known Implementing Classes:
AbstractEntityTableModel,SwingEntityTableModel
public interface FilterModel<T>
Specifies a data model that can be filtered to exclude some or all of the items it contains.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn abstract base implementation ofFilterModel.Refresher.static interfacestatic interfacestatic interfaceControls which items should be included.static interfaceManages the items inFilterModel.static interfaceHandles refreshing data for aFilterModel.static interfaceImplements the sorting for aFilterModel -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyValue<Boolean> Specifies whether data models should refresh data asynchronously or on the UI thread Value type: Boolean Default value: true -
Method Summary
-
Field Details
-
ASYNC
Specifies whether data models should refresh data asynchronously or on the UI thread- Value type: Boolean
- Default value: true
- See Also:
-
-
Method Details
-
items
FilterModel.Items<T> items()- Returns:
- the model items
-
selection
SingleSelection<T> selection()- Returns:
- the
SingleSelectioninstance used by this model
-
sort
FilterModel.Sort<T> sort()- Returns:
- the
FilterModel.Sortinstance used by this model
-