|
Faceted Project Framework Version 1.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFilter<T>
Interface for implementing filters for various object types.
| Nested Class Summary | |
|---|---|
static interface |
IFilter.IFilterEvent<T>
|
static interface |
IFilter.IFilterListener<T>
|
| Method Summary | |
|---|---|
void |
addListener(IFilter.IFilterListener<T> listener,
IFilter.IFilterEvent.Type... types)
|
boolean |
check(T object)
The method that is called to let the filter make the determination whether an object passes through the filter. |
void |
removeListener(IFilter.IFilterListener<T> listener)
|
| Method Detail |
|---|
boolean check(T object)
object - the object that the filter should check
true if the object passes through the filter and
false otherwise
void addListener(IFilter.IFilterListener<T> listener,
IFilter.IFilterEvent.Type... types)
void removeListener(IFilter.IFilterListener<T> listener)
|
Faceted Project Framework Version 1.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||