swarm.space
Interface Value2dDisplayC

All Known Implementing Classes:
Value2dDisplayCImpl

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.


Method Summary
 Object create$setDisplayWidget$colormap$setDiscrete2dToDisplay(Zone aZone, Raster r, Colormap c, Discrete2d d)
          Convenience constructor for Value2dDisplay
 Object createEnd()
           
 Object setDiscrete2dToDisplay(Discrete2d c)
          Set which array to draw.
 Object setDisplayWidget$colormap(Raster r, Colormap c)
          Set the display widget and the colourmap to use to draw the value array.
 
Methods inherited from interface swarm.defobj.CreateC
create, createBegin
 
Methods inherited from interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 

Method Detail

create$setDisplayWidget$colormap$setDiscrete2dToDisplay

public Object create$setDisplayWidget$colormap$setDiscrete2dToDisplay(Zone aZone,
                                                                      Raster r,
                                                                      Colormap c,
                                                                      Discrete2d d)
Convenience constructor for Value2dDisplay

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()