public abstract class AbstractErrorAnalysisTableModel
extends javax.swing.table.AbstractTableModel
Modifier and Type | Field and Description |
---|---|
protected CoreferenceAllocation |
allocation |
protected java.util.Set<DocumentData> |
documents |
protected CoreferenceAllocation |
goldAllocation |
protected javax.swing.ListModel<java.lang.String> |
rowHeaderModel |
Modifier | Constructor and Description |
---|---|
protected |
AbstractErrorAnalysisTableModel() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
analyzeDocuments() |
CoreferenceAllocation |
getAllocation() |
java.util.Set<DocumentData> |
getDocuments() |
CoreferenceAllocation |
getGoldAllocation() |
int |
getRowCount() |
javax.swing.ListModel<java.lang.String> |
getRowHeaderModel() |
void |
rebuild() |
void |
setAllocation(CoreferenceAllocation allocation) |
void |
setDocuments(java.util.Set<DocumentData> documents) |
void |
setGoldAllocation(CoreferenceAllocation goldAllocation) |
protected void |
setRowHeaders(java.lang.String... labels) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
protected java.util.Set<DocumentData> documents
protected CoreferenceAllocation allocation
protected CoreferenceAllocation goldAllocation
protected javax.swing.ListModel<java.lang.String> rowHeaderModel
protected void setRowHeaders(java.lang.String... labels)
public javax.swing.ListModel<java.lang.String> getRowHeaderModel()
public int getRowCount()
TableModel.getRowCount()
public java.util.Set<DocumentData> getDocuments()
public CoreferenceAllocation getAllocation()
public CoreferenceAllocation getGoldAllocation()
public void setDocuments(java.util.Set<DocumentData> documents)
documents
- the documents to setpublic void setAllocation(CoreferenceAllocation allocation)
allocation
- the allocation to setpublic void setGoldAllocation(CoreferenceAllocation goldAllocation)
goldAllocation
- the goldAllocation to setpublic void rebuild()
protected abstract void analyzeDocuments()