bouncingballs.java

来自「FLASH SVG技术在手机上的实现」· Java 代码 · 共 30 行

JAVA
30
字号
/*
 *
 * Copyright © 2007 Sun Microsystems, Inc. All rights reserved.
 * Use is subject to license terms.
 */
package com.sun.perseus.demo.bouncingballs;

import com.sun.perseus.demo.PlaySVGImageDemo;


/**
 * Simple demo which plays an SVG animation, using the JSR 226
 * SVGAnimator class.
 */
public final class BouncingBalls extends PlaySVGImageDemo {
    /**
     * The image that holds the animated SVG content.
     */
    private static final String SVG_IMAGE = "/svg/BouncingBalls.svg";

    /**
     * The image that holds the splash screen image.
     */
    private static final String SPLASH_IMAGE = "/images/BouncingBallsHelp.png";

    public BouncingBalls() {
        super(SVG_IMAGE, SPLASH_IMAGE, true);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?