org.eclipse.birt.chart.device
Interface IUpdateNotifier

All Known Subinterfaces:
ICallBackNotifier
All Known Implementing Classes:
EmptyUpdateNotifier

public interface IUpdateNotifier

Defines methods that allow model updating via a device event handler used in conjunction with a device renderer.

See Also:
IDeviceRenderer

Method Summary
 java.lang.Object getContext(java.lang.Object key)
          Returns the object from context by given key.
 Chart getDesignTimeModel()
          Returns an instance of the chart design-time model
 Chart getRunTimeModel()
          Returns an instance of the chart run-time model for the last generated instance
 java.lang.Object peerInstance()
          Returns an instance of the peer (component) used for device-specific actions
 java.lang.Object putContext(java.lang.Object key, java.lang.Object value)
          Puts specified key,value to context.
 void regenerateChart()
          Requests the container to regenerate the chart using the design-time model
 java.lang.Object removeContext(java.lang.Object key)
          Removes the entry from context by given key if exists.
 void repaintChart()
          Requests the container to repaint the last generated chart
 

Method Detail

regenerateChart

public void regenerateChart()
Requests the container to regenerate the chart using the design-time model


repaintChart

public void repaintChart()
Requests the container to repaint the last generated chart


peerInstance

public java.lang.Object peerInstance()
Returns an instance of the peer (component) used for device-specific actions

Returns:
An instance of the peer (component) used for device-specific actions

getDesignTimeModel

public Chart getDesignTimeModel()
Returns an instance of the chart design-time model

Returns:
An instance of the chart design-time model

getRunTimeModel

public Chart getRunTimeModel()
Returns an instance of the chart run-time model for the last generated instance

Returns:
An instance of the chart run-time model for the last generated instance

getContext

public java.lang.Object getContext(java.lang.Object key)
Returns the object from context by given key.

Parameters:
key - Key object.
Returns:
Since:
2.1

putContext

public java.lang.Object putContext(java.lang.Object key,
                                   java.lang.Object value)
Puts specified key,value to context.

Parameters:
key - Key object.
value - Value object.
Returns:
The previous value associated with given key.
Since:
2.1

removeContext

public java.lang.Object removeContext(java.lang.Object key)
Removes the entry from context by given key if exists.

Parameters:
key - Key object.
Returns:
The previous value associated with given key
Since:
2.1


Copyright © 2005 Actuate Corp. All rights reserved.