jas.hist
Class JASHist1DHistogramStyle

java.lang.Object
  extended by java.util.Observable
      extended by jas.hist.JASHistStyle
          extended by 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

Field Summary
static int SYMBOL_BOX
           
static int SYMBOL_CIRCLE
           
static int SYMBOL_CROSS
           
static int SYMBOL_DIAMOND
           
static int SYMBOL_DOT
           
static int SYMBOL_HORIZ_LINE
           
static int SYMBOL_SQUARE
           
static int SYMBOL_STAR
           
static int SYMBOL_TRIANGLE
           
static int SYMBOL_VERT_LINE
           
 
Fields inherited from class jas.hist.JASHistStyle
DASHED, DOTDASH, DOTTED, SOLID, timeZone
 
Constructor Summary
JASHist1DHistogramStyle()
           
 
Method Summary
protected  void changeNotify()
           
 Color getDataPointColor()
           
 int getDataPointSize()
           
 int getDataPointStyle()
           
 Color getErrorBarColor()
           
 float getErrorBarDecoration()
           
 int getErrorBarStyle()
           
 float getErrorBarWidth()
           
 Color getHistogramBarColor()
           
 Color getHistogramBarLineColor()
           
 int getHistogramBarLineStyle()
           
 float getHistogramBarLineWidth()
           
 boolean getHistogramFill()
           
 Color getLineColor()
           
 int getLinesBetweenPointsStyle()
           
 float getLinesBetweenPointsWidth()
           
 boolean getShowDataPoints()
           
 boolean getShowErrorBars()
           
 boolean getShowHistogramBars()
           
 boolean getShowLinesBetweenPoints()
           
 void setDataPointColor(Color nNewValue)
           
 void setDataPointSize(int newValue)
          Set the size of data points
 void setDataPointStyle(int newValue)
          Set the style (shape) of the data points.
 void setErrorBarColor(Color nNewValue)
           
 void setErrorBarDecoration(float f)
           
 void setErrorBarStyle(int style)
           
 void setErrorBarWidth(float width)
           
 void setHistogramBarColor(Color nNewValue)
           
 void setHistogramBarLineColor(Color nNewValue)
           
 void setHistogramBarLineStyle(int style)
           
 void setHistogramBarLineWidth(float width)
           
 void setHistogramFill(boolean bNewValue)
           
 void setLineColor(Color nNewValue)
           
 void setLinesBetweenPointsStyle(int style)
           
 void setLinesBetweenPointsWidth(float width)
           
 void setShowDataPoints(boolean bNewValue)
          Controls whether markers are drawn at each data point.
 void setShowErrorBars(boolean bNewValue)
           
 void setShowHistogramBars(boolean bNewValue)
           
 void setShowLinesBetweenPoints(boolean bNewValue)
          Controls whether (straight) lines are drawn between data points
 
Methods inherited from class jas.hist.JASHistStyle
endBatch, getCustomOverlay, getTimeZone, setCustomOverlay, setTimeZone, startBatch
 
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
 

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
Constructor Detail

JASHist1DHistogramStyle

public JASHist1DHistogramStyle()
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:

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.