org.spantus.externals.recognition.ui
Class CorpusEntryTableModel

java.lang.Object
  extended by org.spantus.externals.recognition.ui.CorpusEntryTableModel
All Implemented Interfaces:
TableModel

public class CorpusEntryTableModel
extends Object
implements TableModel


Constructor Summary
CorpusEntryTableModel(List<CorpusFileEntry> corpusEntries)
           
 
Method Summary
 void addTableModelListener(TableModelListener l)
           
 Class<?> getColumnClass(int i)
           
 int getColumnCount()
           
 String getColumnName(int i)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void removeTableModelListener(TableModelListener l)
           
 void setValueAt(Object obj, int rowIndex, int columnIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorpusEntryTableModel

public CorpusEntryTableModel(List<CorpusFileEntry> corpusEntries)
Method Detail

getColumnClass

public Class<?> getColumnClass(int i)
Specified by:
getColumnClass in interface TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel

getColumnName

public String getColumnName(int i)
Specified by:
getColumnName in interface TableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Specified by:
getValueAt in interface TableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel

setValueAt

public void setValueAt(Object obj,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface TableModel

addTableModelListener

public void addTableModelListener(TableModelListener l)
Specified by:
addTableModelListener in interface TableModel

removeTableModelListener

public void removeTableModelListener(TableModelListener l)
Specified by:
removeTableModelListener in interface TableModel


Copyright © 2010. All Rights Reserved.