[Arp] Sugestion.
Aral Balkan
aral at ariaware.com
Tue Feb 8 03:10:06 PST 2005
Also, one other minor modification: I changed the order of target and
data in the constructor since EventDispatcher automatically adds the
target property if one does not exist. So you can instantiate an Event
in the following two ways:
myEvent = new Event ( "someType", someDataObj );
// or
myEvent = new Event ( "someType", someDataObj, targetRef );
(ie., you can leave out target if you so desire.)
All the best,
Aral
Aral Balkan wrote:
> Hi Darron,
>
> I'm just going through and implementing your idea for an Event class
> and the it's basically your suggestion, with one small difference: The
> type of the target is left as Object so as to be generic (since you
> should be able to
More information about the Arp
mailing list