protected class CorpusAnnotationDiff.AnnotationDiffTableModel extends AbstractTableModel
listenerList
Constructor and Description |
---|
AnnotationDiffTableModel()
Constructs an AnnotationDiffTableModel
|
AnnotationDiffTableModel(Collection<CorpusAnnotationDiff.DiffSetElement> data)
Constructs an AnnotationDiffTableModel given a data Collection
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getColumnClass(int column)
Return the class type for each column.
|
int |
getColumnCount()
Return the number of columns.
|
String |
getColumnName(int column)
Returns the name of each column in the model
|
Object |
getRawObject(int row) |
int |
getRowCount()
Return the size of data.
|
Object |
getValueAt(int row,
int column)
Returns a value from the table model
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public AnnotationDiffTableModel(Collection<CorpusAnnotationDiff.DiffSetElement> data)
public AnnotationDiffTableModel()
public int getRowCount()
public int getColumnCount()
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public Class<?> getColumnClass(int column)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public Object getValueAt(int row, int column)
public Object getRawObject(int row)
Copyright © 2024 GATE. All rights reserved.