@Target(value=METHOD) @Retention(value=RUNTIME) public @interface EventListener
AnnotationListenerRegistrator to register level A listener
(IWorldView.addEventListener(Class, cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventListener)
for the annotated method. The annotated method must have 1 parameter of eventClass().
The listeners are created by calling AnnotationListenerRegistrator.addListeners() and removed by
calling AnnotationListenerRegistrator.removeListeners().
| Modifier and Type | Required Element and Description |
|---|---|
Class<?> |
eventClass
Event you want the method to receive.
|
public abstract Class<?> eventClass
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.