Programmatic access to inline Styles...?

24 views
Skip to first unread message

Jaroslav Záruba

unread,
Jun 20, 2010, 5:58:29 PM6/20/10
to Google Web Toolkit
Could someone help me understand this please?
widget.getElement().addStyle("...");

The problem is that com.google.gwt.user.client.Element does not seem to have addStyle(String) method.

Regards
  J. Záruba

Jaroslav Záruba

unread,
Jun 20, 2010, 6:16:38 PM6/20/10
to Google Web Toolkit
OK, so the methods defined in MyStyle interface only return class-names defined in the UiBinder XML. So the proper method is addClassName.

2010/6/20 Jaroslav Záruba <jarosla...@gmail.com>
Reply all
Reply to author
Forward
0 new messages