edu.stanford.smi.protegex.owl.swrl.ui.table
Class SWRLTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
edu.stanford.smi.protegex.owl.swrl.ui.table.SWRLTableModel
- All Implemented Interfaces:
- edu.stanford.smi.protege.util.Disposable, SymbolTableModel, Serializable, TableModel
public class SWRLTableModel
- extends AbstractTableModel
- implements edu.stanford.smi.protege.util.Disposable, SymbolTableModel
- 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, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COL_ENABLED
public static final int COL_ENABLED
- See Also:
- Constant Field Values
COL_NAME
public static final int COL_NAME
- See Also:
- Constant Field Values
COL_EXPRESSION
public static final int COL_EXPRESSION
- See Also:
- Constant Field Values
COL_COUNT
public static final int COL_COUNT
- See Also:
- Constant Field Values
SWRLTableModel
public SWRLTableModel(OWLModel owlModel)
SWRLTableModel
public SWRLTableModel(RDFResource resource)
dispose
public void dispose()
- Specified by:
dispose
in interface edu.stanford.smi.protege.util.Disposable
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface TableModel
getIcon
public Icon getIcon(RDFResource resource)
- Specified by:
getIcon
in interface SymbolTableModel
getImp
public SWRLImp getImp(int row)
setImp
public void setImp(int row,
SWRLImp imp)
getPredicate
public RDFProperty getPredicate(int row)
- Specified by:
getPredicate
in interface SymbolTableModel
getRDFResource
public RDFResource getRDFResource(int row)
- Specified by:
getRDFResource
in interface SymbolTableModel
getSubject
public RDFResource getSubject()
- Specified by:
getSubject
in interface SymbolTableModel
getSymbolColumnIndex
public int getSymbolColumnIndex()
- Specified by:
getSymbolColumnIndex
in interface SymbolTableModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface TableModel
indexOf
public int indexOf(SWRLImp imp)
getColumnClass
public Class getColumnClass(int column)
- Specified by:
getColumnClass
in interface TableModel
- Overrides:
getColumnClass
in class AbstractTableModel
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class AbstractTableModel
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
- Specified by:
getValueAt
in interface TableModel
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
- Specified by:
isCellEditable
in interface TableModel
- Overrides:
isCellEditable
in class AbstractTableModel
setValueAt
public void setValueAt(Object aValue,
int rowIndex,
int columnIndex)
- Specified by:
setValueAt
in interface TableModel
- Overrides:
setValueAt
in class AbstractTableModel
setRowOf
public void setRowOf(SWRLImp imp,
int index)
enableAll
public void enableAll()
disableAll
public void disableAll()
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.