Re: native javascript functions manipulation in java - overlay types

2012-01-31 Thread Sebastian Gurin
Yes there are some differences: * raphaelgwt is based in raphaeljs 1.0 and mine in raphael2.0. * raphaelgwt has limited support for doing native stuff it is base on gwt widgets for solving some problems. Specially there are no native event support (events are managed at gwt widget level). My li

Re: native javascript functions manipulation in java - overlay types

2012-01-31 Thread Alain Ekambi
Any difference between your library and http://code.google.com/p/raphaelgwt/ ? 2012/1/31 Sebastian Gurin > Thomas Thank you very much for your answers. You helped me al lot with my > first porting of a javascript toolkit to GWT: my own version of > raphaeljs.com (a cool javascript library for d

Re: native javascript functions manipulation in java - overlay types

2012-01-31 Thread Sebastian Gurin
Thomas Thank you very much for your answers. You helped me al lot with my first porting of a javascript toolkit to GWT: my own version of raphaeljs.com (a cool javascript library for doing vector graphics) to gwt: project page http://code.google.com/p/raphael4gwt/ demo with java sources availa

Re: native javascript functions manipulation in java - overlay types

2012-01-29 Thread Thomas Broyer
On Friday, January 27, 2012 5:27:10 PM UTC+1, Sebastian Gurin wrote: > > Ok I found more or less how to do what I want, the following registers a > click handler in a native DOM object: > > public class DomEventTest1 { > > public static interface ClickHandler { > void notifyClic

Re: native javascript functions manipulation in java - overlay types

2012-01-27 Thread Sebastian Gurin
Ok I found more or less how to do what I want, the following registers a click handler in a native DOM object: public class DomEventTest1 { public static interface ClickHandler { void notifyClick(Element source); } /** call this directly from your Entry point class */ public sta

native javascript functions manipulation in java - overlay types

2012-01-26 Thread Sebastian Gurin
Hello all. I'm trying my first javascript toolkit porting to java in gwt. I think JavaScript Overlay Types is exactly what I need. Everithing seems to be well supported with the exception of javascript functions... Explanation. The objective behind Overlay Types as I understand is to easily