EventDescriptor.as

Go to the documentation of this file.
00001 import gugga.common.IEventDispatcher;
00005 class gugga.common.EventDescriptor
00006 {
00007         private var mEventSource : IEventDispatcher;
00008         private var mEventName : String;
00009         
00010         public function get EventSource() : IEventDispatcher
00011         {
00012                 return mEventSource;
00013         }
00014 
00015         public function get EventName() : String
00016         {
00017                 return mEventName;
00018         }
00019         
00020         public function EventDescriptor(aEventSource : IEventDispatcher, aEventName : String)
00021         {
00022                 mEventSource = aEventSource;
00023                 mEventName = aEventName;
00024         }
00025         
00026         public function equals(aTarget : EventDescriptor) : Boolean
00027         {
00028                 return ((mEventSource === aTarget.EventSource) && (mEventName == aTarget.EventName)); 
00029         }
00030 }

Generated on Fri May 11 17:12:42 2007 for GuggaFramework by  doxygen 1.5.2