|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwaver.gis.GisInputHandlerFactory
GisInputHandlerFactory can create different interaction mode used in GIS. For example zoom mode, select mode, pan mode, measuring mode.
Constructor Summary | |
GisInputHandlerFactory()
|
Method Summary | |
static twaver.network.InteractionMode |
createDefaultMode(twaver.network.TNetwork network,
GeographyMap map)
Creates an interaction mode which can operate the elements on the TNetwork. |
static twaver.network.InteractionMode |
createDistanceMode(twaver.network.TNetwork network)
Creates an interaction mode which can handle measuring distance interaction. |
static twaver.network.InteractionMode |
createDistanceMode(twaver.network.TNetwork network,
GeographyMap map)
|
static twaver.network.InteractionMode |
createPanMode(GeographyMap map)
Creates an interaction mode which can handle pan interaction. |
static twaver.network.InteractionMode |
createPanMode(twaver.network.TNetwork network,
GeographyMap map)
|
static twaver.network.InteractionMode |
createResetMode(twaver.network.TNetwork network,
GeographyMap map)
|
static twaver.network.InteractionMode |
createSelectMode(twaver.network.TNetwork network,
GeographyMap map)
Creates an interaction mode which can handle selection interaction. |
static twaver.network.InteractionMode |
createZoomMode(twaver.network.TNetwork network,
GeographyMap map)
Creates an interaction mode which can handle zoom in, zoom out,and reset interaction. |
static twaver.network.InteractionMode |
createZoomMode(twaver.network.TNetwork network,
GeographyMap map,
int mode)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GisInputHandlerFactory()
Method Detail |
public static twaver.network.InteractionMode createZoomMode(twaver.network.TNetwork network, GeographyMap map)
network
- the specified network which have loaded a map and on which the zoom operation will occur.map
- the loaded map which should be zoomed in ,zoomed out or reset.
public static twaver.network.InteractionMode createZoomMode(twaver.network.TNetwork network, GeographyMap map, int mode)
public static twaver.network.InteractionMode createDefaultMode(twaver.network.TNetwork network, GeographyMap map)
network
- the specified network which have loaded a map and on which the zoom operation will occur.map
- the reference map
public static twaver.network.InteractionMode createResetMode(twaver.network.TNetwork network, GeographyMap map)
public static twaver.network.InteractionMode createSelectMode(twaver.network.TNetwork network, GeographyMap map)
network
- the specified network which have loaded a map and on which the selection operation will occur.map
- the loaded map.
public static twaver.network.InteractionMode createPanMode(GeographyMap map)
map
- the map on which pan operation will occur.
public static twaver.network.InteractionMode createPanMode(twaver.network.TNetwork network, GeographyMap map)
public static twaver.network.InteractionMode createDistanceMode(twaver.network.TNetwork network)
network
- the specified network which have loaded a map and on which the measuring interaction will occur.
public static twaver.network.InteractionMode createDistanceMode(twaver.network.TNetwork network, GeographyMap map)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |