|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.events.impl.EventFilter
public class EventFilter
A filter for events, based on type name or event tag.
| Constructor Summary | |
|---|---|
EventFilter(Class cls)
Create event filter for event tag tag. |
|
EventFilter(EventTag tag)
Create event filter for event tag tag. |
|
EventFilter(String type)
Create event filter for event type type. |
|
| Method Summary | |
|---|---|
boolean |
matches(ActivemathEvent event)
Say if event matches this filter. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventFilter(String type)
type.
public EventFilter(EventTag tag)
tag.
public EventFilter(Class cls)
tag.
| Method Detail |
|---|
public boolean matches(ActivemathEvent event)
A type filter matches when the event type matches.
A tag filter matches when event tag matches. (@see EventTag.matches())
event matches this filterpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||