Class PAResultsWindow.PlotImagesFileFilter

java.lang.Object
javax.swing.filechooser.FileFilter
common.panels.parametric.PAResultsWindow.PlotImagesFileFilter
Enclosing class:
PAResultsWindow

protected static class PAResultsWindow.PlotImagesFileFilter extends FileFilter
Inner class used to create simple file filters with only extension check
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.
  • Constructor Details

    • PlotImagesFileFilter

      public PlotImagesFileFilter(String extension, String description)
      Creates a new filefilter with specified extension and description
      Parameters:
      extension - extension of this filter (for example ".jmt")
      description - description of this filter
  • Method Details

    • accept

      public boolean accept(File f)
      Whether the given file is accepted by this filter.
      Specified by:
      accept in class FileFilter
    • getDescription

      public String getDescription()
      The description of this filter
      Specified by:
      getDescription in class FileFilter
      See Also:
    • getExtension

      public String getExtension()
      Gets extension of this filter
      Returns:
      extension of this filter