java.lang.Object | |
↳ | org.jfree.chart.StandardChartTheme |
A default implementation of the ChartTheme
interface. This
implementation just collects a whole bunch of chart attributes and mimics
the manual process of applying each attribute to the right sub-object
within the JFreeChart instance. It's not elegant code, but it works.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new default instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Applies this theme to the supplied chart.
| |||||||||||
Returns a clone of this theme.
| |||||||||||
Creates and returns a theme called "Darkness".
| |||||||||||
Creates and returns the default 'JFree' chart theme.
| |||||||||||
Creates and returns a
ChartTheme that doesn't apply any changes
to the JFreeChart defaults. | |||||||||||
Tests this theme for equality with an arbitrary object.
| |||||||||||
Returns the axis label paint.
| |||||||||||
Returns the axis offsets.
| |||||||||||
Returns the bar painter.
| |||||||||||
Returns the baseline paint.
| |||||||||||
Returns the chart background paint.
| |||||||||||
Returns the crosshair paint.
| |||||||||||
Returns the domain grid line paint.
| |||||||||||
Returns a clone of the drawing supplier for this theme.
| |||||||||||
Returns the error indicator paint.
| |||||||||||
Returns the largest font for this theme.
| |||||||||||
Returns the grid band alternate paint (used for a
SymbolAxis ). | |||||||||||
Returns the grid band paint.
| |||||||||||
Returns the item label paint.
| |||||||||||
Returns the label link paint for pie charts.
| |||||||||||
Returns the label link style for pie charts.
| |||||||||||
Returns the large font for this theme.
| |||||||||||
Returns the legend background paint.
| |||||||||||
Returns the legend item paint.
| |||||||||||
Returns the name of this theme.
| |||||||||||
Returns the plot background paint.
| |||||||||||
Returns the plot outline paint.
| |||||||||||
Returns the range grid line paint.
| |||||||||||
Returns the regular font.
| |||||||||||
Returns the shadow paint.
| |||||||||||
Returns the small font.
| |||||||||||
Returns the subtitle paint.
| |||||||||||
Returns the thermometer paint.
| |||||||||||
Returns the tick label paint.
| |||||||||||
Returns the title paint.
| |||||||||||
Returns the wall paint for charts with a 3D effect.
| |||||||||||
Returns the XY bar painter.
| |||||||||||
Returns the shadow visibility flag.
| |||||||||||
Sets the axis label paint.
| |||||||||||
Sets the axis offset.
| |||||||||||
Sets the bar painter.
| |||||||||||
Sets the baseline paint.
| |||||||||||
Sets the chart background paint.
| |||||||||||
Sets the crosshair paint.
| |||||||||||
Sets the domain grid line paint.
| |||||||||||
Sets the drawing supplier for this theme.
| |||||||||||
Sets the error indicator paint.
| |||||||||||
Sets the largest font for this theme.
| |||||||||||
Sets the grid band alternate paint (used for a
SymbolAxis ). | |||||||||||
Sets the grid band paint.
| |||||||||||
Sets the item label paint.
| |||||||||||
Sets the label link paint for pie charts.
| |||||||||||
Sets the label link style for pie charts.
| |||||||||||
Sets the large font for this theme.
| |||||||||||
Sets the legend background paint.
| |||||||||||
Sets the legend item paint.
| |||||||||||
Sets the plot background paint.
| |||||||||||
Sets the plot outline paint.
| |||||||||||
Sets the range grid line paint.
| |||||||||||
Sets the regular font for this theme.
| |||||||||||
Sets the shadow paint.
| |||||||||||
Sets the shadow visibility flag.
| |||||||||||
Sets the small font for this theme.
| |||||||||||
Sets the subtitle paint.
| |||||||||||
Sets the thermometer paint.
| |||||||||||
Sets the tick label paint.
| |||||||||||
Sets the title paint.
| |||||||||||
Sets the wall paint for charts with a 3D effect.
| |||||||||||
Sets the XY bar painter.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Applies the attributes for this theme to an
AbstractRenderer . | |||||||||||
Applies the attributes of this theme to the specified block.
| |||||||||||
Applies the attributes of this theme to the specified container.
| |||||||||||
Applies the attributes for this theme to a
CategoryAxis . | |||||||||||
Applies the settings of this theme to the specified renderer.
| |||||||||||
Applies the attributes of this theme to a
CategoryPlot . | |||||||||||
Applies the attributes of this theme to a
FastScatterPlot . | |||||||||||
Applies the attributes of this theme to a
MeterPlot . | |||||||||||
Applies the attributes of this theme to a
MultiplePiePlot . | |||||||||||
Applies the attributes for this theme to a
PeriodAxis . | |||||||||||
Applies the attributes of this theme to a
PiePlot instance. | |||||||||||
Applies the attributes of this theme to a plot.
| |||||||||||
Applies the attributes of this theme to a
PolarPlot . | |||||||||||
Applies the attributes of this theme to a
SpiderWebPlot . | |||||||||||
Applies the attributes for this theme to a
SymbolAxis . | |||||||||||
Applies the attributes for this theme to a
ThermometerPlot . | |||||||||||
Applies the attributes of this theme to the specified title.
| |||||||||||
Applies the attributes for this theme to a
ValueAxis . | |||||||||||
Applies the settings of this theme to the specified annotation.
| |||||||||||
Applies the settings of this theme to the specified renderer.
| |||||||||||
Applies the attributes of this theme to a
XYPlot . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new default instance.
name | the name of the theme (null not permitted).
|
---|
Applies this theme to the supplied chart.
chart | the chart (null not permitted).
|
---|
Returns a clone of this theme.
CloneNotSupportedException | if the theme cannot be cloned. |
---|
Creates and returns a theme called "Darkness". In this theme, the charts have a black background.
Creates and returns the default 'JFree' chart theme.
Creates and returns a ChartTheme
that doesn't apply any changes
to the JFreeChart defaults. This produces the "legacy" look for
JFreeChart.
Tests this theme for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the axis label paint.
null
).Returns the axis offsets.
null
).Returns the chart background paint.
null
).Returns the domain grid line paint.
null).
Returns a clone of the drawing supplier for this theme.
Returns the error indicator paint.
null
).Returns the largest font for this theme.
Returns the grid band alternate paint (used for a SymbolAxis
).
null
).Returns the grid band paint.
null
).Returns the item label paint.
null
).Returns the label link paint for pie charts.
null
).Returns the label link style for pie charts.
null
).Returns the large font for this theme.
null
).Returns the legend background paint.
null
).Returns the legend item paint.
null
).Returns the plot background paint.
null
).Returns the plot outline paint.
null
).Returns the range grid line paint.
null
).Returns the subtitle paint.
null
).Returns the thermometer paint.
null
).Returns the tick label paint.
null
).Returns the wall paint for charts with a 3D effect.
null
).Returns the XY bar painter.
null
).Returns the shadow visibility flag.
Sets the axis label paint.
paint | the paint (null not permitted). |
---|
Sets the baseline paint.
paint | the paint (null not permitted). |
---|
Sets the chart background paint.
paint | the paint (null not permitted). |
---|
Sets the crosshair paint.
paint | the paint (null not permitted).
|
---|
Sets the domain grid line paint.
paint | the paint (null not permitted). |
---|
Sets the drawing supplier for this theme.
supplier | the supplier (null not permitted). |
---|
Sets the error indicator paint.
paint | the paint (null not permitted). |
---|
Sets the largest font for this theme.
font | the font (null not permitted). |
---|
Sets the grid band alternate paint (used for a SymbolAxis
).
paint | the paint (null not permitted). |
---|
Sets the grid band paint.
paint | the paint (null not permitted). |
---|
Sets the item label paint.
paint | the paint (null not permitted). |
---|
Sets the label link paint for pie charts.
paint | the paint (null not permitted). |
---|
Sets the label link style for pie charts.
style | the style (null not permitted). |
---|
Sets the large font for this theme.
font | the font (null not permitted). |
---|
Sets the legend background paint.
paint | the paint (null not permitted). |
---|
Sets the legend item paint.
paint | the paint (null not permitted). |
---|
Sets the plot background paint.
paint | the paint (null not permitted). |
---|
Sets the plot outline paint.
paint | the paint (null not permitted). |
---|
Sets the range grid line paint.
paint | the paint (null not permitted). |
---|
Sets the regular font for this theme.
font | the font (null not permitted). |
---|
Sets the small font for this theme.
font | the font (null not permitted). |
---|
Sets the subtitle paint.
paint | the paint (null not permitted). |
---|
Sets the thermometer paint.
paint | the paint (null not permitted). |
---|
Sets the tick label paint.
paint | the paint (null not permitted). |
---|
Sets the wall paint for charts with a 3D effect.
paint | the paint (null not permitted). |
---|
Sets the XY bar painter.
painter | the painter (null not permitted). |
---|
Applies the attributes for this theme to an AbstractRenderer
.
renderer | the renderer (null not permitted).
|
---|
Applies the attributes of this theme to the specified block.
b | the block. |
---|
Applies the attributes of this theme to the specified container.
bc | a block container (null not permitted).
|
---|
Applies the attributes for this theme to a CategoryAxis
.
axis | the axis (null not permitted).
|
---|
Applies the settings of this theme to the specified renderer.
renderer | the renderer (null not permitted).
|
---|
Applies the attributes of this theme to a CategoryPlot
.
plot | the plot (null not permitted).
|
---|
Applies the attributes of this theme to a FastScatterPlot
.
Applies the attributes of this theme to a MeterPlot
.
plot | the plot (null not permitted).
|
---|
Applies the attributes of this theme to a MultiplePiePlot
.
plot | the plot (null not permitted).
|
---|
Applies the attributes for this theme to a PeriodAxis
.
axis | the axis (null not permitted).
|
---|
Applies the attributes of this theme to a PiePlot
instance.
This method also clears any set values for the section paint, outline
etc, so that the theme's DrawingSupplier
will be used.
plot | the plot (null not permitted).
|
---|
Applies the attributes of this theme to a plot.
plot | the plot (null ).
|
---|
Applies the attributes of this theme to a PolarPlot
. This
method is called from the applyToPlot(Plot)
method.
plot | the plot (null not permitted).
|
---|
Applies the attributes of this theme to a SpiderWebPlot
.
plot | the plot (null not permitted).
|
---|
Applies the attributes for this theme to a SymbolAxis
.
axis | the axis (null not permitted).
|
---|
Applies the attributes for this theme to a ThermometerPlot
.
This method is called from the applyToPlot(Plot)
method.
plot | the plot. |
---|
Applies the attributes of this theme to the specified title.
title | the title. |
---|
Applies the attributes for this theme to a ValueAxis
.
axis | the axis (null not permitted).
|
---|
Applies the settings of this theme to the specified annotation.
annotation | the annotation. |
---|
Applies the settings of this theme to the specified renderer.
renderer | the renderer (null not permitted).
|
---|
Applies the attributes of this theme to a XYPlot
.
plot | the plot (null not permitted).
|
---|