|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.Web.ArcIMSMapBuilder
Class declaration
| Constructor Summary | |
ArcIMSMapBuilder()
ArcIMSMapBuilder() implements the parameterless constructor of the class
ArcIMSMapBuilder. |
|
ArcIMSMapBuilder(java.lang.String appServerHost,
int appServerPort,
java.lang.String appServerService,
java.lang.String colorMapConfigFileURL)
ArcIMSMapBuilder() implements the constructor of the class
ArcIMSMapBuilder. |
|
| Method Summary | |
java.lang.String |
generateMap(java.lang.String eventType,
java.util.TreeMap zipCodeCntMap)
setAppServerLink() is used to reconfigure the link to the
ARCIMS Application Server. |
static void |
main(java.lang.String[] args)
Method declaration |
void |
setAppServerLink(java.lang.String appServerHost,
int appServerPort,
java.lang.String appServerService)
setAppServerLink() is used to reconfigure the link to the
ARCIMS Application Server. |
void |
setEnvelope(java.lang.String minx,
java.lang.String miny,
java.lang.String maxx,
java.lang.String maxy)
setEnvelope() is used to set the boundaries of the map |
void |
setHeight(java.lang.String height)
Set height of image |
boolean |
setMapConfiguration(java.lang.String mapConfigFileURL)
setMapConfiguration() allows to change the current map configuration
(i.e., color map and map dimensions). |
void |
setProperties(java.util.Properties props)
Set parameters through properties file |
void |
setWidth(java.lang.String width)
set width of image |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ArcIMSMapBuilder()
ArcIMSMapBuilder() implements the parameterless constructor of the class
ArcIMSMapBuilder. It initializes the ARCIMS Application Server
object by setting its link information.
public ArcIMSMapBuilder(java.lang.String appServerHost,
int appServerPort,
java.lang.String appServerService,
java.lang.String colorMapConfigFileURL)
ArcIMSMapBuilder() implements the constructor of the class
ArcIMSMapBuilder. It initializes the ARCIMS Application Server
object by setting its link information and loads a specified color map.
appServerHost - the new ARCIMS Application Server host nameappServerPort - the new ARCIMS Application Server port numberappServerService - the new ARCIMS Application Server map service namecolorMapConfigFileURL - a URL reference to a color map configuration file| Method Detail |
public void setProperties(java.util.Properties props)
props -
public java.lang.String generateMap(java.lang.String eventType,
java.util.TreeMap zipCodeCntMap)
setAppServerLink() is used to reconfigure the link to the
ARCIMS Application Server.
eventType - type of event (e.g., "Influenza Like Illness")zipCodeCntMap - a TreeMap object with Zip codes (a String)
as keys and event counters (a Integer) as valuespublic void setHeight(java.lang.String height)
public void setWidth(java.lang.String width)
public void setEnvelope(java.lang.String minx,
java.lang.String miny,
java.lang.String maxx,
java.lang.String maxy)
setEnvelope() is used to set the boundaries of the map
minx - the minimum xmaxx - the maximum xminy - the minimum xmaxy - the maximum x
public void setAppServerLink(java.lang.String appServerHost,
int appServerPort,
java.lang.String appServerService)
setAppServerLink() is used to reconfigure the link to the
ARCIMS Application Server.
appServerHost - the new ARCIMS Application Server host nameappServerPort - the new ARCIMS Application Server port numberappServerService - the new ARCIMS Application Server map service namepublic boolean setMapConfiguration(java.lang.String mapConfigFileURL)
setMapConfiguration() allows to change the current map configuration
(i.e., color map and map dimensions). The map configuration data is assumed
assumed to be stored in an ASCII-based local or remote file. The project file
map.cfg provides an example of such a map configuration file.
mapConfigFileURL - a URL reference to the map configuration file
true if map configuration was changed successfully;
false otherwisepublic static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||