swarm.space
Interface Value2dDisplayC
- public interface Value2dDisplayC
- extends SwarmObjectS, SwarmObjectC
Value2dDisplay displays 2d arrays of values..
Value2dDisplay helps display 2d arrays of values. Value2dDisplay goes through a given Discrete2d array, turn states into colours, and draws them into a Raster widget.
setDisplayWidget$colormap
public Object setDisplayWidget$colormap(Raster r,
Colormap c)
- Set the display widget and the colourmap to use to draw the value array.
setDiscrete2dToDisplay
public Object setDiscrete2dToDisplay(Discrete2d c)
- Set which array to draw.
createEnd
public Object createEnd()