- Type Parameters:
T- the type of items in the model.
- All Known Subinterfaces:
EntityComboBoxModel,EntityTableModel<E,,R> FilterComboBoxModel<T>,FilterListModel<T>,FilterTableModel<R,,C> SwingEntityComboBoxModel,SwingFilterComboBoxModel<T>,SwingFilterListModel<T>,SwingFilterTableModel<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 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
-