Class JGrid.JChartCell
Make your own free website on Tripod.com
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JGrid.JChartCell

Object
   |
   +----ICell
           |
           +----JGrid.JChartCell

public class JChartCell
extends ICell

Constructor Index

 o JGrid.JChartCell()

Method Index

 o draw(Graphics, JGrid2)
Call this method to draw the contents of the cell in the rectangle rect with default values.
 o setFeature(String)
set the features of the cell
NOTE: feature is set after the value has been set (when JCell is created)
feature has the format: type,type-specific-parameters
for type 0: 0,maximum-number
for type 1: 1,maximum-number
for type 2: 2,maximum-number,midpoint
 o setValue(Object)
set a new value to the chart cell

Constructors

 o JChartCell
public JChartCell()

Methods

 o draw
protected void draw(Graphics g,
                    JGrid2 grid)
Call this method to draw the contents of the cell in the rectangle rect with default values.

Parameters:
rect - java.awt.Rectangle
g - java.awt.Graphics
Overrides:
draw in class ICell
 o setFeature
public void setFeature(String feature)
set the features of the cell
NOTE: feature is set after the value has been set (when JCell is created)
feature has the format: type,type-specific-parameters
for type 0: 0,maximum-number
for type 1: 1,maximum-number
for type 2: 2,maximum-number,midpoint

Overrides:
setFeature in class ICell
 o setValue
public void setValue(Object value)
set a new value to the chart cell

Overrides:
setValue in class ICell

All Packages  Class Hierarchy  This Package  Previous  Next  Index