gate.gui
Class GazetteerEditor.ListTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
gate.gui.GazetteerEditor.ListTableModel
- All Implemented Interfaces:
- Serializable, TableModel
- Enclosing class:
- GazetteerEditor
protected class GazetteerEditor.ListTableModel
- extends AbstractTableModel
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GazetteerEditor.ListTableModel
public GazetteerEditor.ListTableModel()
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
isCellEditable
public boolean isCellEditable(int row,
int column)
- Specified by:
isCellEditable
in interface TableModel
- Overrides:
isCellEditable
in class AbstractTableModel
getValueAt
public Object getValueAt(int row,
int column)
setValueAt
public void setValueAt(Object value,
int row,
int column)
- Specified by:
setValueAt
in interface TableModel
- Overrides:
setValueAt
in class AbstractTableModel
fireTableStructureChanged
public void fireTableStructureChanged()
- Overrides:
fireTableStructureChanged
in class AbstractTableModel
fireTableChanged
public void fireTableChanged(TableModelEvent e)
- Overrides:
fireTableChanged
in class AbstractTableModel
setFilterText
public void setFilterText(String filter)
- Filter the table rows against this filter.
- Parameters:
filter
- string used to filter rows
filterRows
protected void filterRows()
addEmptyFeatureColumns
public void addEmptyFeatureColumns()
addRow
public void addRow(GazetteerNode gazetteerNode)
removeRow
public void removeRow(int row)
- Parameters:
row
- row index in the model
setGazetteerList
public void setGazetteerList(GazetteerList gazetteerList)