Class PAResultsWindow.ValuesTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
table.ExactTableModel
common.panels.parametric.PAResultsWindow.ValuesTableModel
All Implemented Interfaces:
Serializable, TableModel, ModelHandlesRowHeader, PrototypedTableModel
Enclosing class:
PAResultsWindow

protected class PAResultsWindow.ValuesTableModel extends ExactTableModel
Model for ValuesTable Columns represent the values assumed by the varying parameter.
Author:
Francesco D'Aquino Date: 28-gen-2006 Time: 10.48.11 Modified by Ashanka (Nov 09): Desc: Added the description of the Drop Rate Modified by Ashanka (Nov 09): Desc: Appended the values of various measures to the tool tip. Modified by Ashanka (May 2010): Patch: Multi-Sink Perf. Index Description: Added new Performance index for capturing 1. global response time (ResponseTime per Sink) 2. global throughput (Throughput per Sink) each sink per class.
See Also:
  • Constructor Details

    • ValuesTableModel

      public ValuesTableModel(Vector values, String measureType)
  • 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.
    • getRowCount

      public int getRowCount()
    • getValueAtImpl

      protected Object getValueAtImpl(int rowIndex, int columnIndex)
      Specified by:
      getValueAtImpl in class ExactTableModel
      Returns:
      the object at (rowIndex, columnIndex)
    • 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