cz.cuni.amis.pogamut.base.component.bus.event.impl
Class ComponentEvent<SOURCE extends IComponent>

Package class diagram package ComponentEvent
java.lang.Object
  extended by 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

Constructor Summary
ComponentEvent(SOURCE source)
           
 
Method Summary
 SOURCE getSource()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentEvent

public ComponentEvent(SOURCE source)
Method Detail

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.