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
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStockChartProperties(Stroke hiLowStroke, Stroke openStroke, int openPixelLength, Stroke closeStroke, int closePixelLength) -
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetClosePixelLength(int pixelLength) voidsetCloseStroke(Stroke stroke) voidsetHiLowStroke(Stroke stroke) voidsetOpenPixelLength(int pixelLength) voidsetOpenStroke(Stroke stroke) voidtoHTML(HTMLGenerator htmlGenerator) Enables the testing routines to display the contents of this Object.voidvalidate(IAxisPlotDataSet iAxisPlotDataSet) Validates the properties.Methods inherited from class org.jCharts.properties.AxisChartTypeProperties
addPostRenderEventListener, addPreRenderEventListener, firePostRender, firePreRender
-
Field Details
-
DEFAULT_STROKE
-
hiLowStroke
-
openStroke
-
openLength
private int openLength -
closeStroke
-
closeLength
private int closeLength
-
-
Constructor Details
-
Method Details
-
getHiLowStroke
- Returns:
- Stroke
-
setHiLowStroke
- Parameters:
stroke-
-
getOpenStroke
- Returns:
- Stroke
-
setOpenStroke
- Parameters:
stroke-
-
getOpenPixelLength
public int getOpenPixelLength()- Returns:
- int
-
setOpenPixelLength
public void setOpenPixelLength(int pixelLength) - Parameters:
pixelLength-
-
getCloseStroke
- Returns:
- Stroke
-
setCloseStroke
- Parameters:
stroke-
-
getClosePixelLength
public int getClosePixelLength()- Returns:
- int
-
setClosePixelLength
public void setClosePixelLength(int pixelLength) - Parameters:
pixelLength-
-
validate
Validates the properties.- Specified by:
validatein classAxisChartTypeProperties- Parameters:
iAxisPlotDataSet-- Throws:
PropertyException
-
toHTML
Enables the testing routines to display the contents of this Object.- Parameters:
htmlGenerator-
-