borland Packages  Class Hierarchy  jbcl.util Package  Index 

ColorWheel component

java.lang.Object
   +----borland.jbcl.util.ColorWheel

About the ColorWheel component

Variables  Constructors  Properties  Methods  

Implements Serializable

The ColorWheel component is a rainbow color iterator. Use its next() method to cycle through the rainbow colors.


ColorWheel variables

Variables implemented in this class

ColorWheel constructors

ColorWheel properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

ColorWheel methods

Methods implemented in this class

Methods implemented in java.lang.Object


ColorWheel variables

BLUE_TO_MAGENTA

  public static final int BLUE_TO_MAGENTA = 5

CYAN_TO_BLUE

  public static final int CYAN_TO_BLUE = 4

GREEN_TO_CYAN

  public static final int GREEN_TO_CYAN = 3

MAGENTA_TO_RED

  public static final int MAGENTA_TO_RED = 6

RED_TO_YELLOW

  public static final int RED_TO_YELLOW = 1

YELLOW_TO_GREEN

  public static final int YELLOW_TO_GREEN = 2

ColorWheel constructors

ColorWheel()

  public ColorWheel()

ColorWheel(java.awt.Color)

  public ColorWheel(java.awt.Color startColor)

ColorWheel(java.awt.Color, int)

  public ColorWheel(java.awt.Color startColor, int startCycle)

ColorWheel(java.awt.Color, int, int)

  public ColorWheel(java.awt.Color startColor, int startCycle, int increment)

ColorWheel properties

color

 public Color getColor()
 public void setColor(java.awt.Color newColor)

cycle

 public int getCycle()
 public void setCycle(int newCycle)

increment

 public int getIncrement()
 public void setIncrement(int newIncrement)

ColorWheel methods

next()

  public Color next()

next(java.awt.Color)

  public Color next(java.awt.Color color)