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