gate.gui
Class DocumentEditor.AnnotationsTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
gate.gui.DocumentEditor.AnnotationsTableModel
- All Implemented Interfaces:
- Serializable, TableModel
- Enclosing class:
- DocumentEditor
protected class DocumentEditor.AnnotationsTableModel
- extends AbstractTableModel
A custom table model used to render a table containing the annotations
from a set of annotation sets.
The columns will be: Type, Set, Start, End, Features
- See Also:
- Serialized Form
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 |
DocumentEditor.AnnotationsTableModel
public DocumentEditor.AnnotationsTableModel()
getRowCount
public int getRowCount()
getColumnCount
public int getColumnCount()
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class AbstractTableModel
getColumnClass
public Class getColumnClass(int column)
- Specified by:
getColumnClass
in interface TableModel
- Overrides:
getColumnClass
in class AbstractTableModel
getValueAt
public Object getValueAt(int row,
int column)