Package pamMaths

Class HistogramDisplay

java.lang.Object
pamMaths.HistogramDisplay
All Implemented Interfaces:
Observer

public class HistogramDisplay extends Object implements Observer
Provide a basic display panel for showing data from any number of PamHistograms, either in a single panel, or as a series of sub panels.
Author:
Douglas Gillespie
  • Field Details

  • Constructor Details

    • HistogramDisplay

      public HistogramDisplay(PamHistogram pamHistogram)
    • HistogramDisplay

      public HistogramDisplay()
  • Method Details

    • addHistogram

      public void addHistogram(PamHistogram pamHistogram)
    • removeHistogram

      public void removeHistogram(PamHistogram pamHistogram)
    • removeAllHistograms

      public void removeAllHistograms(PamHistogram pamHistogram)
    • getGraphicComponent

      public JComponent getGraphicComponent()
    • getXLabel

      public String getXLabel()
    • setXLabel

      public void setXLabel(String label)
    • getYLabel

      public String getYLabel()
    • setYLabel

      public void setYLabel(String label)
    • setXAxisNumberFormat

      public void setXAxisNumberFormat(String format)
    • update

      public void update(Observable o, Object arg)
      Specified by:
      update in interface Observer
    • setStatsWindowPos

      public void setStatsWindowPos(int statsWindowPos)
    • repaint

      public void repaint()
    • getSouthAxis

      public PamAxis getSouthAxis()
    • getWestAxis

      public PamAxis getWestAxis()
    • isShowStats

      public boolean isShowStats()
    • setShowStats

      public void setShowStats(boolean showStats)
    • getGraphicsOverLayer

      public HistogramGraphicsLayer getGraphicsOverLayer()
    • setGraphicsOverLayer

      public void setGraphicsOverLayer(HistogramGraphicsLayer graphicsOverLayer)
    • getGraphicsUnderLayer

      public HistogramGraphicsLayer getGraphicsUnderLayer()
    • setGraphicsUnderLayer

      public void setGraphicsUnderLayer(HistogramGraphicsLayer graphicsUnderLayer)
    • getHistoPlotPanel

      public HistogramDisplay.HistoPlotPanel getHistoPlotPanel()
      Returns:
      the histoPlotPanel
    • getSelectedStats

      public int getSelectedStats()
      Returns:
      the selectedStats
    • setSelectedStats

      public void setSelectedStats(int selectedStats)
      Parameters:
      selectedStats - the selectedStats to set