All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class benno.awt.ColorCycle

java.lang.Object
   |
   +----benno.awt.ColorCycle

public class ColorCycle
extends Object
This class implements a color cycle. In this initial implementation, two colors are specified in the constructor. When next() is called, each color is returned alternately. It is intended for use with ColumnLabel, to make alternately coloured rows.

Version:
$Revision: 1.2 $

Constructor Index

 o ColorCycle(Color, Color)

Method Index

 o next()

Constructors

 o ColorCycle
 public ColorCycle(Color first,
                   Color second)

Methods

 o next
 public Color next()

All Packages  Class Hierarchy  This Package  Previous  Next  Index