Class Filter<T>
- java.lang.Object
-
- org.neotropic.kuwaiba.modules.core.navigation.filters.Filter<T>
-
- Type Parameters:
T
-
- Direct Known Subclasses:
LocationFilter
,OnlyPortsFilter
public abstract class Filter<T> extends Object
Functional interface intended to be used to create filters that will retrieve data to be placed in the page after a search result or a static filter.- Author:
- Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description Filter()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String[]
appliesTo()
Returns the class whose instances the view applies to.abstract com.vaadin.flow.component.Component
callBack()
used to retrieves the data that will used to create the content in the page when the filter is used
-
-
-
Field Detail
-
name
protected String name
The filter's name
-
-
Method Detail
-
appliesTo
public abstract String[] appliesTo()
Returns the class whose instances the view applies to.- Returns:
- Abstract super classes (such as ViewableObject) are also supported.
-
callBack
public abstract com.vaadin.flow.component.Component callBack()
used to retrieves the data that will used to create the content in the page when the filter is used- Returns:
- a Vaadin component
-
-