开发者

What module do I need to import to use Anchor class in GWT?

I find that when I add开发者_StackOverflow the following line to my custom GWT widget @UiField Anchor header;

I get a missing module error. I can't find documentation anywhere on what modules contain what. Can someone shed some light on what module I need to import to make this work?


The Anchor is in base module, so if you have access to other GWT classes you should have access to it as well. So maybe you should check whether you haven't accidentally imported Anchor from other package. GWT Anchor should be from com.google.gwt.user.client.ui

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜