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

UpdateListener

public interface UpdateListener
An UpdateListener implementation is responsible for handling updates to a ModelNode tree and to take appropriate actions, like collecting dirty state, dirty area or triggering repaint events.
version
$Id: UpdateListener.java,v 1.3 2006/04/21 06:39:51 st125089 Exp $

Fields Summary
Constructors Summary
Methods Summary
public voidloadBegun(ModelNode node)
Invoked when the input node has started loading

param
node the ModelNode for which loading has started.

public voidloadComplete(ModelNode node)
Invoked when the input node has finished loading.

param
node the ModelNode for which loading is complete.

public voidloadStarting(DocumentNode documentNode, java.io.InputStream is)
Invoked when the document starts loading

param
documentNode the DocumentNode for which loading is starting
param
is the InputStream from which SVG content is loaded.

public voidloadingFailed(DocumentNode documentNode, java.lang.Exception error)
Invoked when a document error happened before finishing loading.

param
documentNode the DocumentNode for which loading has failed.
param
error the exception which describes the reason why loading failed.

public voidmodifiedNode(ModelNode node)
Invoked when a node modification completed

param
node the node which was modified

public voidmodifyingNode(ModelNode node)
Invoked when a node is about to be modified

param
node the node which is about to be modified

public voidmodifyingNodeRendering(ModelNode node)
Invoked when a node's rendering is about to be modified

param
node the node which is about to be modified

public voidnodeInserted(ModelNode node)
Invoked when a node has been inserted into the tree

param
node the newly inserted node

public voidtextInserted(ModelNode node)
Invoked when a string has been appended, during a load phase. This is only used when parsing a document and is used in support of progressive download, like the other loadXXX methods.

param
node the ModelNode on which text has been inserted.