A FilterBuilder produces an {@link com.smartgwt.client.data.AdvancedCriteria} object, which the {@link com.smartgwt.client.data.DataSource} subsystem canuse to filter datasets, including the ability to perform such filtering within the browser for datasets that are completely loaded.
Filter
instances for a single type of filters. Provides also the settings panel for the type of filter. Implementors should add the @ServiceProvider
annotation to be registered by the system or call FilterLibrary.addBuilder()
.
The JPanel
returned by the getPanel()
method is the settings panel that configures the filter parameters. These parameters can be get and set by using {@link Filter#getProperties()}. Settings panel should always set parameters values in that way. As a result the system will be aware values changed and update the filter.
See {@link CategoryBuilder} for builders that host multiple types of filters. @author Mathieu Bastian @see FilterLibrary
for example:
Predicatefilter1 = FilterBuilder.parse("+.*, -java.*"); Predicate filter2 = new FilterBuilder().include(".*").exclude("java.*");
for example:
Predicatefilter1 = FilterBuilder.parse("+.*, -java.*"); Predicate filter2 = new FilterBuilder().include(".*").exclude("java.*");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|