cz.cuni.amis.pogamut.base.component.bus
Interface IComponentEvent<SOURCE extends IComponent>

All Known Subinterfaces:
IFatalErrorEvent<SOURCE>, IPausedEvent<SOURCE>, IPausingEvent<SOURCE>, IResetEvent<SOURCE>, IResumedEvent<SOURCE>, IResumingEvent<SOURCE>, IStartedEvent<SOURCE>, IStartingEvent<SOURCE>, IStartingPausedEvent<SOURCE>, IStoppedEvent<SOURCE>, IStoppingEvent<SOURCE>
All Known Implementing Classes:
ComponentBusErrorEvent, ComponentEvent, FatalErrorEvent, FatalErrorPropagatingEvent, PausedEvent, PausingEvent, ResetEvent, ResumedEvent, ResumingEvent, StartedEvent, StartingEvent, StartingPausedEvent, StoppedEvent, StoppingEvent

public interface IComponentEvent<SOURCE extends IComponent>

Event that may happen on the EventBut.

Notice that ComponentBus does not require to operate only for components. Even though it is generally better to transmit events only from descendants of IComponents as ComponentBus provides better support for listeners in such cases.


Method Summary
 SOURCE getSource()
           
 

Method Detail

getSource

SOURCE getSource()