|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.app.AwtImageReference
public class AwtImageReference
An ImageReference describing an image which may be rendered from
a java.awt.Image
.
Note that the JVM running the Echo Application Container will require
access to a graphics context for the Java AWT to function.
Constructor Summary | |
---|---|
AwtImageReference()
Default constructor for use only when a class is derived from AwtImageReference and the
getImage() method is overridden. |
|
AwtImageReference(java.awt.Image image)
Creates an AwtImageReference to the specified
java.awt.Image . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
Extent |
getHeight()
Returns the height of the image, or null if the size is unknown. |
java.awt.Image |
getImage()
Retrieves the image. |
java.lang.String |
getRenderId()
Returns an identifier that is unique within the ApplicationInstance with which the implementor will be
used. |
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 AwtImageReference()
AwtImageReference
and the
getImage()
method is overridden.
public AwtImageReference(java.awt.Image image)
AwtImageReference
to the specified
java.awt.Image
.
Note that changes to the underlying image will not necessarily be
reflected on the client unless the image-containing property of the
target component is update.
image
- the java.awt.Image
to be displayed.Method 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.awt.Image getImage()
getWidth()
and
getHeight()
methods.
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 |