Package org.jCharts.properties
Class StockChartProperties
- java.lang.Object
-
- org.jCharts.properties.ChartTypeProperties
-
- org.jCharts.properties.AxisChartTypeProperties
-
- org.jCharts.properties.StockChartProperties
-
- All Implemented Interfaces:
HTMLTestable
public final class StockChartProperties extends AxisChartTypeProperties
-
-
Field Summary
Fields Modifier and Type Field Description private int
closeLength
private java.awt.Stroke
closeStroke
static java.awt.Stroke
DEFAULT_STROKE
private java.awt.Stroke
hiLowStroke
private int
openLength
private java.awt.Stroke
openStroke
-
Constructor Summary
Constructors Constructor Description StockChartProperties()
StockChartProperties(java.awt.Stroke hiLowStroke, java.awt.Stroke openStroke, int openPixelLength, java.awt.Stroke closeStroke, int closePixelLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClosePixelLength()
java.awt.Stroke
getCloseStroke()
java.awt.Stroke
getHiLowStroke()
int
getOpenPixelLength()
java.awt.Stroke
getOpenStroke()
void
setClosePixelLength(int pixelLength)
void
setCloseStroke(java.awt.Stroke stroke)
void
setHiLowStroke(java.awt.Stroke stroke)
void
setOpenPixelLength(int pixelLength)
void
setOpenStroke(java.awt.Stroke stroke)
void
toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object.void
validate(IAxisPlotDataSet iAxisPlotDataSet)
Validates the properties.-
Methods inherited from class org.jCharts.properties.AxisChartTypeProperties
addPostRenderEventListener, addPreRenderEventListener, firePostRender, firePreRender
-
-
-
-
Constructor Detail
-
StockChartProperties
public StockChartProperties()
-
StockChartProperties
public StockChartProperties(java.awt.Stroke hiLowStroke, java.awt.Stroke openStroke, int openPixelLength, java.awt.Stroke closeStroke, int closePixelLength)
- Parameters:
hiLowStroke
-openStroke
-openPixelLength
-closeStroke
-closePixelLength
-
-
-
Method Detail
-
getHiLowStroke
public java.awt.Stroke getHiLowStroke()
- Returns:
- Stroke
-
setHiLowStroke
public void setHiLowStroke(java.awt.Stroke stroke)
- Parameters:
stroke
-
-
getOpenStroke
public java.awt.Stroke getOpenStroke()
- Returns:
- Stroke
-
setOpenStroke
public void setOpenStroke(java.awt.Stroke stroke)
- Parameters:
stroke
-
-
getOpenPixelLength
public int getOpenPixelLength()
- Returns:
- int
-
setOpenPixelLength
public void setOpenPixelLength(int pixelLength)
- Parameters:
pixelLength
-
-
getCloseStroke
public java.awt.Stroke getCloseStroke()
- Returns:
- Stroke
-
setCloseStroke
public void setCloseStroke(java.awt.Stroke stroke)
- Parameters:
stroke
-
-
getClosePixelLength
public int getClosePixelLength()
- Returns:
- int
-
setClosePixelLength
public void setClosePixelLength(int pixelLength)
- Parameters:
pixelLength
-
-
validate
public void validate(IAxisPlotDataSet iAxisPlotDataSet) throws PropertyException
Validates the properties.- Specified by:
validate
in classAxisChartTypeProperties
- Parameters:
iAxisPlotDataSet
-- Throws:
PropertyException
-
toHTML
public void toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object.- Parameters:
htmlGenerator
-
-
-