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

protected class NumberOfCustomersPanel.PopulationVectorTableModel extends ExactTableModel
Model for PopulationVectorTable Columns represent the closed classes names.
Author:
Francesco D'Aquino Date: 9-mar-2006 Time: 16.17.48
See Also:
  • Constructor Details

    • PopulationVectorTableModel

      public PopulationVectorTableModel()
  • Method Details

    • getPrototype

      public Object getPrototype(int i)
      Specified by:
      getPrototype in interface PrototypedTableModel
      Overrides:
      getPrototype in class ExactTableModel
      Returns:
      a prototypical data item for column i. This is typically a maximum-length item used for autmatically sizing columns.
    • getValueAtImpl

      protected Object getValueAtImpl(int rowIndex, int columnIndex)
      Specified by:
      getValueAtImpl in class ExactTableModel
      Returns:
      the object at (rowIndex, columnIndex)
    • getRowCount

      public int getRowCount()
    • getColumnCount

      public int getColumnCount()
    • getRowName

      protected Object getRowName(int rowIndex)
      Specified by:
      getRowName in class ExactTableModel
      Returns:
      the header for row rowIndex
    • getColumnName

      public String getColumnName(int index)
      Gets the name of the column, given the column index
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel
      Parameters:
      index - the index of the column to give the name
      Returns:
      the column name