|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.resources.client.impl.ImageResourcePrototype
public class ImageResourcePrototype
This is part of an implementation of the ImageBundle optimization implemented with ClientBundle.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.gwt.resources.client.ImageResource |
|---|
ImageResource.ImageOptions, ImageResource.RepeatStyle |
| Constructor Summary | |
|---|---|
ImageResourcePrototype(java.lang.String name,
java.lang.String url,
int left,
int top,
int width,
int height,
boolean animated,
boolean lossy)
Only called by generated code. |
|
| Method Summary | |
|---|---|
int |
getHeight()
Exists for testing purposes, not part of the ImageResource interface. |
int |
getLeft()
Exists for testing purposes, not part of the ImageResource interface. |
java.lang.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. |
java.lang.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()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageResourcePrototype(java.lang.String name,
java.lang.String url,
int left,
int top,
int width,
int height,
boolean animated,
boolean lossy)
| Method Detail |
|---|
public int getHeight()
getHeight in interface ImageResourcepublic int getLeft()
getLeft in interface ImageResourcepublic java.lang.String getName()
ResourcePrototype
getName in interface ResourcePrototypepublic int getTop()
getTop in interface ImageResourcepublic java.lang.String getURL()
getURL in interface ImageResourcepublic int getWidth()
getWidth in interface ImageResourcepublic boolean isAnimated()
ImageResourcetrue if the image contains multiple frames.
isAnimated in interface ImageResourcepublic boolean isLossy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||