|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.IlvMapGeometry
ilog.views.maps.geometry.IlvMapArea
ilog.views.maps.geometry.IlvMapImage
public class IlvMapImage
This class defines an image.
| Field Summary | |
|---|---|
ImageProducer |
imageProducer
The ImageProducer of the image. |
IlvCoordinate |
lowerRightCorner
The lower-right corner of the image. |
IlvCoordinate |
upperLeftCorner
The upper-left corner of the image. |
| Constructor Summary | |
|---|---|
IlvMapImage()
Initializes an instance of the class. |
|
| Method Summary | |
|---|---|
boolean |
contains(IlvCoordinate coordinate)
Returns true if coordinate is contained in the object. |
Rectangle2D |
getBounds(Rectangle2D result)
Returns the bounds of this IlvMapGeometry |
Image |
getImage()
Retrieves the image set by the setImage method. |
IlvMapCurve |
getOutline()
Returns the curve that represents the outline of this image. |
RenderedImage |
getRenderedImage()
Retrieves the RenderedImage
set by the setRenderedImage method. |
void |
setImage(Image image)
Sets the Image for this geometry. |
void |
setRenderedImage(RenderedImage image)
Sets the RenderedImage for this geometry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public IlvCoordinate upperLeftCorner
public IlvCoordinate lowerRightCorner
public ImageProducer imageProducer
ImageProducer of the image.
| Constructor Detail |
|---|
public IlvMapImage()
| Method Detail |
|---|
public void setImage(Image image)
Image for this geometry.
If a non-null image is set, the renderer will use this image
to produce an IlvIcon instead of using
the ImageProducer of the IlvMapImage
geometry.
image - The Image.public Image getImage()
setImage method.
setImage(java.awt.Image)public void setRenderedImage(RenderedImage image)
RenderedImage for this geometry.
If a non-null image is set, the renderer will use this image
to produce an IlvIcon instead of using
the ImageProducer of the IlvMapImage
geometry.
image - The RenderedImage.public RenderedImage getRenderedImage()
RenderedImage
set by the setRenderedImage method.
setRenderedImage(java.awt.image.RenderedImage)public boolean contains(IlvCoordinate coordinate)
true if coordinate is contained in the object.
contains in class IlvMapAreacoordinate - The point to be checked.
true if coordinate is contained
in the object.public IlvMapCurve getOutline()
getOutline in class IlvMapAreapublic Rectangle2D getBounds(Rectangle2D result)
IlvMapGeometry
getBounds in class IlvMapGeometry
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||