Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protegex.owl.ui.clsdesc
Class PropertiesSuperclassesTableModel

    java.lang.Object
      javax.swing.table.AbstractTableModel
          edu.stanford.smi.protegex.owl.ui.owltable.AbstractOWLTableModel
              edu.stanford.smi.protegex.owl.ui.clsdesc.PropertiesSuperclassesTableModel

All Implemented Interfaces:
  OWLTableModel, SymbolTableModel, Serializable, TableModel

    public class PropertiesSuperclassesTableModel

extends AbstractOWLTableModel

A ClassDescriptionTableModel that displays all direct superclasses that are not restrictions. This implementation assumes that the edited class has no equivalent classes.

Author:
  Holger Knublauch
See Also:
  Serialized Form

Field Summary

Fields inherited from class javax.swing.table.AbstractTableModel
`listenerList`

Constructor Summary
`PropertiesSuperclassesTableModel()`

Method Summary
`boolean` | `addRow(RDFSClass aClass, int selectedRow)`
`protected int` | `getInsertRowIndex(edu.stanford.smi.protege.model.Cls cls)`
`RDFProperty` | `getPredicate(int row)`
`boolean` | `isDeleteEnabledFor(RDFSClass cls)`
`boolean` | `isRemoveEnabledFor(edu.stanford.smi.protege.model.Cls cls)`
`protected boolean` | `isSuitable(edu.stanford.smi.protege.model.Cls cls)` Checks whether a given superclass shall be displayed or not.
`protected void` | `setValueAt(int rowIndex, OWLModel owlModel, String parsableText)`

Methods inherited from class edu.stanford.smi.protegex.owl.ui.owltable.AbstractOWLTableModel
`addEmptyRow, addRows, deleteRow, displaySemanticError, dispose, getClass, getClassRow, getColumnClass, getColumnCount, getColumnName, getEditedCls, getIcon, getRDFResource, getRowCount, getSubject, getSymbolColumnIndex, getValueAt, insertRow, isAddEnabledAt, isCellEditable, isEditable, refill, removeEmptyRow, setCls, setValueAt`

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`

Methods inherited from interface edu.stanford.smi.protegex.owl.ui.owltable.OWLTableModel
`addEmptyRow, deleteRow, displaySemanticError, dispose, getClass, getClassRow, getEditedCls, isAddEnabledAt, isEditable, removeEmptyRow, setCls`

Methods inherited from interface edu.stanford.smi.protegex.owl.ui.owltable.SymbolTableModel
`getIcon, getRDFResource, getSubject, getSymbolColumnIndex`

Methods inherited from interface javax.swing.table.TableModel
`addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt`

Constructor Detail

### PropertiesSuperclassesTableModel

    public PropertiesSuperclassesTableModel()

Method Detail

### addRow

    public boolean addRow(RDFSClass aClass,
                          int selectedRow)

  Specified by:
    `addRow` in interface `OWLTableModel`

### getInsertRowIndex

    protected int getInsertRowIndex(edu.stanford.smi.protege.model.Cls cls)

  Specified by:
    `getInsertRowIndex` in class `AbstractOWLTableModel`

### getPredicate

    public RDFProperty getPredicate(int row)

  Specified by:
    `getPredicate` in interface `SymbolTableModel`

### isDeleteEnabledFor

    public boolean isDeleteEnabledFor(RDFSClass cls)

  Specified by:
    `isDeleteEnabledFor` in interface `OWLTableModel`

### isRemoveEnabledFor

    public boolean isRemoveEnabledFor(edu.stanford.smi.protege.model.Cls cls)

### isSuitable

    protected boolean isSuitable(edu.stanford.smi.protege.model.Cls cls)

  Description copied from class: `AbstractOWLTableModel`
  Checks whether a given superclass shall be displayed or not.

  Specified by:
    `isSuitable` in class `AbstractOWLTableModel`
  Parameters:
    `cls` - the superclass to test
  Returns:
    true if the cls shall be listed in this table

### setValueAt

    protected void setValueAt(int rowIndex,
                              OWLModel owlModel,
                              String parsableText)
                       throws Exception

  Specified by:
    `setValueAt` in class `AbstractOWLTableModel`
  Throws:
    `Exception`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.