Interface SpreadsheetFilter
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ItemFilter
Interface for filter components that can be added to a
SpreadsheetFilterTable. Filtering is done by simply hiding the
table's rows that are filtered.
Add / remove filters from table with
SpreadsheetFilterTable.registerFilter(PopupButton, SpreadsheetFilter)
and
SpreadsheetFilterTable.unRegisterFilter(PopupButton, SpreadsheetFilter)
When a filter been has updated (by server side or user actions),
SpreadsheetFilterTable.onFiltersUpdated() should be called.
- Author:
- Vaadin Ltd.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClear the filtering options.Returns the rows that should be filtered by this filter.
-
Method Details
-
clearFilter
void clearFilter()Clear the filtering options. After this method thegetFilteredRows()for this filter should return an empty set. -
getFilteredRows
Returns the rows that should be filtered by this filter. In other words the returned set of rows will be hidden from the table.- Returns:
- Row indexes of the filtered rows, 0-based
-