Package repast.simphony.ws
Class DisplayServer2D
java.lang.Object
repast.simphony.ws.DisplayServer
repast.simphony.ws.DisplayServer2D
- All Implemented Interfaces:
- ProjectionListener
- 
Field SummaryFields inherited from class repast.simphony.ws.DisplayServerdescriptor, displayData, id, idCounter, layout, LOG, outgoing, outgoingAddr
- 
Constructor SummaryConstructorsConstructorDescriptionDisplayServer2D(String outgoingAddr, DisplayData<?> data, DisplayDescriptor descriptor, Layout layout, int id) 
- 
Method SummaryModifier 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.DisplayServerdestroy, getId, projectionEventOccurred, update
- 
Constructor Details- 
DisplayServer2Dpublic DisplayServer2D(String outgoingAddr, DisplayData<?> data, DisplayDescriptor descriptor, Layout layout, int id) 
 
- 
- 
Method Details- 
initpublic void init()- Specified by:
- initin class- DisplayServer
 
- 
registerStyle
- 
registerNetworkStyle
- 
findLayer
- 
addObject- Specified by:
- addObjectin class- DisplayServer
 
- 
removeObject- Specified by:
- removeObjectin class- DisplayServer
 
- 
moveObject- Specified by:
- moveObjectin class- DisplayServer
 
- 
doUpdatepublic void doUpdate()- Specified by:
- doUpdatein class- DisplayServer
 
- 
getAgentsDescription copied from class:DisplayServerGets the agents with the specified viz ids.- Specified by:
- getAgentsin class- DisplayServer
- Returns:
- the list of agents with the specified ids.
 
 
-