swarm.gui
Class ColormapImpl

java.lang.Object
  |
  +--swarm.gui.ColormapImpl

public class ColormapImpl
extends Object
implements CreateS, Create, ColormapS, Colormap

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.


Constructor Summary
ColormapImpl()
           
ColormapImpl(Zone aZone)
          Default constructor for Impl class
 
Methods implemented by this class for interface swarm.gui.Colormap
setColor$ToGrey, setColor$ToName, setColor$ToRed$Green$Blue, unsetColor
 
Methods implemented by this class for interface swarm.defobj.DefinedObject
compare, describe, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColormapImpl

public ColormapImpl()

ColormapImpl

public ColormapImpl(Zone aZone)
Default constructor for Impl class