public class BarColumnColor
extends java.lang.Object
Constructor and Description |
---|
BarColumnColor()
Constructor for the BarColumnColor object
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor(int indIn)
Returns color according to an integer index.
|
int |
getSize()
Returns the number of colors
|
void |
setColor(int index,
java.awt.Color color)
set the color of index i to your favorite color
|
public java.awt.Color getColor(int indIn)
indIn
- The color indexpublic void setColor(int index, java.awt.Color color)
index
- The new color indexcolor
- The new color valuepublic int getSize()