|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface ObjectEventListener
Used by AnnotationListenerRegistrator to register level E listener
(IWorldView#addObjectListener(WorldObjectId, 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 | |
|---|---|
Class<?> |
eventClass
Events you want the method to receive. |
Class<? extends WorldObjectId> |
idClass
Class implementing WorldObjectId, the class must have a constructor with 1 String parameter. |
String |
objectId
Id of the object you want to listen to. |
| Element Detail |
|---|
public abstract Class<? extends WorldObjectId> idClass
WorldObjectId, the class must have a constructor with 1 String parameter.
public abstract String objectId
IWorldView#addObjectListener(WorldObjectId, Class, cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObjectListener)public abstract Class<?> eventClass
IWorldView#addObjectListener(WorldObjectId, Class, cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObjectListener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||