public class

ImageResourcePrototype

extends Object
implements ImageResource
java.lang.Object
   ↳ com.google.gwt.resources.client.impl.ImageResourcePrototype

Class Overview

This is part of an implementation of the ImageBundle optimization implemented with ClientBundle.

Summary

Public Constructors
ImageResourcePrototype(String name, String url, int left, int top, int width, int height, boolean animated, boolean lossy)
Only called by generated code.
Public Methods
int getHeight()
Exists for testing purposes, not part of the ImageResource interface.
int getLeft()
Exists for testing purposes, not part of the ImageResource interface.
String getName()
Returns the name of the function within the ClientBundle used to create the ResourcePrototype.
int getTop()
Exists for testing purposes, not part of the ImageResource interface.
String getURL()
Exists for testing purposes, not part of the ImageResource interface.
int getWidth()
Exists for testing purposes, not part of the ImageResource interface.
boolean isAnimated()
Return true if the image contains multiple frames.
boolean isLossy()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.resources.client.ImageResource
From interface com.google.gwt.resources.client.ResourcePrototype

Public Constructors

public ImageResourcePrototype (String name, String url, int left, int top, int width, int height, boolean animated, boolean lossy)

Only called by generated code.

Public Methods

public int getHeight ()

Exists for testing purposes, not part of the ImageResource interface.

public int getLeft ()

Exists for testing purposes, not part of the ImageResource interface.

public String getName ()

Returns the name of the function within the ClientBundle used to create the ResourcePrototype.

Returns
  • the name of the function within the ClientBundle used to create the ResourcePrototype

public int getTop ()

Exists for testing purposes, not part of the ImageResource interface.

public String getURL ()

Exists for testing purposes, not part of the ImageResource interface.

public int getWidth ()

Exists for testing purposes, not part of the ImageResource interface.

public boolean isAnimated ()

Return true if the image contains multiple frames.

public boolean isLossy ()