|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel gate.annotation.CorpusAnnotationDiff.AnnotationDiffTableModel
protected class CorpusAnnotationDiff.AnnotationDiffTableModel
A custom table model used to render a table containing the two annotation sets. The columns will be: (KEY) Type, Start, End, Features, empty column,(Response) Type,Start, End, Features
Field Summary |
---|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
CorpusAnnotationDiff.AnnotationDiffTableModel()
Constructs an AnnotationDiffTableModel |
|
CorpusAnnotationDiff.AnnotationDiffTableModel(Collection<CorpusAnnotationDiff.DiffSetElement> data)
Constructs an AnnotationDiffTableModel given a data Collection |
Method Summary | |
---|---|
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 |
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 |
---|
public CorpusAnnotationDiff.AnnotationDiffTableModel(Collection<CorpusAnnotationDiff.DiffSetElement> data)
public CorpusAnnotationDiff.AnnotationDiffTableModel()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |