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 voidApplies the current style to the axis.protected voidApplies the current style to a category axis.protected voidstyleCategoryRenderer3D(CategoryRenderer3D renderer) Applies the current style to a category renderer.protected voidstyleChart(Chart3D chart) Applies the current style to a chart.protected voidstyleMarker(Marker marker) Applies the current style to a marker.protected voidApplies the current style to the plot.protected voidstyleRenderer(Renderer3D renderer) Applies the current style to the renderer.protected voidstyleValueAxis(ValueAxis3D axis) Applies the current style to a value axis.protected voidstyleXYZRenderer(XYZRenderer renderer) Applies the current style to an XYZ renderer.voidvisit(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 (nullnot permitted).
-
-
Method Details
-
visit
Visits a chart element and applies the current style to that element.- Specified by:
visitin interfaceChartElementVisitor- Parameters:
element- the chart element (nevernull).
-
styleChart
Applies the current style to a chart.- Parameters:
chart- the chart (nullnot permitted).
-
stylePlot
Applies the current style to the plot.- Parameters:
plot- the plot (nullnot permitted).
-
styleAxis
Applies the current style to the axis.- Parameters:
axis- the axis (nullnot permitted).
-
styleCategoryAxis
Applies the current style to a category axis. This implementation does nothing, it is here for overriding.- Parameters:
axis- the axis (nullnot permitted).
-
styleValueAxis
Applies the current style to a value axis. This implementation does nothing, it is here for overriding.- Parameters:
axis- the axis (nullnot permitted).
-
styleRenderer
Applies the current style to the renderer.- Parameters:
renderer- the renderer (nullnot permitted).
-
styleCategoryRenderer3D
Applies the current style to a category renderer.- Parameters:
renderer- the renderer (nullnot permitted).
-
styleXYZRenderer
Applies the current style to an XYZ renderer.- Parameters:
renderer- the renderer (nullnot permitted).
-
styleMarker
Applies the current style to a marker.- Parameters:
marker- the marker (nullnot permitted).
-