project35.soa.ontology.views
Class DictionaryTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by project35.soa.ontology.views.DictionaryTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class DictionaryTableModel
extends javax.swing.table.AbstractTableModel

the table model used by the DictionaryView .


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DictionaryTableModel()
           
 
Method Summary
 void filter(java.lang.String filterMask)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 int getRowCount()
           
 OntologyTerm getTermFromRow(int row)
           
 java.lang.Object getValueAt(int row, int column)
           
 boolean isCellEditable()
           
 void reset()
           
 void setMasterList(OntologyTerm[] masterList)
           
 void setOntologySource(Project35FormContext project35FormContxt, OntologySource ontologySource)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryTableModel

public DictionaryTableModel()
Method Detail

getTermFromRow

public OntologyTerm getTermFromRow(int row)

setMasterList

public void setMasterList(OntologyTerm[] masterList)

setOntologySource

public void setOntologySource(Project35FormContext project35FormContxt,
                              OntologySource ontologySource)

reset

public void reset()

filter

public void filter(java.lang.String filterMask)

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)

getColumnName

public java.lang.String getColumnName(int column)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

isCellEditable

public boolean isCellEditable()