gate.gui
Class SchemaAnnotationEditor.FeaturesTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended bygate.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, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

ArrayList data
Constructor Detail

SchemaAnnotationEditor.FeaturesTableModel

public SchemaAnnotationEditor.FeaturesTableModel(Set aData)
Method Detail

fireTableDataChanged

public void fireTableDataChanged()

getColumnCount

public int getColumnCount()

getColumnClass

public Class getColumnClass(int columnIndex)

getColumnName

public String getColumnName(int columnIndex)

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Returns the value at row,column from Table Model


setValueAt

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