jas2.hist
Class JASHist1DHistogramStyle
- java.lang.Object
-
- java.util.Observable
-
- jas2.hist.JASHistStyle
-
- jas2.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
-
-
Field Summary
Fields Modifier and Type Field and Description static intSYMBOL_BOXstatic intSYMBOL_CIRCLEstatic intSYMBOL_CROSSstatic intSYMBOL_DIAMONDstatic intSYMBOL_DOTstatic intSYMBOL_HORIZ_LINEstatic intSYMBOL_SQUAREstatic intSYMBOL_STARstatic intSYMBOL_TRIANGLEstatic intSYMBOL_VERT_LINE-
Fields inherited from class jas2.hist.JASHistStyle
DASHED, DOTDASH, DOTTED, SOLID
-
-
Constructor Summary
Constructors Constructor and Description JASHist1DHistogramStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.ColorgetDataPointColor()intgetDataPointSize()intgetDataPointStyle()java.awt.ColorgetErrorBarColor()floatgetErrorBarDecoration()intgetErrorBarStyle()floatgetErrorBarWidth()java.awt.ColorgetHistogramBarColor()java.awt.ColorgetHistogramBarLineColor()intgetHistogramBarLineStyle()floatgetHistogramBarLineWidth()booleangetHistogramFill()java.awt.ColorgetLineColor()intgetLinesBetweenPointsStyle()floatgetLinesBetweenPointsWidth()booleangetShowDataPoints()booleangetShowErrorBars()booleangetShowHistogramBars()booleangetShowLinesBetweenPoints()voidsetDataPointColor(java.awt.Color nNewValue)voidsetDataPointSize(int newValue)Set the size of data pointsvoidsetDataPointStyle(int newValue)Set the style (shape) of the data points.voidsetErrorBarColor(java.awt.Color nNewValue)voidsetErrorBarDecoration(float f)voidsetErrorBarStyle(int style)voidsetErrorBarWidth(float width)voidsetHistogramBarColor(java.awt.Color nNewValue)voidsetHistogramBarLineColor(java.awt.Color nNewValue)voidsetHistogramBarLineStyle(int style)voidsetHistogramBarLineWidth(float width)voidsetHistogramFill(boolean bNewValue)voidsetLineColor(java.awt.Color nNewValue)voidsetLinesBetweenPointsStyle(int style)voidsetLinesBetweenPointsWidth(float width)voidsetShowDataPoints(boolean bNewValue)Controls whether markers are drawn at each data point.voidsetShowErrorBars(boolean bNewValue)voidsetShowHistogramBars(boolean bNewValue)voidsetShowLinesBetweenPoints(boolean bNewValue)Controls whether (straight) lines are drawn between data points-
Methods inherited from class jas2.hist.JASHistStyle
endBatch, getCustomOverlay, getTimeZone, setCustomOverlay, setTimeZone, startBatch
-
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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 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)
-
getHistogramBarLineColor
public java.awt.Color getHistogramBarLineColor()
-
setHistogramBarLineColor
public void setHistogramBarLineColor(java.awt.Color nNewValue)
-
getHistogramBarLineStyle
public int getHistogramBarLineStyle()
-
setHistogramBarLineStyle
public void setHistogramBarLineStyle(int style)
-
getHistogramBarLineWidth
public float getHistogramBarLineWidth()
-
setHistogramBarLineWidth
public void setHistogramBarLineWidth(float width)
-
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)
-
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)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG