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 $
-
ColorCycle(Color, Color)
-
-
next()
-
ColorCycle
public ColorCycle(Color first,
Color second)
next
public Color next()
All Packages Class Hierarchy This Package Previous Next Index