| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.gene.image.ImageRefImpl
public final class ImageRefImpl
Implements the ImageRef interface.
| Field Summary | |
|---|---|
 String | 
id
A temporary solution to transfer ID of source.  | 
| Constructor Summary | |
|---|---|
ImageRefImpl(Graphics2D graphics)
Constructs instance having both image and rendered image null. | 
|
ImageRefImpl(Graphics2D graphics,
             Image image,
             RenderedImage renderedImage)
Constructs an instance.  | 
|
| 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 ImageRefImpl(Graphics2D graphics)
null.
graphics - the graphics aspect.
public ImageRefImpl(Graphics2D graphics,
                    Image image,
                    RenderedImage renderedImage)
graphics - the graphics aspect.image - the image aspect.renderedImage - the rendered image aspect.| 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 | |||||||||