public class ImageDataComplex extends ImageDataAbstract
| Constructor and Description |
|---|
ImageDataComplex(XDimension2D info,
CMapData cmap,
java.lang.String warningOrError) |
ImageDataComplex(XDimension2D info,
CMapData cmap,
java.lang.String warningOrError,
int status) |
| 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.Throwable |
getRootCause() |
java.lang.String |
getWarningOrError() |
getHeight, getStatus, getWidth, setStatuspublic ImageDataComplex(XDimension2D info, CMapData cmap, java.lang.String warningOrError)
public ImageDataComplex(XDimension2D info, CMapData cmap, java.lang.String warningOrError, int status)
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 - the id to be used in the cmap data string.public java.lang.String getWarningOrError()
public java.lang.Throwable getRootCause()