|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.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()
ImageRef
null
.
asGraphics
in interface ImageRef
public Image asImage()
ImageRef
null
.
asImage
in interface ImageRef
public RenderedImage asRenderedImage()
ImageRef
null
.
asRenderedImage
in interface ImageRef
public void dispose()
ImageRef
dispose
in interface ImageRef
public String getId()
ImageRef
getId
in interface ImageRef
public void setId(String id)
ImageRef
setId
in interface ImageRef
id
- the id of root node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |