1 package cz.cuni.amis.pogamut.base.component.bus; 2 3 import cz.cuni.amis.pogamut.base.component.IComponent; 4 5 /** 6 * Event that may happen on the EventBut. 7 * <p><p> 8 * Notice that {@link ComponentBus} does not require to operate only for components. Even though it is generally 9 * better to transmit events only from descendants of {@link IComponent}s as {@link ComponentBus} provides 10 * better support for listeners in such cases. 11 * 12 * @author Jimmy 13 * 14 * @param SOURCE 15 */ 16 public interface IComponentEvent<SOURCE extends IComponent> { 17 18 public SOURCE getSource(); 19 20 }