T - public static interface WaitForEvent.IEventFilter<T>
IComponentEvent may be really substitued as T.| Modifier and Type | Method and Description |
|---|---|
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.
|
Class<T> getEventClass()
Must not return null!
Class getComponentClass()
cz.cuni.amis.utils.token.Token getComponentId()
boolean accept(T event)
event - Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.