首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > asmodaios GWT工具类

asmodaios GWT工具类

  • 资源大小:11.95 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 工具 asmodaiosGWT

资 源 简 介

Various utility classes for GWT ``` ImageBundleMap Generator. Many people have asked "how do I look up an Image in an ImageBundle by String name?", in some cases this would be rather useful. This package contains a Generator for an ImageBundleMap. It implements/creates both your ImageBundle and an immutable Map say you have an ImageBundle: public interface AboutImageBundle extends ImageBundle { @Resource("about.png") public AbstractImagePrototype aboutImage(); } you create an interface that implements both ImageBundleMap and AboutImageBundle: public interface TestImageBundleMap extends ImageBundleMap, AboutImageBundle { } TestImageBundleMap tmap = GWT.create(TestImageBundleMap.class); Now, tmap is both an AboutImageBundle and a Map, and you can use it both ways: AbstractImagePrototype about = tmap.aboutIma

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP