Package repast.simphony.ws.gis
Class DisplayServerGIS
java.lang.Object
repast.simphony.ws.DisplayServer
repast.simphony.ws.gis.DisplayServerGIS
- All Implemented Interfaces:
ProjectionListener
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<Class<?>,
StyledLayerGIS> protected Geography<?>
protected Map<Network<?>,
StyledNetLayerGIS> Fields inherited from class repast.simphony.ws.DisplayServer
descriptor, displayData, id, idCounter, layout, LOG, outgoing, outgoingAddr
-
Constructor Summary
ConstructorDescriptionDisplayServerGIS
(String outgoingAddr, DisplayData<?> data, DisplayDescriptor descriptor, Layout layout, int id) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
doUpdate()
protected StyledLayerGIS
Gets the agents with the specified viz ids.void
init()
protected void
moveObject
(Object obj) void
registerNetworkStyle
(Network<?> network, ServerNetStyleGIS style) void
registerStyle
(Class<?> clazz, ServerStyleGIS style) protected void
removeObject
(Object obj) Methods inherited from class repast.simphony.ws.DisplayServer
destroy, getId, projectionEventOccurred, update
-
Field Details
-
classStyleMap
-
networkStyleMap
-
geography
-
-
Constructor Details
-
DisplayServerGIS
public DisplayServerGIS(String outgoingAddr, DisplayData<?> data, DisplayDescriptor descriptor, Layout layout, int id)
-
-
Method Details
-
init
public void init()- Specified by:
init
in classDisplayServer
-
registerStyle
-
registerNetworkStyle
-
findLayer
-
addObject
- Specified by:
addObject
in classDisplayServer
-
removeObject
- Specified by:
removeObject
in classDisplayServer
-
moveObject
- Specified by:
moveObject
in classDisplayServer
-
doUpdate
public void doUpdate()- Specified by:
doUpdate
in classDisplayServer
-
getAgents
Description copied from class:DisplayServer
Gets the agents with the specified viz ids.- Specified by:
getAgents
in classDisplayServer
- Returns:
- the list of agents with the specified ids.
-