Package org.eclipse.birt.chart.event
Class EventObjectCache
java.lang.Object
org.eclipse.birt.chart.event.EventObjectCache
- Direct Known Subclasses:
DeviceAdapter
An internal cache that provides reusable primitive (and block) rendering
event objects. A local cache is created per generation sequence so issues
with multithreaded access shouldn't arise.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <T extends ChartEvent>
TgetEventObject
(Object oSource, Class<T> cType) Creates or returns the requested event object from local cache.
-
Constructor Details
-
EventObjectCache
public EventObjectCache()The constructor.
-
-
Method Details
-
getEventObject
Creates or returns the requested event object from local cache.- Parameters:
oSource
-cType
-- Returns:
- An instance of the requested event object that encapsulates rendering attributes
-