Class NumberOfCustomersPanel.PopulationVectorTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
table.ExactTableModel
common.panels.parametric.NumberOfCustomersPanel.PopulationVectorTableModel
- All Implemented Interfaces:
Serializable, TableModel, ModelHandlesRowHeader, PrototypedTableModel
- Enclosing class:
NumberOfCustomersPanel
Model for PopulationVectorTable
Columns represent the closed classes names.
- Author:
- Francesco D'Aquino Date: 9-mar-2006 Time: 16.17.48
- See Also:
-
Field Summary
Fields inherited from class ExactTableModel
prototype, rowHeaderPrototypeFields inherited from class AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColumnName(int index) Gets the name of the column, given the column indexgetPrototype(int i) intprotected ObjectgetRowName(int rowIndex) protected ObjectgetValueAtImpl(int rowIndex, int columnIndex) Methods inherited from class ExactTableModel
clear, getValueAtMethods inherited from class AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Constructor Details
-
PopulationVectorTableModel
public PopulationVectorTableModel()
-
-
Method Details
-
getPrototype
- Specified by:
getPrototypein interfacePrototypedTableModel- Overrides:
getPrototypein classExactTableModel- Returns:
- a prototypical data item for column i. This is typically a maximum-length item used for autmatically sizing columns.
-
getValueAtImpl
- Specified by:
getValueAtImplin classExactTableModel- Returns:
- the object at (rowIndex, columnIndex)
-
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
getRowName
- Specified by:
getRowNamein classExactTableModel- Returns:
- the header for row
rowIndex
-
getColumnName
Gets the name of the column, given the column index- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel- Parameters:
index- the index of the column to give the name- Returns:
- the column name
-