gate.gui.ontology
Class PropertyDetailsTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
gate.gui.ontology.PropertyDetailsTableModel
- All Implemented Interfaces:
- Serializable, TableModel
public class PropertyDetailsTableModel
- extends AbstractTableModel
A DataModel that is created when a node is selected in the ontology
property tree. It contains information such as direct/all sub/super
properties, equivalent properties, domain/range of each property and
property values and so on. The information from this model is then
shown in the right hand side panel of the ontology editor.
- Author:
- niraj
- 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 |
resourceInfo
protected DetailsGroup resourceInfo
directSuperProps
protected DetailsGroup directSuperProps
allSuperProps
protected DetailsGroup allSuperProps
directSubProps
protected DetailsGroup directSubProps
equivalentProps
protected DetailsGroup equivalentProps
allSubProps
protected DetailsGroup allSubProps
domain
protected DetailsGroup domain
range
protected DetailsGroup range
propertyTypes
protected DetailsGroup propertyTypes
propertyValues
protected DetailsGroup propertyValues
detailGroups
protected DetailsGroup[] detailGroups
itemComparator
protected OntologyItemComparator itemComparator
COLUMN_COUNT
public static final int COLUMN_COUNT
- See Also:
- Constant Field Values
EXPANDED_COLUMN
public static final int EXPANDED_COLUMN
- See Also:
- Constant Field Values
LABEL_COLUMN
public static final int LABEL_COLUMN
- See Also:
- Constant Field Values
VALUE_COLUMN
public static final int VALUE_COLUMN
- See Also:
- Constant Field Values
DELETE_COLUMN
public static final int DELETE_COLUMN
- See Also:
- Constant Field Values
PropertyDetailsTableModel
public PropertyDetailsTableModel()
getColumnCount
public int getColumnCount()
getRowCount
public int getRowCount()
getColumnName
public String getColumnName(int i)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class AbstractTableModel
getColumnClass
public Class getColumnClass(int i)
- Specified by:
getColumnClass
in interface TableModel
- Overrides:
getColumnClass
in class AbstractTableModel
isCellEditable
public boolean isCellEditable(int i,
int j)
- Specified by:
isCellEditable
in interface TableModel
- Overrides:
isCellEditable
in class AbstractTableModel
setValueAt
public void setValueAt(Object obj,
int i,
int j)
- Specified by:
setValueAt
in interface TableModel
- Overrides:
setValueAt
in class AbstractTableModel
getItemForRow
protected Object getItemForRow(int i)
getValueAt
public Object getValueAt(int i,
int j)
setItem
public void setItem(Object obj)