gate.gui
Class AnnotationDiffGUI.DiffTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by gate.gui.AnnotationDiffGUI.DiffTableModel
All Implemented Interfaces:
Serializable, TableModel
Enclosing class:
AnnotationDiffGUI

protected class AnnotationDiffGUI.DiffTableModel
extends AbstractTableModel

See Also:
Serialized Form

Field Summary
protected static int COL_COUNT
           
protected static int COL_KEY_COPY
           
protected static int COL_KEY_END
           
protected static int COL_KEY_FEATURES
           
protected static int COL_KEY_START
           
protected static int COL_KEY_STRING
           
protected static int COL_MATCH
           
protected static int COL_RES_COPY
           
protected static int COL_RES_END
           
protected static int COL_RES_FEATURES
           
protected static int COL_RES_START
           
protected static int COL_RES_STRING
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
protected AnnotationDiffGUI.DiffTableModel()
           
 
Method Summary
 Color getBackgroundAt(int row, int column)
           
 Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int column)
           
 int getRowCount()
           
 Object getValueAt(int row, int column)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setValueAt(Object aValue, int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COL_COUNT

protected static final int COL_COUNT
See Also:
Constant Field Values

COL_KEY_START

protected static final int COL_KEY_START
See Also:
Constant Field Values

COL_KEY_END

protected static final int COL_KEY_END
See Also:
Constant Field Values

COL_KEY_STRING

protected static final int COL_KEY_STRING
See Also:
Constant Field Values

COL_KEY_FEATURES

protected static final int COL_KEY_FEATURES
See Also:
Constant Field Values

COL_KEY_COPY

protected static final int COL_KEY_COPY
See Also:
Constant Field Values

COL_MATCH

protected static final int COL_MATCH
See Also:
Constant Field Values

COL_RES_COPY

protected static final int COL_RES_COPY
See Also:
Constant Field Values

COL_RES_START

protected static final int COL_RES_START
See Also:
Constant Field Values

COL_RES_END

protected static final int COL_RES_END
See Also:
Constant Field Values

COL_RES_STRING

protected static final int COL_RES_STRING
See Also:
Constant Field Values

COL_RES_FEATURES

protected static final int COL_RES_FEATURES
See Also:
Constant Field Values
Constructor Detail

AnnotationDiffGUI.DiffTableModel

protected AnnotationDiffGUI.DiffTableModel()
Method Detail

getRowCount

public int getRowCount()

getColumnClass

public Class getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

getColumnCount

public int getColumnCount()

getColumnName

public String getColumnName(int column)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getBackgroundAt

public Color getBackgroundAt(int row,
                             int column)

getValueAt

public Object getValueAt(int row,
                         int column)

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

setValueAt

public void setValueAt(Object aValue,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel