Class Histogram

java.lang.Object
cbsw.gui.Histogram

public class Histogram extends Object
  • Field Details

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

    • Histogram

      public Histogram(String title)
  • Method Details

    • getChart

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

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

      public void show(Comparable key)
    • show

      public void show()
    • hide

      public void hide(Comparable key)
    • hide

      public void hide()
    • next

      public void next(int id)
    • next

      public void next()
    • previous

      public void previous()
    • keys

      public Comparable[] keys()
    • clear

      public void clear()
    • chooseFile

      public File chooseFile(String fileExtension, String fileDescription)
    • saveAsPNG

      public void saveAsPNG()
    • saveAsPNG

      public void saveAsPNG(File file)
    • saveAsSVG

      public void saveAsSVG()
    • saveAsSVG

      public void saveAsSVG(File file)
    • mean

      public double mean(Comparable key)
    • rms

      public double rms(Comparable key)
    • readStream

      public void readStream(BufferedReader stream) throws IOException, Histogram.EOFException
      Throws:
      IOException
      Histogram.EOFException
    • setPaint

      public void setPaint(Color col)
    • setPaint

      public void setPaint(int idx, Color col)