|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.AbstractImageReference
nextapp.echo.AwtImageReference
public class AwtImageReference
A reference to a java.awt.Image. The JVM running the Echo Application Container will require access to a graphics context if AwtImageReferences are used.
Field Summary |
---|
Fields inherited from class nextapp.echo.AbstractImageReference |
---|
listenerList |
Fields inherited from interface nextapp.echo.ImageReference |
---|
SIZE_UNKNOWN |
Constructor Summary | |
---|---|
AwtImageReference(java.awt.Image image)
Creates a reference to a java.awt.Image. |
Method Summary | |
---|---|
int |
getHeight()
Returns the height of the image in pixels. |
java.awt.Image |
getImage()
Retrieves the image. |
int |
getWidth()
Returns the width of the image in pixels. |
Methods inherited from class nextapp.echo.AbstractImageReference |
---|
addImageUpdateListener, removeImageUpdateListener, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AwtImageReference(java.awt.Image image)
image
- A java.awt.Image to be displayed. If you intend to extend
this class and override the getImage() method to return images
only as they are needed, then you may pass null to this parameter.Method Detail |
---|
public java.awt.Image getImage()
public int getHeight()
ImageReference.getHeight()
public int getWidth()
ImageReference.getWidth()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |