|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.app.HttpImageReference
public class HttpImageReference
A reference to an image that may be retrieved through an HTTP request.
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,
Extent width,
Extent height)
Creates a reference to an image at the specified URI of the given width and height. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
Extent |
getHeight()
Returns the height of the image, or null if the size is unknown. |
java.lang.String |
getRenderId()
Returns an identifier that is unique within the ApplicationInstance with which the implementor will be
used. |
java.lang.String |
getUri()
Returns the URI from which the image may be obtained. |
Extent |
getWidth()
Returns the width of the image, or null if the size is unknown. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpImageReference(java.lang.String uri)
uri
- a URI from which the image data may be obtainedpublic HttpImageReference(java.lang.String uri, Extent width, Extent height)
uri
- a URI from which the image data may be obtainedwidth
- The width at which to render the imageheight
- The height at which to render the imageMethod Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public Extent getHeight()
ImageReference
getHeight
in interface ImageReference
ImageReference.getHeight()
public java.lang.String getRenderId()
RenderIdSupport
ApplicationInstance
with which the implementor will be
used.
getRenderId
in interface RenderIdSupport
RenderIdSupport.getRenderId()
public java.lang.String getUri()
public Extent getWidth()
ImageReference
getWidth
in interface ImageReference
ImageReference.getWidth()
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |