edu.stanford.smi.protegex.owl.ui.metadatatab.imports
Class ImportsTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
edu.stanford.smi.protegex.owl.ui.metadatatab.imports.ImportsTableModel
- All Implemented Interfaces:
- edu.stanford.smi.protege.util.Disposable, Serializable, TableModel
- public class ImportsTableModel
- extends AbstractTableModel
- implements edu.stanford.smi.protege.util.Disposable
- Author:
- Holger Knublauch
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COL_URI
public static final int COL_URI
- See Also:
- Constant Field Values
COL_COUNT
public static final int COL_COUNT
- See Also:
- Constant Field Values
listener
private PropertyValueListener listener
ontology
private OWLOntology ontology
uris
private List uris
ImportsTableModel
public ImportsTableModel(OWLOntology ontology)
addImport
public void addImport(String uri)
deleteRow
public void deleteRow(int row)
dispose
public void dispose()
- Specified by:
dispose
in interface edu.stanford.smi.protege.util.Disposable
getColumnClass
public Class getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interface TableModel
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface TableModel
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interface TableModel
getNamespaceManager
public NamespaceManager getNamespaceManager()
getOWLModel
OWLModel getOWLModel()
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface TableModel
getURI
public String getURI(int row)
getURIRow
public int getURIRow(String uri)
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
- Specified by:
getValueAt
in interface TableModel
refill
private void refill()