|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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 | |
---|---|
Class<?> |
eventClass
Event you want the method to receive. |
Element Detail |
---|
public abstract Class<?> eventClass
IWorldView.addEventListener(Class, cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |