Package org.jfree.chart.renderer.xy
Class StackedXYAreaRenderer.StackedXYAreaRendererState
java.lang.Object
org.jfree.chart.renderer.RendererState
org.jfree.chart.renderer.xy.XYItemRendererState
org.jfree.chart.renderer.xy.StackedXYAreaRenderer.StackedXYAreaRendererState
- Enclosing class:
StackedXYAreaRenderer
A state object for use by this renderer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stack
The points for the current series.private Stack
The points from the last series.private Line2D
The line.private Polygon
The area for the current series.Fields inherited from class org.jfree.chart.renderer.xy.XYItemRendererState
workingLine
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new state for the renderer. -
Method Summary
Modifier and TypeMethodDescriptionReturns the current series points.Returns the last series points.getLine()
Returns the working line.Returns the series area.void
setCurrentSeriesPoints
(Stack points) Sets the current series points.void
setLastSeriesPoints
(Stack points) Sets the last series points.void
setSeriesArea
(Polygon area) Sets the series area.Methods inherited from class org.jfree.chart.renderer.xy.XYItemRendererState
endSeriesPass, getFirstItemIndex, getLastItemIndex, getProcessVisibleItemsOnly, setProcessVisibleItemsOnly, startSeriesPass
Methods inherited from class org.jfree.chart.renderer.RendererState
getElementHinting, getEntityCollection, getInfo, setElementHinting
-
Field Details
-
seriesArea
The area for the current series. -
line
The line. -
lastSeriesPoints
The points from the last series. -
currentSeriesPoints
The points for the current series.
-
-
Constructor Details
-
StackedXYAreaRendererState
Creates a new state for the renderer.- Parameters:
info
- the plot rendering info.
-
-
Method Details
-
getSeriesArea
Returns the series area.- Returns:
- The series area.
-
setSeriesArea
Sets the series area.- Parameters:
area
- the area.
-
getLine
Returns the working line.- Returns:
- The working line.
-
getCurrentSeriesPoints
Returns the current series points.- Returns:
- The current series points.
-
setCurrentSeriesPoints
Sets the current series points.- Parameters:
points
- the points.
-
getLastSeriesPoints
Returns the last series points.- Returns:
- The last series points.
-
setLastSeriesPoints
Sets the last series points.- Parameters:
points
- the points.
-