swarm.space
Interface Value2dDisplayC


public abstract 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.


Method Summary
 Object createEnd()
           
 Object setDiscrete2dToDisplay(Discrete2dImpl c)
          Set which array to draw.
 Object setDisplayWidget$colormap(RasterImpl r, ColormapImpl c)
          Set the display widget and the colourmap to use to draw the value array.
 

Method Detail

setDisplayWidget$colormap

public Object setDisplayWidget$colormap(RasterImpl r,
                                        ColormapImpl c)
Set the display widget and the colourmap to use to draw the value array.

setDiscrete2dToDisplay

public Object setDiscrete2dToDisplay(Discrete2dImpl c)
Set which array to draw.

createEnd

public Object createEnd()