org.knime.base.node.io.tablecreator.table
Class RowHeaderTable.RowModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.knime.base.node.io.tablecreator.table.RowHeaderTable.RowModel
All Implemented Interfaces:
Serializable, TableModel
Enclosing class:
RowHeaderTable

static class RowHeaderTable.RowModel
extends AbstractTableModel

The table model of the row header table.

Author:
Heiko Hofer

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
RowHeaderTable.RowModel(TableModel model)
           
 
Method Summary
 Class<?> getColumnClass(int columnIndex)
          
 int getColumnCount()
          
 String getColumnName(int columnIndex)
          
 int getRowCount()
          
 String getRowIdPrefix()
           
 int getRowIdStartValue()
           
 String getRowIdSuffix()
           
 Object getValueAt(int rowIndex, int columnIndex)
          
 boolean isCellEditable(int rowIndex, int columnIndex)
          
 void setRowIdPrefix(String rowIdPrefix)
           
 void setRowIdStartValue(int rowIdStartValue)
           
 void setRowIdSuffix(String rowIdSuffix)
           
 void setValueAt(Object aValue, int rowIndex, int columnIndex)
          
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowHeaderTable.RowModel

RowHeaderTable.RowModel(TableModel model)
Parameters:
model - the model of the spreadsheet
Method Detail

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)

Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

getColumnClass

public Class<?> getColumnClass(int columnIndex)

Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

getColumnCount

public int getColumnCount()


getColumnName

public String getColumnName(int columnIndex)

Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getRowCount

public int getRowCount()


setValueAt

public void setValueAt(Object aValue,
                       int rowIndex,
                       int columnIndex)

Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)


getRowIdPrefix

public final String getRowIdPrefix()
Returns:
the rowIdPrefix

setRowIdPrefix

public final void setRowIdPrefix(String rowIdPrefix)
Parameters:
rowIdPrefix - the rowIdPrefix to set

getRowIdSuffix

public final String getRowIdSuffix()
Returns:
the rowIdSuffix

setRowIdSuffix

public final void setRowIdSuffix(String rowIdSuffix)
Parameters:
rowIdSuffix - the rowIdSuffix to set

getRowIdStartValue

public final int getRowIdStartValue()
Returns:
the rowIdStartValue

setRowIdStartValue

public final void setRowIdStartValue(int rowIdStartValue)
Parameters:
rowIdStartValue - the rowIdStartValue to set


Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.