Package com.cosylab.vdct.inspector
Class InspectorTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- com.cosylab.vdct.inspector.InspectorTableModel
-
- All Implemented Interfaces:
PropertyTableModel,Serializable,TableModel
public class InspectorTableModel extends AbstractTableModel implements PropertyTableModel
Insert the type's description here. Creation date: (6.1.2001 23:29:20)- Author:
- Matej Sekoranja
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Fields inherited from interface com.cosylab.vdct.inspector.PropertyTableModel
DISP_NAME, DISP_NONE, DISP_VALUE, DISP_VISIBILITY, HEADERDISP_EYE, HEADERDISP_NONE, HEADERDISP_TEXT
-
-
Constructor Summary
Constructors Constructor Description InspectorTableModel(InspectorInterface inspector)InspactorTableModel constructor comment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassgetColumnClass(int column)Insert the method's description here.intgetColumnCount()getColumnCount method comment.InspectablegetDataObject()Insert the method's description here.intgetHeaderDisplayType(int column)Returns the header display type HEADERDISP_* at the given position.InspectablePropertygetPropertyAt(int row, int column)Insert the method's description here.intgetPropertyDisplayTypeAt(int row, int column)Returns the cell display type DISP_* at the given position.intgetRowCount()getRowCount method comment.ObjectgetValueAt(int row, int column)getValueAt method comment.booleanisCellEditable(int rowIndex, int columnIndex)Insert the method's description here.voidsetDataObject(Inspectable object)Insert the method's description here.voidsetValueAt(Object aValue, int row, int column)Sets the object value for the cell at column and row.voidupdateProperty(InspectableProperty property)Insert the method's description here.voidupdateProperty(String propertyName)Insert the method's description here.-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
InspectorTableModel
public InspectorTableModel(InspectorInterface inspector)
InspactorTableModel constructor comment.- Parameters:
inspector- inspector
-
-
Method Detail
-
getColumnClass
public Class getColumnClass(int column)
Insert the method's description here. Creation date: (14.11.1999 15:22:35)- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel- Parameters:
column- int- Returns:
- java.lang.Class
-
getColumnCount
public int getColumnCount()
getColumnCount method comment.- Specified by:
getColumnCountin interfaceTableModel- Returns:
- something
-
getDataObject
public Inspectable getDataObject()
Insert the method's description here. Creation date: (10.1.2001 17:12:58)- Returns:
- com.cosylab.vdct.inspector.Inspectable
-
getPropertyAt
public InspectableProperty getPropertyAt(int row, int column)
Insert the method's description here. Creation date: (11.1.2001 22:17:39)- Specified by:
getPropertyAtin interfacePropertyTableModel- Parameters:
column- columnrow- int- Returns:
- com.cosylab.vdct.inspector.InspectableProperty
-
getPropertyDisplayTypeAt
public int getPropertyDisplayTypeAt(int row, int column)Description copied from interface:PropertyTableModelReturns the cell display type DISP_* at the given position.- Specified by:
getPropertyDisplayTypeAtin interfacePropertyTableModel- Parameters:
row- rowcolumn- column- Returns:
- something
-
getHeaderDisplayType
public int getHeaderDisplayType(int column)
Description copied from interface:PropertyTableModelReturns the header display type HEADERDISP_* at the given position.- Specified by:
getHeaderDisplayTypein interfacePropertyTableModel- Parameters:
column- column- Returns:
- something
-
getRowCount
public int getRowCount()
getRowCount method comment.- Specified by:
getRowCountin interfaceTableModel- Returns:
- something
-
getValueAt
public Object getValueAt(int row, int column)
getValueAt method comment.- Specified by:
getValueAtin interfaceTableModel- Parameters:
row- rowcolumn- column- Returns:
- something
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)Insert the method's description here. Creation date: (6.1.2001 23:41:13)- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel- Parameters:
rowIndex- intcolumnIndex- int- Returns:
- boolean
-
setDataObject
public void setDataObject(Inspectable object)
Insert the method's description here. Creation date: (10.1.2001 17:12:58)- Parameters:
object- com.cosylab.vdct.inspector.Inspectable
-
setValueAt
public void setValueAt(Object aValue, int row, int column)
Sets the object value for the cell at column and row. aValue is the new value. This method will generate a tableChanged() notification.- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel- Parameters:
aValue- the new value. This can be null.row- the row whose value is to be looked upcolumn- the column whose value is to be looked up
-
updateProperty
public void updateProperty(InspectableProperty property)
Insert the method's description here. Creation date: (5.5.2001 15:12:05)- Parameters:
property- com.cosylab.vdct.inspector.InspectableProperty
-
updateProperty
public void updateProperty(String propertyName)
Insert the method's description here. Creation date: (5.5.2001 15:06:07)- Parameters:
propertyName- java.lang.String
-
-