jas.hist
Class JASHist1DHistogramStyle
java.lang.Object
|
+--java.util.Observable
|
+--jas.hist.JASHistStyle
|
+--jas.hist.JASHist1DHistogramStyle
- All Implemented Interfaces:
- java.io.Serializable
- public class JASHist1DHistogramStyle
- extends JASHistStyle
- implements java.io.Serializable
Used to control the display style of 1D Histograms.
- See Also:
- Serialized Form
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYMBOL_DOT
public static final int SYMBOL_DOT
SYMBOL_BOX
public static final int SYMBOL_BOX
SYMBOL_TRIANGLE
public static final int SYMBOL_TRIANGLE
SYMBOL_DIAMOND
public static final int SYMBOL_DIAMOND
SYMBOL_STAR
public static final int SYMBOL_STAR
SYMBOL_VERT_LINE
public static final int SYMBOL_VERT_LINE
SYMBOL_HORIZ_LINE
public static final int SYMBOL_HORIZ_LINE
SYMBOL_CROSS
public static final int SYMBOL_CROSS
SYMBOL_CIRCLE
public static final int SYMBOL_CIRCLE
SYMBOL_SQUARE
public static final int SYMBOL_SQUARE
JASHist1DHistogramStyle
public JASHist1DHistogramStyle()
getShowHistogramBars
public boolean getShowHistogramBars()
setShowHistogramBars
public void setShowHistogramBars(boolean bNewValue)
getShowErrorBars
public boolean getShowErrorBars()
setShowErrorBars
public void setShowErrorBars(boolean bNewValue)
getShowDataPoints
public boolean getShowDataPoints()
setShowDataPoints
public void setShowDataPoints(boolean bNewValue)
- Controls whether markers are drawn at each data point.
- Parameters:
bNewValue
- true to show markers- See Also:
setDataPointStyle(int)
,
setDataPointSize(int)
getShowLinesBetweenPoints
public boolean getShowLinesBetweenPoints()
setShowLinesBetweenPoints
public void setShowLinesBetweenPoints(boolean bNewValue)
- Controls whether (straight) lines are drawn between data points
- Parameters:
bNewValue
- true to show lines
getDataPointStyle
public int getDataPointStyle()
setDataPointStyle
public void setDataPointStyle(int newValue)
- Set the style (shape) of the data points.
The legal values to pass in are:
- SYMBOL_DOT
- SYMBOL_BOX
- SYMBOL_TRIANGLE
- SYMBOL_DIAMOND
- SYMBOL_STAR
- SYMBOL_VERT_LINE
- SYMBOL_HORIZ_LINE
- SYMBOL_CROSS
- SYMBOL_CIRCLE
- SYMBOL_SQUARE
- Parameters:
newValue
- The data point style to use
getDataPointSize
public int getDataPointSize()
setDataPointSize
public void setDataPointSize(int newValue)
- Set the size of data points
- Parameters:
newValue
- The new size for data points (in pixels)
getDataPointColor
public java.awt.Color getDataPointColor()
setDataPointColor
public void setDataPointColor(java.awt.Color nNewValue)
getHistogramBarColor
public java.awt.Color getHistogramBarColor()
setHistogramBarColor
public void setHistogramBarColor(java.awt.Color nNewValue)
getLineColor
public java.awt.Color getLineColor()
setLineColor
public void setLineColor(java.awt.Color nNewValue)
getErrorBarColor
public java.awt.Color getErrorBarColor()
setErrorBarColor
public void setErrorBarColor(java.awt.Color nNewValue)
getHistogramFill
public boolean getHistogramFill()
setHistogramFill
public void setHistogramFill(boolean bNewValue)
changeNotify
protected void changeNotify()
- Overrides:
changeNotify
in class JASHistStyle