nl.tudelft.simulation.introspection.gui
Class SortingObjectTableModel
java.lang.Object
nl.tudelft.simulation.introspection.sortable.SortingTableModel
nl.tudelft.simulation.introspection.gui.SortingObjectTableModel
- All Implemented Interfaces:
- javax.swing.table.TableModel, IntrospectingTableModelInterface, Sortable
public class SortingObjectTableModel
- extends SortingTableModel
- implements IntrospectingTableModelInterface
The sortingObjectTableModel. Can act as a delegate for an instance of {see
nl.tudelft.simulation.introspection.gui.IntrospectingTableModelInterface}.
(c) copyright 2002-2005-2004 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Since:
- 1.5
- Version:
- 1.1 Apr 15, 2004
- Author:
- Niels
Lang Peter
Jacobs
|
Constructor Summary |
SortingObjectTableModel(javax.swing.table.TableModel source)
constructs a new SortingObjectTableModel |
|
Method Summary |
Introspector |
getIntrospector()
|
ModelManager |
getModelManager()
Returns a reference to this model's modelManager, {see ModelManager}. |
Property |
getProperty(java.lang.String propertyName)
Returns the Property instance generated by this
IntrospectingTableModelInterface for the property 'propertyName'. |
java.lang.Class |
getTypeAt(int rowIndex,
int columnIndex)
gets the class of the the object at row,column. |
| Methods inherited from class nl.tudelft.simulation.introspection.sortable.SortingTableModel |
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getDefinitions, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setDefinitions, setValueAt, sort |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.table.TableModel |
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
SortingObjectTableModel
public SortingObjectTableModel(javax.swing.table.TableModel source)
- constructs a new SortingObjectTableModel
- Parameters:
source - the source of this tableModel
getIntrospector
public Introspector getIntrospector()
- Specified by:
getIntrospector in interface IntrospectingTableModelInterface
- Returns:
- The introspector instance used by this introspecting TableModel.
- See Also:
#getIntrospector()
getProperty
public Property getProperty(java.lang.String propertyName)
- Description copied from interface:
IntrospectingTableModelInterface
- Returns the Property instance generated by this
IntrospectingTableModelInterface for the property 'propertyName'.
- Specified by:
getProperty in interface IntrospectingTableModelInterface
- Parameters:
propertyName - The name of the Property to be returned
- Returns:
- The Property corresponding to 'propertyName', null if the
property could not be found.
- See Also:
IntrospectingTableModelInterface#getProperty(java.lang.String)
getTypeAt
public java.lang.Class getTypeAt(int rowIndex,
int columnIndex)
- Description copied from interface:
IntrospectingTableModelInterface
- gets the class of the the object at row,column.
- Specified by:
getTypeAt in interface IntrospectingTableModelInterface
- Parameters:
rowIndex - the rowNumbercolumnIndex - the columnNumber
- Returns:
- The type of the value in cell 'rowIndex', 'columnIndex'
- See Also:
#getTypeAt(int,int)
getModelManager
public ModelManager getModelManager()
- Description copied from interface:
IntrospectingTableModelInterface
- Returns a reference to this model's modelManager, {see ModelManager}.
- Specified by:
getModelManager in interface IntrospectingTableModelInterface
- Returns:
- the model manager
- See Also:
#getModelManager()
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.