Package org.jfree.chart.event
Class RendererChangeEvent
java.lang.Object
java.util.EventObject
org.jfree.chart.event.ChartChangeEvent
org.jfree.chart.event.RendererChangeEvent
- All Implemented Interfaces:
Serializable
An event that can be forwarded to any
RendererChangeListener
to
signal a change to a renderer.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRendererChangeEvent
(Object renderer) Creates a new event.RendererChangeEvent
(Object renderer, boolean seriesVisibilityChanged) Creates a new event. -
Method Summary
Modifier and TypeMethodDescriptionReturns the renderer that generated the event.boolean
Returns the flag that indicates whether or not the event relates to a change in series visibility.Methods inherited from class org.jfree.chart.event.ChartChangeEvent
getChart, getType, setChart, setType
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
RendererChangeEvent
Creates a new event.- Parameters:
renderer
- the renderer that generated the event.
-
RendererChangeEvent
Creates a new event.- Parameters:
renderer
- the renderer that generated the event.seriesVisibilityChanged
- a flag that indicates whether or not the event relates to a change in the series visibility flags.
-
-
Method Details
-
getRenderer
Returns the renderer that generated the event.- Returns:
- The renderer that generated the event.
-
getSeriesVisibilityChanged
Returns the flag that indicates whether or not the event relates to a change in series visibility.- Returns:
- A boolean.
-