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

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
           
 
Constructor Summary
JASHist1DHistogramStyle()
           
 
Method Summary
protected  void changeNotify()
           
 java.awt.Color getDataPointColor()
           
 int getDataPointSize()
           
 int getDataPointStyle()
           
 java.awt.Color getErrorBarColor()
           
 java.awt.Color getHistogramBarColor()
           
 boolean getHistogramFill()
           
 java.awt.Color getLineColor()
           
 boolean getShowDataPoints()
           
 boolean getShowErrorBars()
           
 boolean getShowHistogramBars()
           
 boolean getShowLinesBetweenPoints()
           
 void setDataPointColor(java.awt.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(java.awt.Color nNewValue)
           
 void setHistogramBarColor(java.awt.Color nNewValue)
           
 void setHistogramFill(boolean bNewValue)
           
 void setLineColor(java.awt.Color nNewValue)
           
 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, setCustomOverlay, 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

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

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