java.lang.Object
java.util.EventObject
org.jfree.chart3d.renderer.Renderer3DChangeEvent
- All Implemented Interfaces:
Serializable
An event containing information about a change to a
NOTE: This class is serializable, but the serialization format is subject to change in future releases and should not be relied upon for persisting instances of this class.
Renderer3D
.
Any object that implements the Renderer3DChangeListener
interface
can register with a renderer to receive change event notifications. By
default, the plot classes register with the renderer they manage in order
to monitor changes to the renderer.
NOTE: This class is serializable, but the serialization format is subject to change in future releases and should not be relied upon for persisting instances of this class.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionRenderer3DChangeEvent
(Object source, Renderer3D renderer, boolean requiresWorldUpdate) Creates a new change event.Renderer3DChangeEvent
(Renderer3D renderer, boolean requiresWorldUpdate) Creates a new change event. -
Method Summary
Modifier and TypeMethodDescriptionReturns the renderer that the event relates to.boolean
Returns the flag that indicates whether or not this change will require the 3D world to be updated.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
Renderer3DChangeEvent
Creates a new change event.- Parameters:
renderer
- the renderer that changed (null
not permitted).requiresWorldUpdate
- a flag indicating whether or not the change requires the 3D world to be updated.
-
Renderer3DChangeEvent
Creates a new change event.- Parameters:
source
- the source.renderer
- the renderer.requiresWorldUpdate
- a flag indicating whether or not the change requires the 3D world to be updated.
-
-
Method Details
-
getRenderer
Returns the renderer that the event relates to.- Returns:
- The renderer.
-
requiresWorldUpdate
Returns the flag that indicates whether or not this change will require the 3D world to be updated.- Returns:
- A boolean.
- Since:
- 1.2
-