public interface

ImageResource

implements ResourcePrototype
com.google.gwt.resources.client.ImageResource
Known Indirect Subclasses

Class Overview

Provides access to image resources at runtime.

Summary

Nested Classes
@interface ImageResource.ImageOptions Specifies additional options to control how an image is bundled. 
enum ImageResource.RepeatStyle Indicates that an ImageResource should be bundled in such a way as to support horizontal or vertical repetition. 
Public Methods
abstract int getHeight()
Returns the height of the image.
abstract int getLeft()
Returns the horizontal position of the image within the composite image.
abstract int getTop()
Returns the vertical position of the image within the composite image.
abstract String getURL()
Returns the URL for the composite image that contains the ImageResource.
abstract int getWidth()
Returns the width of the image.
abstract boolean isAnimated()
Return true if the image contains multiple frames.
[Expand]
Inherited Methods
From interface com.google.gwt.resources.client.ResourcePrototype

Public Methods

public abstract int getHeight ()

Returns the height of the image.

public abstract int getLeft ()

Returns the horizontal position of the image within the composite image.

public abstract int getTop ()

Returns the vertical position of the image within the composite image.

public abstract String getURL ()

Returns the URL for the composite image that contains the ImageResource.

public abstract int getWidth ()

Returns the width of the image.

public abstract boolean isAnimated ()

Return true if the image contains multiple frames.