All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.bulletproof.gui.Chart

java.lang.Object
   |
   +----com.bulletproof.gui.Component
           |
           +----com.bulletproof.gui.Chart

public class Chart
extends Component
Class Chart represents a basic charting class to handle bar, column, line, area and pie charts.


Variable Index

 o AREA
 o BACKGROUND
 o BAR
 o COLUMN
 o FOREGROUND
 o GANTT
 o HORIZONTAL
 o LINE
 o p
 o PIE
 o VERTICAL

Constructor Index

 o Chart(ChartParms)
Creates a Chart.

Method Index

 o calculateScaling()
Calulate the scaling necessary to safely plot this chart inside the borders of this panel.
 o minimumSize()
 o paint(Graphics)
Paints the component.
 o preferredSize()

Variables

 o p
 public ChartParms p
 o COLUMN
 public static int COLUMN
 o BAR
 public static int BAR
 o LINE
 public static int LINE
 o AREA
 public static int AREA
 o PIE
 public static int PIE
 o GANTT
 public static int GANTT
 o HORIZONTAL
 public static int HORIZONTAL
 o VERTICAL
 public static int VERTICAL
 o FOREGROUND
 public static int FOREGROUND
 o BACKGROUND
 public static int BACKGROUND

Constructors

 o Chart
 public Chart(ChartParms p)
Creates a Chart.

Parameters:
JDPUser - the global user parameter used to pass handles in JDP.
chartParms - an list of the chart paramaters.

Methods

 o paint
 public void paint(Graphics g)
Paints the component.

Overrides:
paint in class Component
 o calculateScaling
 public void calculateScaling()
Calulate the scaling necessary to safely plot this chart inside the borders of this panel. This method should be called when the cahrt parameters change.

 o preferredSize
 public Dimension preferredSize()
 o minimumSize
 public Dimension minimumSize()

All Packages  Class Hierarchy  This Package  Previous  Next  Index