public class ImageDataComplex extends ImageDataAbstract
| Constructor and Description |
|---|
ImageDataComplex(java.awt.geom.Dimension2D info,
CMapData cmap,
java.lang.String warningOrError) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCMapData()
Indicates if the image has some position information.
|
java.lang.String |
getCMapData(java.lang.String nameId)
Return position information as a CMap formated string.
|
java.lang.String |
getWarningOrError() |
getHeight, getStatus, getWidth, setStatuspublic ImageDataComplex(java.awt.geom.Dimension2D info,
CMapData cmap,
java.lang.String warningOrError)
public boolean containsCMapData()
ImageDatatrue if the image has position information.public java.lang.String getCMapData(java.lang.String nameId)
ImageDatanameId
set to "foo_map", you will get something like:
<map id="foo_map" name="foo_map">
<area shape="rect" id="..." href="..." title="..." alt="" coords="64,68,93,148"/>
</map>
nameId - thie id to be used in the cmap data string.public java.lang.String getWarningOrError()