laaglu / lib-gwt-svg

a general purpose SVG library for GWT. The goal is to make it easy to do SVG graphics in a GWT application
http://www.vectomatic.org/libs/lib-gwt-svg
39 stars 23 forks source link

Allow SVGImage's (add|set|remove)StyleName methods to work #17

Closed lukelast closed 3 years ago

lukelast commented 9 years ago

Override GWT's (add | set | remove)StyleName methods to redirect them to the *ClassNameBaseVal instead. Otherwise calling them will trigger a runtime exception.

curtisbridges commented 9 years ago

This would be a great addition to the codebase; it aligns with GWT API design, and would avoid a confusing runtime error.