hoavaio / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

ImageChart doesn't have event support #473

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:

Detailed description:
The ImageChart JS Api supports some mouse events but they aren't exposed by 
ImageChart.java.

http://code.google.com/intl/en/apis/chart/interactive/docs/gallery/genericimagec
hart.html

Workaround if you have one:
Hack this into the source of ImageChart.java and recompile for onmouseout and 
onmouseover:

  public final void addOnMouseOutHandler(OnMouseOutHandler handler) {
    Handler.addHandler(this, "onmouseout", handler);
  }

  public final void addOnMouseOverHandler(OnMouseOverHandler handler) {
    Handler.addHandler(this, "onmouseover", handler);
  }

onclick and error are similar, but will require new Handler classes to be 
created as well.

Links to the relevant GWT Developer Forum posts:
https://groups.google.com/forum/#!topic/gwt-google-apis/z1eBofZeN5k

Original issue reported on code.google.com by zundel@google.com on 8 Jul 2011 at 10:14

GoogleCodeExporter commented 9 years ago

Original comment by zundel@google.com on 28 Oct 2011 at 4:11