Package pamMaths
Class HistogramDisplay
java.lang.Object
pamMaths.HistogramDisplay
- All Implemented Interfaces:
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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionint
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHistogram
(PamHistogram pamHistogram) int
boolean
void
removeAllHistograms
(PamHistogram pamHistogram) void
removeHistogram
(PamHistogram pamHistogram) void
repaint()
void
setGraphicsOverLayer
(HistogramGraphicsLayer graphicsOverLayer) void
setGraphicsUnderLayer
(HistogramGraphicsLayer graphicsUnderLayer) void
setSelectedStats
(int selectedStats) void
setShowStats
(boolean showStats) void
setStatsWindowPos
(int statsWindowPos) void
setXAxisNumberFormat
(String format) void
void
void
update
(Observable o, Object arg)
-
Field Details
-
STATS_N
public static final int STATS_N- See Also:
-
STATS_MEAN
public static final int STATS_MEAN- See Also:
-
STATS_STD
public static final int STATS_STD- See Also:
-
STATS_SKEW
public static final int STATS_SKEW- See Also:
-
STATS_UNDER
public static final int STATS_UNDER- See Also:
-
STATS_OVER
public static final int STATS_OVER- See Also:
-
selectedStats
public int selectedStats
-
-
Constructor Details
-
HistogramDisplay
-
HistogramDisplay
public HistogramDisplay()
-
-
Method Details
-
addHistogram
-
removeHistogram
-
removeAllHistograms
-
getGraphicComponent
-
getXLabel
-
setXLabel
-
getYLabel
-
setYLabel
-
setXAxisNumberFormat
-
update
-
setStatsWindowPos
public void setStatsWindowPos(int statsWindowPos) -
repaint
public void repaint() -
getSouthAxis
-
getWestAxis
-
isShowStats
public boolean isShowStats() -
setShowStats
public void setShowStats(boolean showStats) -
getGraphicsOverLayer
-
setGraphicsOverLayer
-
getGraphicsUnderLayer
-
setGraphicsUnderLayer
-
getHistoPlotPanel
- Returns:
- the histoPlotPanel
-
getSelectedStats
public int getSelectedStats()- Returns:
- the selectedStats
-
setSelectedStats
public void setSelectedStats(int selectedStats) - Parameters:
selectedStats
- the selectedStats to set
-