|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
gate.annotation.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 | |
private List |
modelData
Holds the data for TableDiff |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
CorpusAnnotationDiff.AnnotationDiffTableModel()
Constructs an AnnotationDiffTableModel |
|
CorpusAnnotationDiff.AnnotationDiffTableModel(Collection 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 |
Field Detail |
private List modelData
Constructor Detail |
public CorpusAnnotationDiff.AnnotationDiffTableModel(Collection data)
public CorpusAnnotationDiff.AnnotationDiffTableModel()
Method Detail |
public int getRowCount()
public int getColumnCount()
public String getColumnName(int column)
public Class getColumnClass(int column)
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 |