FileDocCategorySizeDatePackage
ChartPainter.javaAPI DocExample1448Mon Nov 09 12:45:50 GMT 1998None

ChartPainter

public abstract class ChartPainter extends ComponentUI

Fields Summary
protected Font
textFont
protected Color
textColor
protected Color[]
colors
protected double[]
values
protected String[]
labels
Constructors Summary
Methods Summary
public java.awt.Color[]getColor()

 return colors; 
public java.awt.ColorgetColor(int index)

 return colors[index]; 
public java.awt.ColorgetTextColor()

 return textColor; 
public java.awt.FontgetTextFont()

 return textFont; 
public abstract intindexOfEntryAt(java.awt.event.MouseEvent me)

public abstract voidpaint(java.awt.Graphics g, javax.swing.JComponent c)

public voidsetColor(java.awt.Color[] clist)

 colors = clist; 
public voidsetColor(int index, java.awt.Color c)

 colors[index] = c; 
public voidsetLabels(java.lang.String[] l)

 labels = l; 
public voidsetTextColor(java.awt.Color c)

 textColor = c; 
public voidsetTextFont(java.awt.Font f)


       textFont = f; 
public voidsetValues(double[] v)

 values = v;