public class ImageBundleGenerator
extends com.google.gwt.core.ext.Generator
T
that
extends ImageBundle
.
Each method in T
must be declared to return
AbstractImagePrototype
, take no
parameters, and optionally specify the metadata tag gwt.resource
as the name of an image that can be found in the classpath. In the absence of
the metatadata tag, the method name with an extension of
.png, .jpg, or .gif
defines the name of the image, and the
image file must be located in the same package as T
.Constructor and Description |
---|
ImageBundleGenerator()
Default constructor for image bundle.
|
public ImageBundleGenerator()
public String generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String typeName) throws com.google.gwt.core.ext.UnableToCompleteException
generate
in class com.google.gwt.core.ext.Generator
com.google.gwt.core.ext.UnableToCompleteException
Copyright © 2016. All rights reserved.