All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class benno.asg.colourschemes.RandCol

java.lang.Object
   |
   +----benno.asg.colourschemes.RandCol

public class RandCol
extends Object
implements ColourScheme
Implements the traditional random colour colourscheme to produce random dot stereograms.

Version:
$Revision: 1.3 $

Constructor Index

 o RandCol()
Constructs a new object: it initialises Random r and Color[] colarry.

Method Index

 o next()
Implements ColourScheme.
 o nextLine()
Implements ColourScheme.

Constructors

 o RandCol
 public RandCol()
Constructs a new object: it initialises Random r and Color[] colarry.

Methods

 o next
 public Color next()
Implements ColourScheme. Returns a random dot.

Returns:
a Color object chosen randomly from colarray[]
 o nextLine
 public void nextLine()
Implements ColourScheme. Does nothing (deliberately).


All Packages  Class Hierarchy  This Package  Previous  Next  Index