edu.stanford.smi.protegex.owl.ui.testing
Class OWLTestSettingsTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
edu.stanford.smi.protegex.owl.ui.testing.OWLTestSettingsTableModel
- All Implemented Interfaces:
- Serializable, TableModel
- public class OWLTestSettingsTableModel
- extends AbstractTableModel
- 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_ACTIVATED
public static final int COL_ACTIVATED
- See Also:
- Constant Field Values
COL_NAME
public static final int COL_NAME
- See Also:
- Constant Field Values
COL_COUNT
public static final int COL_COUNT
- See Also:
- Constant Field Values
testClasses
private List testClasses
- A list of either Class objects (for the TestClass) or Strings
(to represent group headers).
testManager
private OWLTestManager testManager
OWLTestSettingsTableModel
public OWLTestSettingsTableModel(OWLTestManager testManager)
getColumnClass
public Class getColumnClass(int columnIndex)
getColumnCount
public int getColumnCount()
getColumnName
public String getColumnName(int column)
getOWLTest
public OWLTest getOWLTest(Class clazz)
getOWLTestClass
public Class getOWLTestClass(int rowIndex)
getOWLTestClassName
public String getOWLTestClassName(int rowIndex)
getRowCount
public int getRowCount()
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
isSeparator
public boolean isSeparator(int rowIndex)
isTestActivated
private boolean isTestActivated(int rowIndex)
setTestActivated
private void setTestActivated(int rowIndex,
boolean value)
setValueAt
public void setValueAt(Object aValue,
int rowIndex,
int columnIndex)
getGroupName
private String getGroupName(int rowIndex)