[xinf] DOM Events?
Nicolas Cannasse
ncannasse at motion-twin.com
Thu Jun 22 22:27:06 CEST 2006
> In my opinion both the two way avoid class explosion of
> ListenerInterfaces(like ActionListener, MouseListener,
> ComponentListener, many many listener interface in Java Swing), but
> there are still many Event classes too, i'm new to haXe, just
> wondering is there a way avoid Event class explosion instead of
> handler functions like:
My take on classless Events. I like a lot this solution. It's
lightweight and Data-centric. And flexible since you don't have to
extend/implement any class. However it's a bit more limited since it can
only handle Bubbbling as a return true/false statement (false stop
bubbling).
What do you guys think about it ?
Nicolas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: HaxeEvents.hx
Url: http://xinf.org/pipermail/xinf/attachments/20060622/d970e1eb/attachment.asc
More information about the xinf
mailing list