swarm.gui
Class ColormapCImpl

java.lang.Object
  |
  +--swarm.BaseImpl
        |
        +--swarm.PhaseCImpl
              |
              +--swarm.gui.ColormapCImpl

public class ColormapCImpl
extends PhaseCImpl
implements CreateC, CreateS, ColormapS, ColormapC

An class for creating a color palette for use with a Raster.. Mechanism used to map numbers in the range [0, 255] to colour names. Create an XColormap, allocate colours in it, and pass it to a Raster widget for drawing.


Fields inherited from class swarm.PhaseCImpl
nextPhase
 
Constructor Summary
ColormapCImpl()
           
ColormapCImpl(Colormap nextPhase)
           
 
Methods implemented by this class for interface swarm.defobj.CreateC
create, createBegin, createEnd
 
Methods implemented by this class for interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 
Methods inherited from class swarm.PhaseCImpl
_copy_creating_phase_to_using_phase
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColormapCImpl

public ColormapCImpl(Colormap nextPhase)

ColormapCImpl

public ColormapCImpl()