com.rapidminer.gui.viewer
Class DataViewerTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.rapidminer.gui.viewer.DataViewerTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class DataViewerTableModel
extends javax.swing.table.AbstractTableModel

The model for the MetaDataViewerTable.

Author:
Ingo Mierswa
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DataViewerTableModel(ExampleSet exampleSet)
           
 
Method Summary
 java.lang.Class<?> getColumnClass(int column)
           
 int getColumnCount()
          Returns the sum of the number of special attributes, the number of regular attributes and 1 for the row no. column.
 java.lang.String getColumnName(int column)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int column)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataViewerTableModel

public DataViewerTableModel(ExampleSet exampleSet)
Method Detail

getColumnClass

public java.lang.Class<?> getColumnClass(int column)
Specified by:
getColumnClass in interface javax.swing.table.TableModel
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()
Returns the sum of the number of special attributes, the number of regular attributes and 1 for the row no. column.


getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)

getColumnName

public java.lang.String getColumnName(int column)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel


Copyright © 2001-2009 by Rapid-I