javauis/m2g_qt/javasrc/com/nokia/microedition/m2g/M2GSVGeSWTAnimator.java
changeset 87 1627c337e51e
parent 56 abc41079b313
equal deleted inserted replaced
80:d6dafc5d983f 87:1627c337e51e
     1 /*
     1 /*
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    29     //--------------------------------------------------
    29     //--------------------------------------------------
    30     private static final String ANIMATOR_CONTROL_BASE_CLASS =
    30     private static final String ANIMATOR_CONTROL_BASE_CLASS =
    31         "org.eclipse.swt.widgets.Canvas";
    31         "org.eclipse.swt.widgets.Canvas";
    32 
    32 
    33     // Exception text
    33     // Exception text
    34     /* Optimization: static finals changed to local variables
    34 
    35     private static final String COMPONENT_BASE_CLASS_NOT_SUPPORTED_ESTR =
       
    36     "The requested componentBaseClass is not supported by the implementation.";
       
    37     private static final String ILLEGAL_TIME_INCREMENT_ESTR =
       
    38     "The timeIncrement is less than or equal to zero.";
       
    39     private static final String ANIMATOR_PLAY_ESTR =
       
    40     "The animator is not currently in the stopped or paused state.";
       
    41     private static final String ANIMATOR_PAUSE_ESTR =
       
    42     "The animator is not in the playing  state.";
       
    43     private static final String ANIMATOR_STOP_ESTR =
       
    44     "The animator is not in the playing or paused state.";
       
    45     private static final String INVALID_RUNNABLE_ESTR =
       
    46     "The runnable is null.";
       
    47     private static final String ANIMATOR_IS_STOPPED_ESTR =
       
    48     "The animator is in the stopped state.";
       
    49     private static final String RUNNABLE_IS_NULL_ESTR =
       
    50     "The runnable is null.";
       
    51     private static final String ANIMATOR_INVOKE_ESTR =
       
    52     "The animator is in the stopped state.";
       
    53     */
       
    54 
    35 
    55     //--------------------------------------------------
    36     //--------------------------------------------------
    56     // VARIABLES
    37     // VARIABLES
    57     //--------------------------------------------------
    38     //--------------------------------------------------
    58     private SVGAnimatorControl iAnimatorControl;
    39     private SVGAnimatorControl iAnimatorControl;