All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class MSBChart.AxisLabel

java.lang.Object
   |
   +----MSBChart.ChartComponent
           |
           +----MSBChart.AxisLabel

public class AxisLabel
extends ChartComponent

Axislabel are texts that are displayed along the Axis.


Variable Index

 o color
 o font
 o title

Constructor Index

 o AxisLabel(String, Color, Font)

Method Index

 o draw(Graphics)

Variables

 o color
 public Color color
 color of the text.
 o font
 public Font font
 font of the text.
 o title
 public String title
 text of the label.

Constructors

 o AxisLabel
 public AxisLabel(String t,
                  Color c,
                  Font f)
creates a label with the specified text, color and font.
 

Methods

 o draw
 public void draw(Graphics g)
instructs the label to draw itself at the position specified by the ChartComponent fiels (x,y,width,height).

All Packages  Class Hierarchy  This Package  Previous  Next  Index