cz.cuni.amis.pogamut.base.component.bus.event.impl
Class ComponentEvent<SOURCE extends IComponent>
java.lang.Object
cz.cuni.amis.pogamut.base.component.bus.event.impl.ComponentEvent<SOURCE>
- Type Parameters:
SOURCE
-
- All Implemented Interfaces:
- IComponentEvent<SOURCE>
- Direct Known Subclasses:
- PausedEvent, PausingEvent, ResetEvent, ResumedEvent, ResumingEvent, StartedEvent, StartingEvent, StartingPausedEvent, StoppedEvent, StoppingEvent
public class ComponentEvent<SOURCE extends IComponent>
- extends Object
- implements IComponentEvent<SOURCE>
Note that this is sort of utility class providing pretty-print (reflection based) for toString(), not every
event must be descendant of this class. For listener event class specification use always interfaces!
- Author:
- Jimmy
ComponentEvent
public ComponentEvent(SOURCE source)
getSource
public SOURCE getSource()
- Specified by:
getSource
in interface IComponentEvent<SOURCE extends IComponent>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.