Class PAResultsWindow

All Implemented Interfaces:
ParametricAnalysis, ResultsConstants, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class PAResultsWindow extends JMTFrame implements ResultsConstants, ParametricAnalysis

Title: PAResultsWindow

Description: this is a JFrame used to show results from a parametric analysis simulation. Performance indices are grouped by type inside a JTabbedPane. Performance indices of the same type are showed one below the other.
It contains some subclasses used for several purpose:
- PAMeasurePanel: it is a JPanel that contains the table with results and the plot
- ZoomedFrame: it is a JFrame used to show a single performance index
- PlotImagesFileChooser: a file chooser used to save plot images
- PlotImagesFileFilter: a file filter used to filter unsupported image type
- PlotPopupMenu: a JPopupMenu used to zoom inside and outside the plot and save images

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:
  • Field Details

  • Constructor Details

    • PAResultsWindow

      public PAResultsWindow(SimulationDefinition sd, String fileName)
      Creates a new PAResultsWindow
      Parameters:
      sd - simulation definition data structure
      fileName - name of simulation file
  • Method Details

    • getXLabel

      public String getXLabel()
    • getYLabel

      public String getYLabel(int measureIndex)
    • updateTitle

      public void updateTitle(String filename)
      Updates this window title adding the file name
      Parameters:
      filename - the file name or null to remove it.