|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.gene.image.BufferedImageRef
public final class BufferedImageRef
Represents a buffered image.
| Field Summary | |
|---|---|
String |
id
A temporary solution to transfer ID of source. |
| Constructor Summary | |
|---|---|
BufferedImageRef(BufferedImage image)
Creates instance of object. |
|
| Method Summary | |
|---|---|
Graphics2D |
asGraphics()
Returns the graphics aspect of the image. |
Image |
asImage()
Returns the Image aspect of the image. |
RenderedImage |
asRenderedImage()
Returns the RenderedImage aspect of the image. |
void |
dispose()
Disposes of the image. |
String |
getId()
A temporary solution to transfer ID of source. |
void |
setId(String id)
A temporary solution to transfer ID of source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String id
| Constructor Detail |
|---|
public BufferedImageRef(BufferedImage image)
image - the buffered image that shall be represented.| Method Detail |
|---|
public Graphics2D asGraphics()
ImageRefnull.
asGraphics in interface ImageRefpublic Image asImage()
ImageRefnull.
asImage in interface ImageRefpublic RenderedImage asRenderedImage()
ImageRefnull.
asRenderedImage in interface ImageRefpublic void dispose()
ImageRef
dispose in interface ImageRefpublic String getId()
ImageRef
getId in interface ImageRefpublic void setId(String id)
ImageRef
setId in interface ImageRefid - the id of root node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||