java.lang.Object
org.jfree.chart3d.style.ChartStyler
- All Implemented Interfaces:
ChartElementVisitor
A
ChartElementVisitor
that applies a chart style to the elements
of a chart.- Since:
- 1.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Applies the current style to the axis.protected void
Applies the current style to a category axis.protected void
styleCategoryRenderer3D
(CategoryRenderer3D renderer) Applies the current style to a category renderer.protected void
styleChart
(Chart3D chart) Applies the current style to a chart.protected void
styleMarker
(Marker marker) Applies the current style to a marker.protected void
Applies the current style to the plot.protected void
styleRenderer
(Renderer3D renderer) Applies the current style to the renderer.protected void
styleValueAxis
(ValueAxis3D axis) Applies the current style to a value axis.protected void
styleXYZRenderer
(XYZRenderer renderer) Applies the current style to an XYZ renderer.void
visit
(ChartElement element) Visits a chart element and applies the current style to that element.
-
Constructor Details
-
ChartStyler
Creates a new instance.- Parameters:
style
- the style (null
not permitted).
-
-
Method Details
-
visit
Visits a chart element and applies the current style to that element.- Specified by:
visit
in interfaceChartElementVisitor
- Parameters:
element
- the chart element (nevernull
).
-
styleChart
Applies the current style to a chart.- Parameters:
chart
- the chart (null
not permitted).
-
stylePlot
Applies the current style to the plot.- Parameters:
plot
- the plot (null
not permitted).
-
styleAxis
Applies the current style to the axis.- Parameters:
axis
- the axis (null
not permitted).
-
styleCategoryAxis
Applies the current style to a category axis. This implementation does nothing, it is here for overriding.- Parameters:
axis
- the axis (null
not permitted).
-
styleValueAxis
Applies the current style to a value axis. This implementation does nothing, it is here for overriding.- Parameters:
axis
- the axis (null
not permitted).
-
styleRenderer
Applies the current style to the renderer.- Parameters:
renderer
- the renderer (null
not permitted).
-
styleCategoryRenderer3D
Applies the current style to a category renderer.- Parameters:
renderer
- the renderer (null
not permitted).
-
styleXYZRenderer
Applies the current style to an XYZ renderer.- Parameters:
renderer
- the renderer (null
not permitted).
-
styleMarker
Applies the current style to a marker.- Parameters:
marker
- the marker (null
not permitted).
-