|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

T - public static interface WaitForEvent.IEventFilter<T>
Note that only events that implements IComponentEvent may be really substitued as T.
| Method Summary | |
|---|---|
boolean |
accept(T event)
Whether the event may be accepted. |
Class |
getComponentClass()
If it does not return null - then only events that happened on this class of component may be accepted (this class or descendants). |
cz.cuni.amis.utils.token.Token |
getComponentId()
If it does not return null - then only events from the component of this id may be accepted. |
Class<T> |
getEventClass()
Must return class of the event that the object may accept. |
| Method Detail |
|---|
Class<T> getEventClass()
Must not return null!
Class getComponentClass()
cz.cuni.amis.utils.token.Token getComponentId()
boolean accept(T event)
event -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||