Package cbsw.gui

Class Histogram


  • public class Histogram
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      org.jfree.chart.JFreeChart chart  
      int currentIndex  
      org.jfree.chart.plot.XYPlot plot  
      org.jfree.chart.renderer.xy.XYBarRenderer renderer  
      (package private) static org.jfree.chart.StandardChartTheme theme  
      org.jfree.data.xy.XYSeriesCollection xySeriesCollection  
    • Constructor Summary

      Constructors 
      Constructor Description
      Histogram​(java.lang.String title)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File chooseFile​(java.lang.String fileExtension, java.lang.String fileDescription)  
      void clear()  
      org.jfree.chart.JFreeChart getChart()  
      org.jfree.data.statistics.HistogramDataset getDataset()  
      void hide()  
      void hide​(java.lang.Comparable key)  
      java.lang.Comparable[] keys()  
      double mean​(java.lang.Comparable key)  
      void next()  
      void next​(int id)  
      void previous()  
      void readStream​(java.io.BufferedReader stream)  
      double rms​(java.lang.Comparable key)  
      void saveAsPNG()  
      void saveAsPNG​(java.io.File file)  
      void saveAsSVG()  
      void saveAsSVG​(java.io.File file)  
      void setPaint​(int idx, java.awt.Color col)  
      void setPaint​(java.awt.Color col)  
      void show()  
      void show​(java.lang.Comparable key)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • chart

        public org.jfree.chart.JFreeChart chart
      • plot

        public org.jfree.chart.plot.XYPlot plot
      • renderer

        public org.jfree.chart.renderer.xy.XYBarRenderer renderer
      • xySeriesCollection

        public org.jfree.data.xy.XYSeriesCollection xySeriesCollection
      • theme

        static org.jfree.chart.StandardChartTheme theme
      • currentIndex

        public int currentIndex
    • Constructor Detail

      • Histogram

        public Histogram​(java.lang.String title)
    • Method Detail

      • getChart

        public org.jfree.chart.JFreeChart getChart()
      • getDataset

        public org.jfree.data.statistics.HistogramDataset getDataset()
      • show

        public void show​(java.lang.Comparable key)
      • show

        public void show()
      • hide

        public void hide​(java.lang.Comparable key)
      • hide

        public void hide()
      • next

        public void next​(int id)
      • next

        public void next()
      • previous

        public void previous()
      • keys

        public java.lang.Comparable[] keys()
      • clear

        public void clear()
      • chooseFile

        public java.io.File chooseFile​(java.lang.String fileExtension,
                                       java.lang.String fileDescription)
      • saveAsPNG

        public void saveAsPNG()
      • saveAsPNG

        public void saveAsPNG​(java.io.File file)
      • saveAsSVG

        public void saveAsSVG()
      • saveAsSVG

        public void saveAsSVG​(java.io.File file)
      • mean

        public double mean​(java.lang.Comparable key)
      • rms

        public double rms​(java.lang.Comparable key)
      • setPaint

        public void setPaint​(java.awt.Color col)
      • setPaint

        public void setPaint​(int idx,
                             java.awt.Color col)