edu.stanford.smi.protegex.owl.ui.triplestore
Class TripleStoreTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byedu.stanford.smi.protegex.owl.ui.triplestore.TripleStoreTableModel
All Implemented Interfaces:
Serializable, TableModel

class TripleStoreTableModel
extends AbstractTableModel

Author:
Holger Knublauch

Field Summary
static int COL_ACTIVE
           
static int COL_COUNT
           
static int COL_EDITABLE
           
static int COL_URI
           
static String MAIN_FILE_NAME
           
private  OWLModel owlModel
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
(package private) TripleStoreTableModel(OWLModel owlModel)
           
 
Method Summary
 Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int column)
           
 int getRowCount()
           
 int getSelectedTripleStoreRow()
           
(package private)  TripleStore getTripleStore(int row)
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setValueAt(Object aValue, int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, 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

COL_EDITABLE

public static final int COL_EDITABLE
See Also:
Constant Field Values

COL_ACTIVE

public static final int COL_ACTIVE
See Also:
Constant Field Values

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

owlModel

private OWLModel owlModel

MAIN_FILE_NAME

public static final String MAIN_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

TripleStoreTableModel

TripleStoreTableModel(OWLModel owlModel)
Method Detail

getColumnCount

public int getColumnCount()

getColumnClass

public Class getColumnClass(int columnIndex)

getColumnName

public String getColumnName(int column)

getRowCount

public int getRowCount()

getSelectedTripleStoreRow

public int getSelectedTripleStoreRow()

getTripleStore

TripleStore getTripleStore(int row)

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)

setValueAt

public void setValueAt(Object aValue,
                       int rowIndex,
                       int columnIndex)