Package org.eclipse.birt.chart.device
Class EmptyUpdateNotifier
java.lang.Object
org.eclipse.birt.chart.device.EmptyUpdateNotifier
- All Implemented Interfaces:
IUpdateNotifier
A convenient empty update notifier doing nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an instance of the chart design-time modelReturns an instance of the chart run-time model for the last generated instanceReturns an instance of the peer (component) used for device-specific actionsvoidRequests the container to regenerate the chart using the design-time model.voidRequests the container to repaint the last generated chart This should call IGenerator.render(), but not build() nor refresh().
-
Constructor Details
-
EmptyUpdateNotifier
The constructor.- Parameters:
designModel-runtimeModel-
-
-
Method Details
-
regenerateChart
public void regenerateChart()Description copied from interface:IUpdateNotifierRequests the container to regenerate the chart using the design-time model. It should call IGenerator.build() or refresh() and render()- Specified by:
regenerateChartin interfaceIUpdateNotifier
-
repaintChart
public void repaintChart()Description copied from interface:IUpdateNotifierRequests the container to repaint the last generated chart This should call IGenerator.render(), but not build() nor refresh().- Specified by:
repaintChartin interfaceIUpdateNotifier
-
peerInstance
Description copied from interface:IUpdateNotifierReturns an instance of the peer (component) used for device-specific actions- Specified by:
peerInstancein interfaceIUpdateNotifier- Returns:
- An instance of the peer (component) used for device-specific actions
-
getDesignTimeModel
Description copied from interface:IUpdateNotifierReturns an instance of the chart design-time model- Specified by:
getDesignTimeModelin interfaceIUpdateNotifier- Returns:
- An instance of the chart design-time model
-
getRunTimeModel
Description copied from interface:IUpdateNotifierReturns an instance of the chart run-time model for the last generated instance- Specified by:
getRunTimeModelin interfaceIUpdateNotifier- Returns:
- An instance of the chart run-time model for the last generated instance
-