java.lang.Object |
↳ |
com.google.gwt.core.ext.Generator |
|
↳ |
com.google.gwt.user.rebind.ui.ImageBundleGenerator |
Class Overview
Generates an implementation of a user-defined interface 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
.
Summary
[Expand]
Inherited Methods |
From class
com.google.gwt.core.ext.Generator
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
ImageBundleGenerator
()
Default constructor for image bundle. Locates resources using this class's
own class loader.
Public Methods
public
String
generate
(TreeLogger logger, GeneratorContext context, String typeName)
Throws
UnableToCompleteException
| |