|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.ResourceImageReference
public class ResourceImageReference
A reference to an image that can be retrieved as a resource.
| Field Summary |
|---|
| Fields inherited from interface nextapp.echo.ImageReference |
|---|
SIZE_UNKNOWN |
| Constructor Summary | |
|---|---|
ResourceImageReference(java.lang.String resourceName)
Creates a resource image reference retrieved from the provided resource name. |
|
ResourceImageReference(java.lang.String resourceName,
int width,
int height)
Creates a resource image reference retrieved from the provided resource name with the specified width and height. |
|
ResourceImageReference(java.lang.String resourceName,
java.lang.String contentType)
Creates a resource image reference retrieved from the provided resource name with the specified content type. |
|
ResourceImageReference(java.lang.String resourceName,
java.lang.String contentType,
int width,
int height)
Creates a resource image reference retrieved from the provided resource name with the specified content type, width and height. |
|
| Method Summary | |
|---|---|
void |
addImageUpdateListener(ImageUpdateListener l)
Not supported. |
java.lang.String |
getContentType()
|
int |
getHeight()
Returns the height of the image. |
int |
getWidth()
Returns the width of the image. |
void |
removeImageUpdateListener(ImageUpdateListener l)
Not supported. |
void |
render(java.io.OutputStream out)
|
void |
update()
Not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceImageReference(java.lang.String resourceName)
public ResourceImageReference(java.lang.String resourceName,
java.lang.String contentType)
public ResourceImageReference(java.lang.String resourceName,
int width,
int height)
public ResourceImageReference(java.lang.String resourceName,
java.lang.String contentType,
int width,
int height)
| Method Detail |
|---|
public void addImageUpdateListener(ImageUpdateListener l)
addImageUpdateListener in interface ImageReferencel - The ImageUpdateListener to add.ImageReference.addImageUpdateListener(ImageUpdateListener)public java.lang.String getContentType()
StreamImageReference.getContentType()public int getHeight()
ImageReference
getHeight in interface ImageReferenceImageReference.getHeight()public int getWidth()
ImageReference
getWidth in interface ImageReferenceImageReference.getWidth()public void removeImageUpdateListener(ImageUpdateListener l)
removeImageUpdateListener in interface ImageReferencel - The ImageUpdateListener to remove.ImageReference.removeImageUpdateListener(ImageUpdateListener)
public void render(java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionStreamImageReference.render(OutputStream)public void update()
update in interface ImageReferenceImageReference.update()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||