| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBarRenderer
edu.ucla.stat.SOCR.chart.gui.CustomBarRenderer
public class CustomBarRenderer
A custom renderer that returns a different color for each item in a single series.
| Constructor Summary | |
|---|---|
| CustomBarRenderer(java.awt.Paint[] colors)Creates a new renderer. | |
| Method Summary | |
|---|---|
|  java.awt.Paint | getItemPaint(int row,
             int column)Returns the paint for an item. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CustomBarRenderer(java.awt.Paint[] colors)
colors - the colors.| Method Detail | 
|---|
public java.awt.Paint getItemPaint(int row,
                                   int column)
row - the series.column - the category.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||