public class ImageInfo
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
ATTR_LLALT
xml attribute name 
 | 
static java.lang.String | 
ATTR_LLLAT
xml attribute name 
 | 
static java.lang.String | 
ATTR_LLLON
xml attribute name 
 | 
static java.lang.String | 
ATTR_LRALT
Upper left lat 
 | 
static java.lang.String | 
ATTR_LRLAT
Lower right lat 
 | 
static java.lang.String | 
ATTR_LRLON
Lower right lon 
 | 
static java.lang.String | 
ATTR_NAME
xml attr name 
 | 
static java.lang.String | 
ATTR_ULALT
Upper left lat 
 | 
static java.lang.String | 
ATTR_ULLAT
Upper left lat 
 | 
static java.lang.String | 
ATTR_ULLON
Upper left lon 
 | 
static java.lang.String | 
ATTR_URALT
xml attribute name 
 | 
static java.lang.String | 
ATTR_URLAT
xml attribute name 
 | 
static java.lang.String | 
ATTR_URLON
xml attribute name 
 | 
| Constructor and Description | 
|---|
ImageInfo()
ctor 
 | 
ImageInfo(java.lang.String url,
         boolean isShape)
ctor 
 | 
ImageInfo(java.lang.String url,
         visad.DateTime date,
         boolean isShape)
ctor 
 | 
ImageInfo(java.lang.String url,
         visad.DateTime date,
         double ulLat,
         double ulLon,
         double lrLat,
         double lrLon)
ctor 
 | 
ImageInfo(java.lang.String url,
         double ulLat,
         double ulLon,
         double lrLat,
         double lrLon)
ctor 
 | 
ImageInfo(java.lang.String url,
         org.w3c.dom.Element node,
         org.w3c.dom.Element parent,
         visad.DateTime date)
Ctor from xml 
 | 
| Modifier and Type | Method and Description | 
|---|---|
visad.DateTime | 
getDate()
Get the Date property. 
 | 
boolean | 
getIsShape()
Get the IsShape property. 
 | 
double | 
getLlAlt()
Get the LlAlt property. 
 | 
double | 
getLlLat()
Get the LlLat property. 
 | 
double | 
getLlLon()
Get the LlLon property. 
 | 
double | 
getLrAlt()
Get the LrAlt property. 
 | 
double | 
getLrLat()
Get the LrLat property. 
 | 
double | 
getLrLon()
Get the LrLon property. 
 | 
double | 
getUlAlt()
Get the UlAlt property. 
 | 
double | 
getUlLat()
Get the UlLat property. 
 | 
double | 
getUlLon()
Get the UlLon property. 
 | 
double | 
getUrAlt()
Get the UrAlt property. 
 | 
java.lang.String | 
getUrl()
Get the Url property. 
 | 
double | 
getUrLat()
Get the UrLat property. 
 | 
double | 
getUrLon()
Get the UrLon property. 
 | 
boolean | 
hasAltitude()
Do we have any altitudes 
 | 
boolean | 
isRectilinear()
do the corners form a rectangle. 
 | 
void | 
setDate(visad.DateTime value)
Set the Date property. 
 | 
void | 
setIsShape(boolean value)
Set the IsShape property. 
 | 
void | 
setLlAlt(double value)
Set the LlAlt property. 
 | 
void | 
setLlLat(double value)
Set the LlLat property. 
 | 
void | 
setLlLon(double value)
Set the LlLon property. 
 | 
void | 
setLrAlt(double value)
Set the LrAlt property. 
 | 
void | 
setLrLat(double value)
Set the LrLat property. 
 | 
void | 
setLrLon(double value)
Set the LrLon property. 
 | 
void | 
setUlAlt(double value)
Set the UlAlt property. 
 | 
void | 
setUlLat(double value)
Set the UlLat property. 
 | 
void | 
setUlLon(double value)
Set the UlLon property. 
 | 
void | 
setUrAlt(double value)
Set the UrAlt property. 
 | 
void | 
setUrl(java.lang.String value)
Set the Url property. 
 | 
void | 
setUrLat(double value)
Set the UrLat property. 
 | 
void | 
setUrLon(double value)
Set the UrLon property. 
 | 
java.lang.String | 
toString()
to string 
 | 
public static final java.lang.String ATTR_NAME
public static final java.lang.String ATTR_ULLAT
public static final java.lang.String ATTR_ULLON
public static final java.lang.String ATTR_ULALT
public static final java.lang.String ATTR_LRLAT
public static final java.lang.String ATTR_LRLON
public static final java.lang.String ATTR_LRALT
public static final java.lang.String ATTR_URLAT
public static final java.lang.String ATTR_URLON
public static final java.lang.String ATTR_URALT
public static final java.lang.String ATTR_LLLAT
public static final java.lang.String ATTR_LLLON
public static final java.lang.String ATTR_LLALT
public ImageInfo()
public ImageInfo(java.lang.String url,
                 org.w3c.dom.Element node,
                 org.w3c.dom.Element parent,
                 visad.DateTime date)
          throws java.lang.Exception
url - the urlnode - The main nodeparent - The parent node to get defaults from. May be null.date - The date. May be null.java.lang.Exception - On badnesspublic ImageInfo(java.lang.String url,
                 boolean isShape)
url - The image urlisShape - Is this a shapefilepublic ImageInfo(java.lang.String url,
                 visad.DateTime date,
                 boolean isShape)
url - The image urldate - Datetime of the image_isShape - Is this a shapefilepublic ImageInfo(java.lang.String url,
                 double ulLat,
                 double ulLon,
                 double lrLat,
                 double lrLon)
url - The image urlulLat - ul latulLon - ul lonlrLat - lr latlrLon - lrlonpublic ImageInfo(java.lang.String url,
                 visad.DateTime date,
                 double ulLat,
                 double ulLon,
                 double lrLat,
                 double lrLon)
url - The image urldate - Datetime of the imageulLat - ul latulLon - ul lonlrLat - lr latlrLon - lrlonpublic boolean isRectilinear()
public boolean hasAltitude()
public void setUrl(java.lang.String value)
value - The new value for Urlpublic java.lang.String getUrl()
public void setUrLat(double value)
value - The new value for UrLatpublic double getUrLat()
public void setUrLon(double value)
value - The new value for UrLonpublic double getUrLon()
public void setUrAlt(double value)
value - The new value for UrAltpublic double getUrAlt()
public void setLrLat(double value)
value - The new value for LrLatpublic double getLrLat()
public void setLrLon(double value)
value - The new value for LrLonpublic double getLrLon()
public void setLrAlt(double value)
value - The new value for LrAltpublic double getLrAlt()
public void setLlLat(double value)
value - The new value for LlLatpublic double getLlLat()
public void setLlLon(double value)
value - The new value for LlLonpublic double getLlLon()
public void setLlAlt(double value)
value - The new value for LlAltpublic double getLlAlt()
public void setUlLat(double value)
value - The new value for UlLatpublic double getUlLat()
public void setUlLon(double value)
value - The new value for UlLonpublic double getUlLon()
public void setUlAlt(double value)
value - The new value for UlAltpublic double getUlAlt()
public void setIsShape(boolean value)
value - The new value for IsShapepublic boolean getIsShape()
public void setDate(visad.DateTime value)
value - The new value for Datepublic visad.DateTime getDate()
public java.lang.String toString()
toString in class java.lang.Object