|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jguiraffe.gui.builder.event.filter.ChainedEventFilter
net.sf.jguiraffe.gui.builder.event.filter.AndEventFilter
public class AndEventFilter
A specialized chained filter implementation that provides an AND or ALL semantics.
This filter class implements the accept() method in a way that
it returns true only if all of the child filters return true.
| Constructor Summary | |
|---|---|
AndEventFilter()
Creates a new, empty instance of AndEventFilter. |
|
AndEventFilter(java.util.Collection<EventFilter> childFilters)
Creates a new instance of AndEventFilter and initializes it
with the given list of child filters. |
|
| Method Summary | |
|---|---|
boolean |
accept(java.lang.Object obj)
Tests the specified object whether it is accepted by this filter. |
| Methods inherited from class net.sf.jguiraffe.gui.builder.event.filter.ChainedEventFilter |
|---|
addFilter, addFilters, clear, getFilterIterator, getFilters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AndEventFilter()
AndEventFilter.
public AndEventFilter(java.util.Collection<EventFilter> childFilters)
AndEventFilter and initializes it
with the given list of child filters. The collection must contain non
null objects implementing the EventFilter interface.
childFilters - the child filters (must not be null
java.lang.IllegalArgumentException - if the collection with child filters is
null or contains null references| Method Detail |
|---|
public boolean accept(java.lang.Object obj)
obj - the object to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||