tdg.data.in
Interface TDGDataGrid


public abstract interface TDGDataGrid

Interface TDGDataGrid represents an abstract data model that is one way of preparing data for graphing by Perspective javaCHART.


Method Summary
 java.lang.String columnLabel(int c)
          Establish the column labels (headings).
 int getColumns()
          Return the number of columns.
 java.lang.String getFootnote()
          Establish the chart Footnote.
 java.lang.String getO1AxisTitle()
          Establish the chart Axis O1 Title.
 java.lang.String getO2AxisTitle()
          Establish the chart Axis O2 Title.
 int getRows()
          Return the number of rows.
 java.lang.String getSubtitle()
          Establish the chart SubTitle.
 java.lang.String getTitle()
          Establish the chart Title.
 java.lang.Object getValue(int r, int c)
          Get the contents of the specified cell.
 java.lang.String getX1AxisTitle()
          Establish the chart Axis X1 Title.
 java.lang.String getY1AxisTitle()
          Establish the chart Axis Y1 Title.
 java.lang.String getY2AxisTitle()
          Establish the chart Axis Y2 Title.
 boolean isDirty()
          Indicate if data has changed.
 java.lang.String rowLabel(int r)
          Establish the row labels (e.g., line numbers).
 

Method Detail

getTitle


public java.lang.String getTitle()
Establish the chart Title.

getSubtitle


public java.lang.String getSubtitle()
Establish the chart SubTitle.

getFootnote


public java.lang.String getFootnote()
Establish the chart Footnote.

getX1AxisTitle


public java.lang.String getX1AxisTitle()
Establish the chart Axis X1 Title.

getY1AxisTitle


public java.lang.String getY1AxisTitle()
Establish the chart Axis Y1 Title.

getO1AxisTitle


public java.lang.String getO1AxisTitle()
Establish the chart Axis O1 Title.

getO2AxisTitle


public java.lang.String getO2AxisTitle()
Establish the chart Axis O2 Title.

getY2AxisTitle


public java.lang.String getY2AxisTitle()
Establish the chart Axis Y2 Title.

columnLabel


public java.lang.String columnLabel(int c)
Establish the column labels (headings).

getColumns


public int getColumns()
Return the number of columns.

rowLabel


public java.lang.String rowLabel(int r)
Establish the row labels (e.g., line numbers).

getRows


public int getRows()
Return the number of rows.

getValue


public java.lang.Object getValue(int r,
                                 int c)
Get the contents of the specified cell. Note that any type of Object can be returned. Perspective will interpret the Object type as a String or Double.

isDirty


public boolean isDirty()
Indicate if data has changed.