|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageRef
Serves as a reference to an image; able to represent image in different ways. Graphics is used when painting to the image, Image may be drawn to another Graphics, and RenderedImage can be exported.
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. |
Method Detail |
---|
Graphics2D asGraphics()
null
.
Image asImage()
null
.
RenderedImage asRenderedImage()
null
.
String getId()
void setId(String id)
id
- the id of root node.void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |