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


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

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


Required Element Summary
 java.lang.Class<?> objectClass
          Object class you want to listen to.
 

Element Detail

objectClass

public abstract java.lang.Class<?> objectClass
Object class you want to listen to.

Returns:
See Also:
IWorldView#addObjectListener(Class, cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObjectListener)