|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwaver.gis.GisNetworkAdapter
This class helps wrap a TNetowrk object(network) with a geographical map. After installAdapter()
or
installAdapter(int)
is invoked, all the TWaver elements stored in network's databox can be located by their
geographical coordinate automatically.
Constructor Summary | |
GisNetworkAdapter(twaver.network.TNetwork network)
|
Method Summary | |
GeographyMap |
getMap()
Gets the map used as the background of the network. |
void |
installAdapter()
Wraps the network by setting a map as the background of the network and setting the mechanism used to synchronize the topological datas and the geographical datas. |
void |
installAdapter(int mapType)
Wraps the network by setting a map as the background of the network and setting the mechanism used to synchronize the topological data and the geographical data. |
void |
unInstallAdapter()
UnWraps the network. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GisNetworkAdapter(twaver.network.TNetwork network)
Method Detail |
public GeographyMap getMap()
public void unInstallAdapter()
public void installAdapter()
public void installAdapter(int mapType)
mapType
- specified the type of the map.GeographyMap.GEOGRAPHYMAP_TYPE_SHPFILE
,
GeographyMap.GEOGRAPHYMAP_TYPE_TILE
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |