|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.HttpImageReference
public class HttpImageReference
A reference to an image that may be retrieved through an HTTP request.
Field Summary |
---|
Fields inherited from interface nextapp.echo.ImageReference |
---|
SIZE_UNKNOWN |
Constructor Summary | |
---|---|
HttpImageReference(java.lang.String uri)
Creates a reference to an image at the specified URI of unknown size. |
|
HttpImageReference(java.lang.String uri,
int width,
int height)
Creates a reference to an image at the specified URI of the given width and height. |
Method Summary | |
---|---|
void |
addImageUpdateListener(ImageUpdateListener l)
Not supported. |
int |
getHeight()
Returns the height of the image in pixels. |
java.lang.String |
getUri()
Returns the URI that contains the image. |
int |
getWidth()
Returns the width of the image in pixels. |
void |
removeImageUpdateListener(ImageUpdateListener l)
Not supported. |
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 HttpImageReference(java.lang.String uri)
uri
- A URI referencing the image.public HttpImageReference(java.lang.String uri, int width, int height)
uri
- A URI referencing the image.width
- The width at which to render the image, in pixels.height
- The height at which to render the image in pixels.Method Detail |
---|
public void addImageUpdateListener(ImageUpdateListener l)
addImageUpdateListener
in interface ImageReference
l
- The ImageUpdateListener
to add.ImageReference.addImageUpdateListener(ImageUpdateListener)
public int getHeight()
getHeight
in interface ImageReference
ImageReference.getHeight()
public java.lang.String getUri()
public int getWidth()
getWidth
in interface ImageReference
ImageReference.getWidth()
public void removeImageUpdateListener(ImageUpdateListener l)
removeImageUpdateListener
in interface ImageReference
l
- The ImageUpdateListener
to remove.ImageReference.removeImageUpdateListener(ImageUpdateListener)
public void update()
update
in interface ImageReference
ImageReference.update()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |