swarm.gui
Class RasterImpl
java.lang.Object
|
+--swarm.gui.RasterImpl
- Direct Known Subclasses:
- ZoomRasterImpl
- public class RasterImpl
- extends Object
- implements RasterS, Raster
A two dimension color display class..
2 dimensional, colour pixel images. Raster is based on a Tk frame widget with our own code for fast display of images. You can draw coloured dots on a Raster, or generic Drawers. Raster widgets are double buffered - the pixels you draw are not actually put on the screen until drawSelf is called. In addition, Rasters handle mouse clicks.
Methods implemented by this class for interface swarm.gui.Raster |
draw$X$Y,
drawPointX$Y$Color,
drawSelf,
ellipseX0$Y0$X1$Y1$Width$Color,
erase,
fillRectangleX0$Y0$X1$Y1$Color,
lineX0$Y0$X1$Y1$Width$Color,
rectangleX0$Y0$X1$Y1$Width$Color,
setButton$Client$Message,
setColormap,
setWidth$Height |
RasterImpl
public RasterImpl()
RasterImpl
public RasterImpl(ZoneImpl aZone)
- Default constructor for Impl class