Package org.jCharts.properties
Class AreaProperties
java.lang.Object
org.jCharts.properties.Properties
org.jCharts.properties.AreaProperties
- All Implemented Interfaces:
Serializable
,HTMLTestable
- Direct Known Subclasses:
ChartProperties
,LegendAreaProperties
- See Also:
-
Field Summary
FieldsFields inherited from class org.jCharts.properties.Properties
DEFAULT_BACKGROUND_PAINT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the border Strokefloat
Returns the number of pixels to pad the edges of the imagevoid
setBorderStroke
(ChartStroke chartStroke) Sets the border Stroke.void
setEdgePadding
(float edgePadding) Sets the number of pixels to pad the edges of the imagevoid
toHTML
(HTMLGenerator htmlGenerator) Enables the testing routines to display the contents of this Object.Methods inherited from class org.jCharts.properties.Properties
getBackgroundPaint, setBackgroundPaint
-
Field Details
-
edgePadding
private float edgePadding -
borderStroke
-
-
Constructor Details
-
AreaProperties
public AreaProperties()
-
-
Method Details
-
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
Sets the border Stroke. If NULL is passed, there will be no border.- Parameters:
chartStroke
-
-
getBorderStroke
Returns the border Stroke- Returns:
- ChartStroke
-
toHTML
Enables the testing routines to display the contents of this Object.- Specified by:
toHTML
in interfaceHTMLTestable
- Overrides:
toHTML
in classProperties
- Parameters:
htmlGenerator
-
-