javauis/m2g_qt/javasrc/com/nokia/microedition/m2g/M2GDOMChangeObserver.java
changeset 80 d6dafc5d983f
parent 56 abc41079b313
child 87 1627c337e51e
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
       
     1 /*
       
     2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 package com.nokia.microedition.m2g;
       
    20 
       
    21 /**
       
    22  * Anyone implementing this interface will receive notifications
       
    23  * about changes in DOM.
       
    24  * <br>
       
    25  * Subject              = M2GDocument
       
    26  * Observer/listener    = M2GSVGCanvas
       
    27  * <br>
       
    28  * M2GSVGCanvas from M2GSVGAnimator implements this in order to be notified
       
    29  * about changes in DOM, so that SVGImage updates
       
    30  * (via the API, e.g. setTrait(), insertBefore()) will be rendered
       
    31  * while Animator is in pause state.
       
    32  * <br>
       
    33  * M2GSVGElement informs M2GDocument about changes in DOM
       
    34  * (e.g. adding/removing nodes, changing traits),
       
    35  * and then M2GDocument informs M2GSVGCanvas.
       
    36  * <br>
       
    37  * @since S60 3.2
       
    38  */
       
    39 public interface M2GDOMChangeObserver
       
    40 {
       
    41     /**
       
    42      * Notifies about any change in DOM
       
    43      */
       
    44     public void notifyDOMChange();
       
    45 }