Package org.jCharts.properties
Class AreaProperties
- java.lang.Object
-
- org.jCharts.properties.Properties
-
- org.jCharts.properties.AreaProperties
-
- All Implemented Interfaces:
java.io.Serializable,HTMLTestable
- Direct Known Subclasses:
ChartProperties,LegendAreaProperties
public class AreaProperties extends Properties implements HTMLTestable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private ChartStrokeborderStrokeprivate floatedgePadding-
Fields inherited from class org.jCharts.properties.Properties
DEFAULT_BACKGROUND_PAINT
-
-
Constructor Summary
Constructors Constructor Description AreaProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChartStrokegetBorderStroke()Returns the border StrokefloatgetEdgePadding()Returns the number of pixels to pad the edges of the imagevoidsetBorderStroke(ChartStroke chartStroke)Sets the border Stroke.voidsetEdgePadding(float edgePadding)Sets the number of pixels to pad the edges of the imagevoidtoHTML(HTMLGenerator htmlGenerator)Enables the testing routines to display the contents of this Object.-
Methods inherited from class org.jCharts.properties.Properties
getBackgroundPaint, setBackgroundPaint
-
-
-
-
Field Detail
-
edgePadding
private float edgePadding
-
borderStroke
private ChartStroke borderStroke
-
-
Method Detail
-
getEdgePadding
public float getEdgePadding()
Returns the number of pixels to pad the edges of the image- Returns:
- float
-
setEdgePadding
public void setEdgePadding(float edgePadding)
Sets the number of pixels to pad the edges of the image- Parameters:
edgePadding-
-
setBorderStroke
public void setBorderStroke(ChartStroke chartStroke)
Sets the border Stroke. If NULL is passed, there will be no border.- Parameters:
chartStroke-
-
getBorderStroke
public ChartStroke getBorderStroke()
Returns the border Stroke- Returns:
- ChartStroke
-
toHTML
public void toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object.- Specified by:
toHTMLin interfaceHTMLTestable- Overrides:
toHTMLin classProperties- Parameters:
htmlGenerator-
-
-