|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.gis.maps.MapInfo
public class MapInfo
| Field Summary | |
|---|---|
static String |
ATTR_CATEGORY
Xml attribute for the category property |
static String |
ATTR_COLOR
Xml attribute for the color property |
static String |
ATTR_DESCRIPTION
Xml attribute for the map description property |
static String |
ATTR_FASTRENDER
Xml attribute for the map description property |
static String |
ATTR_LINESTYLE
Xml attribute for the linestyle property |
static String |
ATTR_LINEWIDTH
Xml attribute for the linewidth property |
static String |
ATTR_MAXVALUE
Xml attribute for the max value property |
static String |
ATTR_MINVALUE
Xml attribute for the min value property |
static String |
ATTR_POSITION
Xml attribute for the map vertical position property |
static String |
ATTR_SOURCE
Xml attribute for the map source property |
static String |
ATTR_SPACING
Xml attribute for the spacing property |
static String |
ATTR_VALID
Xml attribute for the property |
static String |
ATTR_VISIBLE
Xml attribute for the valid property - used to ignore certain map entries |
static String |
TAG_LATITUDE
Xml tag for the latitude entry |
static String |
TAG_LONGITUDE
Xml tag for the longitude entry |
static String |
TAG_MAP
Xml tag for the map entry |
static String |
TAG_MAPS
Xml tag for the maps entry |
| Constructor Summary | |
|---|---|
MapInfo()
Parameterless ctro for unpersistence |
|
MapInfo(Element root)
Create the MapInfo from the given xml |
|
MapInfo(List mapDataList)
Create the MapInfo object with the given MapData list |
|
MapInfo(List mapDataList,
LatLonData latData,
LatLonData lonData,
float mapPosition)
Create the MapInfo object with the given MapData list, LatLonData and map position |
|
MapInfo(XmlResourceCollection mapResources,
boolean stopAfterFirst)
Create the MapInfo from the xml files pointed to by the resource collection |
|
MapInfo(XmlResourceCollection mapResources,
boolean stopAfterFirst,
boolean stopAfterEditable)
Create the MapInfo from the xml files pointed to by the resource collection |
|
| Method Summary | |
|---|---|
static SampledSet |
createMapData(String source)
A utility to read in the map data at the given source. |
boolean |
getJustLoadedLocalMaps()
Get the Flag for just loading local maps |
LatLonData |
getLatData()
Find and return the LatLonData object that represents the lat state |
List |
getLatLonData()
Get the LatLonData property. |
LatLonData |
getLonData()
Find and return the LatLonData object that represents the lon state |
List |
getMapDataList()
Get the MapData property. |
double |
getMapPosition()
Get the vertical map position value |
String |
getXml()
Return the current state (as an XML string) of this MapInfo |
String |
getXml(boolean useFullSourcePath)
|
void |
setJustLoadedLocalMaps(boolean v)
Set the Flag for just loading local maps |
void |
setLatLonData(List value)
Set the LatLonData property. |
void |
setMapDataList(List value)
Set the MapData property. |
void |
setMapPosition(double position)
Set the map position |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TAG_LATITUDE
public static final String TAG_LONGITUDE
public static final String TAG_MAPS
public static final String TAG_MAP
public static final String ATTR_COLOR
public static final String ATTR_CATEGORY
public static final String ATTR_DESCRIPTION
public static final String ATTR_FASTRENDER
public static final String ATTR_LINEWIDTH
public static final String ATTR_LINESTYLE
public static final String ATTR_MINVALUE
public static final String ATTR_MAXVALUE
public static final String ATTR_POSITION
public static final String ATTR_SOURCE
public static final String ATTR_SPACING
public static final String ATTR_VALID
public static final String ATTR_VISIBLE
| Constructor Detail |
|---|
public MapInfo()
public MapInfo(List mapDataList)
mapDataList - List of MapData
public MapInfo(List mapDataList,
LatLonData latData,
LatLonData lonData,
float mapPosition)
mapDataList - List of MapDatalatData - The lat datalonData - The lon datamapPosition - The map positionpublic MapInfo(Element root)
root - The xml
public MapInfo(XmlResourceCollection mapResources,
boolean stopAfterFirst)
mapResources - Xml resourcesstopAfterFirst - Stop loading in maps after the first
public MapInfo(XmlResourceCollection mapResources,
boolean stopAfterFirst,
boolean stopAfterEditable)
mapResources - Xml resourcesstopAfterFirst - If true then stop after we have loaded an editable resourcestopAfterEditable - If we encounter any local maps.xml file then load it in and quit the loop| Method Detail |
|---|
public String getXml()
public String getXml(boolean useFullSourcePath)
public double getMapPosition()
public void setMapPosition(double position)
position - The positionpublic static SampledSet createMapData(String source)
source - The fil, url or java resource to a map file (mcidas or shp)
public void setLatLonData(List value)
value - The new value for LatLonDatapublic List getLatLonData()
public void setMapDataList(List value)
value - The new value for MapDatapublic List getMapDataList()
public LatLonData getLatData()
public LatLonData getLonData()
public boolean getJustLoadedLocalMaps()
public void setJustLoadedLocalMaps(boolean v)
v - the flag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||