net.sf.statcvs.model
Class StatCvsTableModel

java.lang.Object
  extended bynet.sf.statcvs.model.StatCvsTableModel

public class StatCvsTableModel
extends java.lang.Object

Datatype for a Table containing String values

Version:
$Id: StatCvsTableModel.java,v 1.5 2003/03/18 10:33:55 lukasz Exp $
Author:
Lukasz Pekacki

Constructor Summary
StatCvsTableModel(java.lang.String[] columnNames, java.lang.String[][] data)
          Constructs a StatCvsTableModel and initializes the table by passing data The first index in the Object[][] array is the row index and the second is the column index.
 
Method Summary
 java.lang.String[] getColumnNames()
          Returns the columnNames
 java.lang.String[][] getData()
          Returns the data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatCvsTableModel

public StatCvsTableModel(java.lang.String[] columnNames,
                         java.lang.String[][] data)
Constructs a StatCvsTableModel and initializes the table by passing data The first index in the Object[][] array is the row index and the second is the column index.

Parameters:
columnNames - Array of Strings, containing the names of the columns
data - String[][], containing the data The first index in the Object[][] array is the row index and the second is the column index.
Method Detail

getColumnNames

public java.lang.String[] getColumnNames()
Returns the columnNames

Returns:
String[] of columnNames

getData

public java.lang.String[][] getData()
Returns the data.

Returns:
String[][] data array The first index is the row index the second index is the column index