cz.cuni.amis.pogamut.base.communication.worldview.listener.annotation
Annotation Type EventListener


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface EventListener

Used by 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().


Required Element Summary
 java.lang.Class<?> eventClass
          Event you want the method to receive.
 

Element Detail

eventClass

public abstract java.lang.Class<?> eventClass
Event you want the method to receive.

Returns:
See Also:
IWorldView.addEventListener(Class, cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventListener)