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
ConstructorDescriptionDisplayServer2D
(String outgoingAddr, DisplayData<?> data, DisplayDescriptor descriptor, Layout layout, int id) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
doUpdate()
protected StyledLayer
Gets the agents with the specified viz ids.void
init()
protected void
moveObject
(Object o) void
registerNetworkStyle
(Network<?> network, EdgeStyleOGL2D style) void
registerStyle
(Class<?> clazz, StyleOGL2D<?> style) protected void
Methods 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:
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.
-