Package | Description |
---|---|
net.coderazzi.filters | |
net.coderazzi.filters.gui |
Modifier and Type | Class and Description |
---|---|
class |
AndFilter
Composed set of filters, added via logical AND.
|
class |
ComposedFilter
Abstract parent class to support the composition of multiple filters.
|
class |
Filter
|
class |
NotFilter
Composed set of filters, added via logical AND, and then NOT-ed the result.
|
class |
OrFilter
Composed set of filters, added via logical OR.
|
Modifier and Type | Field and Description |
---|---|
protected Set<IFilter> |
ComposedFilter.filters
Set of associated IFilters.
|
Modifier and Type | Method and Description |
---|---|
Set<IFilter> |
ComposedFilter.getFilters()
Returns all
IFilter instances previously
added. |
Modifier and Type | Method and Description |
---|---|
void |
ComposedFilter.addFilter(IFilter... filtersToAdd)
Subscribes one or more
IFilter instances to
receive filter events from this composition filter. |
void |
IFilterObserver.filterUpdated(IFilter obs)
Notification made by the observer when the associated
IFilter instance updates the held filter. |
void |
ComposedFilter.filterUpdated(IFilter filter) |
protected boolean |
ComposedFilter.isDisabled(IFilter filter)
Returns true if there is information of this filter as disabled.
|
void |
ComposedFilter.removeFilter(IFilter... filtersToRemove)
Unsubscribes one or more
IFilter s that were
previously subscribed to receive filter events. |
Constructor and Description |
---|
AndFilter(IFilter... observables)
Constructor built up out of one or more
IFilter instances. |
ComposedFilter(IFilter... observables)
Constructor built up out of one or more
IFilter instances. |
NotFilter(IFilter... observables)
Constructor built up out of one or more
IFilter instances. |
OrFilter(IFilter... observables)
Constructor built up out of one or more
IFilter instances. |
Modifier and Type | Class and Description |
---|---|
class |
FiltersHandler
|
Modifier and Type | Method and Description |
---|---|
IFilter |
IFilterEditor.getFilter()
Returns the
IFilter associated to the editor's contentThe returned instance can then be used to enable or disable the filter and its GUI component. |
Modifier and Type | Method and Description |
---|---|
void |
TableFilterHeader.addFilter(IFilter... filter)
Adds a filter -user specified- to the filter header.
|
void |
FiltersHandler.addFilter(IFilter... filtersToAdd)
ComposedFilter interface. |
void |
FiltersHandler.filterUpdated(IFilter filter)
ComposedFilter interface. |
void |
TableFilterHeader.removeFilter(IFilter... filter)
Adds a filter -user specified- to the filter header.
|
void |
FiltersHandler.removeFilter(IFilter... filtersToRemove)
ComposedFilter interface. |