Package repast.simphony.ws
Class DisplayServer2D
java.lang.Object
repast.simphony.ws.DisplayServer
repast.simphony.ws.DisplayServer2D
- All Implemented Interfaces:
ProjectionListener
-
Field Summary
Fields inherited from class repast.simphony.ws.DisplayServer
descriptor, displayData, id, idCounter, layout, LOG, outgoing, outgoingAddr -
Constructor Summary
ConstructorsConstructorDescriptionDisplayServer2D(String outgoingAddr, DisplayData<?> data, DisplayDescriptor descriptor, Layout layout, int id) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoiddoUpdate()protected StyledLayerGets the agents with the specified viz ids.voidinit()protected voidmoveObject(Object o) voidregisterNetworkStyle(Network<?> network, EdgeStyleOGL2D style) voidregisterStyle(Class<?> clazz, StyleOGL2D<?> style) protected voidMethods inherited from class repast.simphony.ws.DisplayServer
destroy, getId, projectionEventOccurred, update
-
Constructor Details
-
DisplayServer2D
public DisplayServer2D(String outgoingAddr, DisplayData<?> data, DisplayDescriptor descriptor, Layout layout, int id)
-
-
Method Details
-
init
public void init()- Specified by:
initin classDisplayServer
-
registerStyle
-
registerNetworkStyle
-
findLayer
-
addObject
- Specified by:
addObjectin classDisplayServer
-
removeObject
- Specified by:
removeObjectin classDisplayServer
-
moveObject
- Specified by:
moveObjectin classDisplayServer
-
doUpdate
public void doUpdate()- Specified by:
doUpdatein classDisplayServer
-
getAgents
Description copied from class:DisplayServerGets the agents with the specified viz ids.- Specified by:
getAgentsin classDisplayServer- Returns:
- the list of agents with the specified ids.
-