jcreek.gui.chart
Interface ChartModel

All Known Implementing Classes:
RetrieveResultPane, ReuseResultPane

public interface ChartModel

Title: JavaCreek Description: Describes a data model used by the JChart class to display a 2D bar chart. Copyright: Copyright (c) 2002 Company: NTNU

Version:
1.0
Author:
Frode Sørmo

Method Summary
 java.awt.Color getBackgroundColor(int row)
           
 int getColSize(int row)
           
 double getMaxValue()
           
 java.lang.String getRowLabel(int i)
           
 int getRowSize()
           
 double getValue(int col, int row)
           
 java.awt.Color getValueColor(int col, int row)
           
 java.lang.String getValueLabel(int col, int row)
           
 

Method Detail

getValue

public double getValue(int col,
                       int row)

getValueLabel

public java.lang.String getValueLabel(int col,
                                      int row)

getRowLabel

public java.lang.String getRowLabel(int i)

getRowSize

public int getRowSize()

getColSize

public int getColSize(int row)

getMaxValue

public double getMaxValue()

getValueColor

public java.awt.Color getValueColor(int col,
                                    int row)

getBackgroundColor

public java.awt.Color getBackgroundColor(int row)


Created at IDI, NTNU by the Artificial Intelligence and Learning group