gate.gui
Class SchemaAnnotationEditor.FeaturesTableModel

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--gate.gui.SchemaAnnotationEditor.FeaturesTableModel
All Implemented Interfaces:
Serializable, TableModel
Enclosing class:
SchemaAnnotationEditor

protected class SchemaAnnotationEditor.FeaturesTableModel
extends AbstractTableModel

See Also:
Serialized Form

Field Summary
(package private)  ArrayList data
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
SchemaAnnotationEditor.FeaturesTableModel(Set aData)
           
 
Method Summary
 void fireTableDataChanged()
           
 Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
          Returns the value at row,column from Table Model
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setValueAt(Object aValue, int rowIndex, int columnIndex)
          Set the value from the Cell Editor into the table model
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

data

ArrayList data
Constructor Detail

SchemaAnnotationEditor.FeaturesTableModel

public SchemaAnnotationEditor.FeaturesTableModel(Set aData)
Method Detail

fireTableDataChanged

public void fireTableDataChanged()
Overrides:
fireTableDataChanged in class AbstractTableModel

getColumnCount

public int getColumnCount()
Overrides:
getColumnCount in class AbstractTableModel

getColumnClass

public Class getColumnClass(int columnIndex)
Overrides:
getColumnClass in class AbstractTableModel

getColumnName

public String getColumnName(int columnIndex)
Overrides:
getColumnName in class AbstractTableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Overrides:
isCellEditable in class AbstractTableModel

getRowCount

public int getRowCount()
Overrides:
getRowCount in class AbstractTableModel

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Returns the value at row,column from Table Model
Overrides:
getValueAt in class AbstractTableModel

setValueAt

public void setValueAt(Object aValue,
                       int rowIndex,
                       int columnIndex)
Set the value from the Cell Editor into the table model
Overrides:
setValueAt in class AbstractTableModel