FileDocCategorySizeDatePackage
CanvasUpdateListener.javaAPI DocphoneME MR2 API (J2ME)2127Wed May 02 18:00:36 BST 2007com.sun.perseus.model

CanvasUpdateListener

public interface CanvasUpdateListener

The CanvasUpdateListener should be implemented by classes which want to listen to updates done by the CanvasManager on a RenderGraphics. Typically, this is done so that an application can listen to updates done on an offscreen buffer so that offscreen can be redisplayed on screen.

version
$Id: CanvasUpdateListener.java,v 1.3 2006/04/21 06:36:35 st125089 Exp $

Fields Summary
Constructors Summary
Methods Summary
public voidinitialLoadComplete(java.lang.Exception e)
Called by the CanvasManager when the initial load is complete.

param
e if not null, it means that the initial load failed due to this exception.

public voidupdateComplete(java.lang.Object canvasManager)
Called by a CanvasManager whenever an update has been done on its associated RenderGraphics

param
canvasManager the CanvasManager which just completed an update.