⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imagedisplayer.java

📁 j2me写的google地图
💻 JAVA
字号:
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2008-6-16 11:25:15
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   ImageDisplayer.java

package com.eightmotions.util;

import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.ImageItem;

// Referenced classes of package com.eightmotions.util:
//            UtilMidp

public class ImageDisplayer extends ImageItem
    implements Runnable
{

    public ImageDisplayer(String name, String inUrl)
    {
        super(name, null, 3, "Loading...");
        init(inUrl);
    }

    public ImageDisplayer(String name, String inUrl, String documentBase)
    {
        super(name, null, 3, "Loading...");
        if(documentBase != null && inUrl != null && !inUrl.startsWith("http://"))
            inUrl = inUrl + documentBase;
        init(inUrl);
    }

    private void init(String inUrl)
    {
        if(inUrl != null)
        {
            theUrl = inUrl;
            Thread t = new Thread(this);
            t.start();
        }
    }

    public void run()
    {
        setImage(UtilMidp.loadImage(theUrl, null));
    }

    Image theImage;
    String theUrl;
}

⌨️ 快捷键说明

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