1 /** 2 * com.sekati.events.IEventDispatch 3 * @version 1.1.1 4 * @author jason m horwitz | sekati.com 5 * Copyright (C) 2007 jason m horwitz, Sekat LLC. All Rights Reserved. 6 * Released under the MIT License: http://www.opensource.org/licenses/mit-license.php 7 */ 8 9 import com.sekati.core.CoreInterface; 10 import com.sekati.events.Event; 11 12 /** 13 * Interface describing Event Dispatchers such as {@link com.sekati.events.Dispatcher}. 14 */ 15 interface com.sekati.events.IDispatchable extends CoreInterface { 16 17 function addEventListener(event:String, listener:Object):Void; 18 19 function removeEventListener(event:String, listener:Object):Void; 20 21 function dispatchEvent(e:Event):Void; 22 23 function bubbleEvent(e:Event):Void; 24 25 function broadcastEvent(_type:String, _target:Object, _data:Object):Void; 26 }