public class

ImageBundleGenerator

extends Generator
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

Public Constructors
ImageBundleGenerator()
Default constructor for image bundle.
Public Methods
String generate(TreeLogger logger, GeneratorContext context, String typeName)
[Expand]
Inherited Methods
From class com.google.gwt.core.ext.Generator
From class java.lang.Object

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