jas.hist
Class JASHist1DHistogramStyle
java.lang.Object
java.util.Observable
jas.hist.JASHistStyle
jas.hist.JASHist1DHistogramStyle
- All Implemented Interfaces:
- Serializable
public class JASHist1DHistogramStyle
- extends JASHistStyle
- implements Serializable
Used to control the display style of 1D Histograms.
- See Also:
- Serialized Form
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
- See Also:
- Constant Field Values
SYMBOL_BOX
public static final int SYMBOL_BOX
- See Also:
- Constant Field Values
SYMBOL_TRIANGLE
public static final int SYMBOL_TRIANGLE
- See Also:
- Constant Field Values
SYMBOL_DIAMOND
public static final int SYMBOL_DIAMOND
- See Also:
- Constant Field Values
SYMBOL_STAR
public static final int SYMBOL_STAR
- See Also:
- Constant Field Values
SYMBOL_VERT_LINE
public static final int SYMBOL_VERT_LINE
- See Also:
- Constant Field Values
SYMBOL_HORIZ_LINE
public static final int SYMBOL_HORIZ_LINE
- See Also:
- Constant Field Values
SYMBOL_CROSS
public static final int SYMBOL_CROSS
- See Also:
- Constant Field Values
SYMBOL_CIRCLE
public static final int SYMBOL_CIRCLE
- See Also:
- Constant Field Values
SYMBOL_SQUARE
public static final int SYMBOL_SQUARE
- See Also:
- Constant Field Values
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
getLinesBetweenPointsStyle
public int getLinesBetweenPointsStyle()
setLinesBetweenPointsStyle
public void setLinesBetweenPointsStyle(int style)
getLinesBetweenPointsWidth
public float getLinesBetweenPointsWidth()
setLinesBetweenPointsWidth
public void setLinesBetweenPointsWidth(float width)
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 Color getDataPointColor()
setDataPointColor
public void setDataPointColor(Color nNewValue)
getHistogramBarColor
public Color getHistogramBarColor()
setHistogramBarColor
public void setHistogramBarColor(Color nNewValue)
getHistogramBarLineColor
public Color getHistogramBarLineColor()
setHistogramBarLineColor
public void setHistogramBarLineColor(Color nNewValue)
getHistogramBarLineStyle
public int getHistogramBarLineStyle()
setHistogramBarLineStyle
public void setHistogramBarLineStyle(int style)
getHistogramBarLineWidth
public float getHistogramBarLineWidth()
setHistogramBarLineWidth
public void setHistogramBarLineWidth(float width)
getLineColor
public Color getLineColor()
setLineColor
public void setLineColor(Color nNewValue)
getErrorBarColor
public Color getErrorBarColor()
setErrorBarColor
public void setErrorBarColor(Color nNewValue)
getErrorBarStyle
public int getErrorBarStyle()
setErrorBarStyle
public void setErrorBarStyle(int style)
getErrorBarDecoration
public float getErrorBarDecoration()
setErrorBarDecoration
public void setErrorBarDecoration(float f)
getErrorBarWidth
public float getErrorBarWidth()
setErrorBarWidth
public void setErrorBarWidth(float width)
getHistogramFill
public boolean getHistogramFill()
setHistogramFill
public void setHistogramFill(boolean bNewValue)
changeNotify
protected void changeNotify()
- Overrides:
changeNotify
in class JASHistStyle
Copyright © 2000-2009 FreeHEP. All Rights Reserved.