|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IImage
Platform and technology independent image definition. It is designed for use with AWT, Swing, SWT, JSP, JSF,... .
Image| Nested Class Summary | |
|---|---|
static class |
IImage.ImageType
the save image types. |
| Method Summary | |
|---|---|
int |
getHeight()
Determines the height of the image. |
java.lang.String |
getImageName()
Gets the name of the image. |
int |
getWidth()
Determines the width of the image. |
void |
saveAs(java.io.OutputStream pOut,
IImage.ImageType pType)
Saves the current image as file. |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Method Detail |
|---|
java.lang.String getImageName()
int getWidth()
-1.
-1
if the width is not yet known.Image.getHeight(java.awt.image.ImageObserver)int getHeight()
-1.
-1
if the height is not yet known.Image.getWidth(java.awt.image.ImageObserver)
void saveAs(java.io.OutputStream pOut,
IImage.ImageType pType)
throws java.io.IOException
pOut - the output streampType - the image type
java.io.IOException - if the image can not be saved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||