public class HistogramDisplay
extends java.lang.Object
implements java.util.Observer
Modifier and Type | Class and Description |
---|---|
class |
HistogramDisplay.HistoPlotPanel |
Modifier and Type | Field and Description |
---|---|
int |
selectedStats |
static int |
STATS_MEAN |
static int |
STATS_N |
static int |
STATS_OVER |
static int |
STATS_SKEW |
static int |
STATS_STD |
static int |
STATS_UNDER |
Constructor and Description |
---|
HistogramDisplay() |
HistogramDisplay(PamHistogram pamHistogram) |
Modifier and Type | Method and Description |
---|---|
void |
addHistogram(PamHistogram pamHistogram) |
javax.swing.JComponent |
getGraphicComponent() |
HistogramGraphicsLayer |
getGraphicsOverLayer() |
HistogramGraphicsLayer |
getGraphicsUnderLayer() |
HistogramDisplay.HistoPlotPanel |
getHistoPlotPanel() |
int |
getSelectedStats() |
PamAxis |
getSouthAxis() |
PamAxis |
getWestAxis() |
java.lang.String |
getXLabel() |
java.lang.String |
getYLabel() |
boolean |
isShowStats() |
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(java.lang.String format) |
void |
setXLabel(java.lang.String label) |
void |
setYLabel(java.lang.String label) |
void |
update(java.util.Observable o,
java.lang.Object arg) |
public static final int STATS_N
public static final int STATS_MEAN
public static final int STATS_STD
public static final int STATS_SKEW
public static final int STATS_UNDER
public static final int STATS_OVER
public int selectedStats
public HistogramDisplay(PamHistogram pamHistogram)
public HistogramDisplay()
public void addHistogram(PamHistogram pamHistogram)
public void removeHistogram(PamHistogram pamHistogram)
public void removeAllHistograms(PamHistogram pamHistogram)
public javax.swing.JComponent getGraphicComponent()
public java.lang.String getXLabel()
public void setXLabel(java.lang.String label)
public java.lang.String getYLabel()
public void setYLabel(java.lang.String label)
public void setXAxisNumberFormat(java.lang.String format)
public void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
public void setStatsWindowPos(int statsWindowPos)
public void repaint()
public PamAxis getSouthAxis()
public PamAxis getWestAxis()
public boolean isShowStats()
public void setShowStats(boolean showStats)
public HistogramGraphicsLayer getGraphicsOverLayer()
public void setGraphicsOverLayer(HistogramGraphicsLayer graphicsOverLayer)
public HistogramGraphicsLayer getGraphicsUnderLayer()
public void setGraphicsUnderLayer(HistogramGraphicsLayer graphicsUnderLayer)
public HistogramDisplay.HistoPlotPanel getHistoPlotPanel()
public int getSelectedStats()
public void setSelectedStats(int selectedStats)
selectedStats
- the selectedStats to set