亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? crew.java

?? openmap java寫的開源數字地圖程序. 用applet實現,可以像google map 那樣放大縮小地圖.
?? JAVA
字號:
// **********************************************************************// // <copyright>// //  BBN Technologies//  10 Moulton Street//  Cambridge, MA 02138//  (617) 873-8000// //  Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/examples/crew/Crew.java,v $// $RCSfile: Crew.java,v $// $Revision: 1.3.2.2 $// $Date: 2005/05/24 18:38:25 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.examples.crew;import java.awt.BorderLayout;import java.awt.event.WindowAdapter;import java.awt.event.WindowEvent;import java.io.InputStream;import java.util.Properties;import javax.swing.JFrame;import com.bbn.openmap.LatLonPoint;import com.bbn.openmap.Layer;import com.bbn.openmap.LayerHandler;import com.bbn.openmap.MapBean;import com.bbn.openmap.MapHandler;import com.bbn.openmap.MouseDelegator;import com.bbn.openmap.MultipleSoloMapComponentException;import com.bbn.openmap.event.SelectMouseMode;import com.bbn.openmap.gui.LayersPanel;import com.bbn.openmap.gui.OMToolSet;import com.bbn.openmap.gui.ToolPanel;import com.bbn.openmap.layer.shape.ShapeLayer;/** * A sample application incorporating the <code>MapBean</code>. * This program adds a MouseMode that passes events to the RouteLayer. * Move the mouse over the three lines, and click on them. */public class Crew extends JFrame {    /** The name of the resource file. */    public static String crewResources = "Crew.properties";    /**     * The properties acquired from the resource file.     *      * @see #crewResources     */    private Properties properties;    /**     * Create a default Crew instance. The instance will use the     * default properties.     */    public Crew() throws MultipleSoloMapComponentException {        this(new Properties());    }    /**     * Create a Crew instance with the given properties. The     * properties override the defaults.     *      * @param props The override properties     */    public Crew(Properties props) throws MultipleSoloMapComponentException {        // Initialize the parent class (JFrame)        super("Crew Example");        // Use a Border layout manager        getContentPane().setLayout(new BorderLayout());        // Call quit when the window's close box is clicked.        addWindowListener(new WindowAdapter() {            public void windowClosing(WindowEvent e) {                quit();            }        });        // Store the given properties for later use.        properties = props;        // Create the MapHandler, which allows all the components to        // find each other if they are added to it.        MapHandler mapHandler = new MapHandler();        // Create the MapBean.        MapBean map = new MapBean();        // Set the map's center property        map.setCenter(new LatLonPoint(43.0f, -95.0f));        // Add the MapBean to the MapHandler.        mapHandler.add(map);        // Add the map to the JFrame        getContentPane().add(map, BorderLayout.CENTER);        // Create a mouse delegator to handle mouse events on the map        mapHandler.add(new MouseDelegator());        // Create and add the MouseMode that the RouteLayer wants        // events from. The MouseDelegator asks all layers which        // MouseMode they listen to, and hooks them up. When that        // MouseMode is active, events flow to the top layer, then        // down to lower layers if the event is not consumed along the        // way.        mapHandler.add(new SelectMouseMode());        // Add a LayerHandler, which manages all layers, on or off.        mapHandler.add(new LayerHandler());        // Create and add a Political Background        Layer layer = createPoliticalLayer();        if (layer != null)            mapHandler.add(layer);        // Create and add a Route Layer. The LayerHandler will find        // it via the LayerHandler, and then the LayerHandler will add        // it to the map because layer.isVisible() == true;        layer = createRouteLayer();        if (layer != null) {            layer.setName("Routes");            mapHandler.add(layer);        }        // Add some navigation tools. The ToolPanel will find the        // OMToolSet (a Tool) in the MapHandler.        ToolPanel toolPanel = new ToolPanel();        mapHandler.add(toolPanel);        mapHandler.add(new OMToolSet());        // Add the ToolPanel to the JFrame.        getContentPane().add(toolPanel, BorderLayout.NORTH);        // Oh, for fun, lets add a GUI to control the layers. A        // button to launch it will get added to the ToolPanel.        mapHandler.add(new LayersPanel());        // You can add other components from the com.bbn.openmap.gui        // package...    }    /**     * Creates a political boundary map layer. Actually, this method     * instantiates a DCW Layer (Digital Chart of the World), and sets     * the layer's parameters so that it will render a political map.     * <p>     * Creation of the political layer is controlled by the     * <code><bold>     * showPolitical</bold></code> property. See the     * resource file crew.properties for more information.     *      * @return the political layer, or null if an error occurred     */    protected Layer createPoliticalLayer() {        Boolean showPolitical;        // You can add a showPolitical=false property to the        // Crew.properties file to make this layer not be added to the        // application.        showPolitical = new Boolean(properties.getProperty("showPolitical",                "true"));        if (!showPolitical.booleanValue()) {            return null;        }        ShapeLayer politicalLayer = new ShapeLayer();        politicalLayer.setProperties("political", properties);        return politicalLayer;    }    /**     * Creates a route layer to display great circle lines on the map.     *      * @return the route layer     * @see RouteLayer     */    protected Layer createRouteLayer() {        return new RouteLayer();    }    /**     * Exits the application.     */    protected void quit() {        System.exit(0);    }    /**     * Launches the application. Reads the resource file, instantiates     * a application, sizes it and displays it.     *      * @param args command line arguments -- ignored     */    public static void main(String[] args) {        Crew crew;        Properties crewProps = new Properties();        InputStream propsIn = Crew.class.getResourceAsStream(crewResources);        if (propsIn == null) {            System.err.println("Unable to locate resources: " + crewResources);            System.err.println("Using default resources.");        } else {            try {                crewProps.load(propsIn);            } catch (java.io.IOException e) {                System.err.println("Caught IOException loading resources: "                        + crewResources);                System.err.println("Using default resources.");            }        }        try {            crew = new Crew(crewProps);            crew.setSize(700, 500);            crew.pack();            crew.setVisible(true);        } catch (MultipleSoloMapComponentException msmce) {            // The MapHandler is only allowed to have one of certain            // items. These items implement the SoloMapComponent            // interface. The MapHandler can have a policy that            // determines what to do when duplicate instances of the            // same type of object are added - replace or ignore.            // In this example, this will never happen, since we are            // controlling that one MapBean, LayerHandler,            // MouseDelegator, etc is being added to the MapHandler.        }    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美婷婷六月丁香综合色| 亚洲主播在线观看| 午夜精品久久久久久久| 国产成人在线观看免费网站| 欧美精品一二三区| 亚洲欧洲av一区二区三区久久| 日本aⅴ精品一区二区三区 | 欧美巨大另类极品videosbest| 国产日产亚洲精品系列| 日本美女一区二区三区| 色婷婷av一区| 亚洲欧洲精品一区二区精品久久久 | 亚洲综合免费观看高清完整版| 国产乱码精品一区二区三区忘忧草| 国产婷婷精品av在线| 全国精品久久少妇| 在线观看一区不卡| 亚洲同性gay激情无套| 成人一级片网址| 精品国产sm最大网站免费看| 人人精品人人爱| 91精品国产色综合久久不卡蜜臀| 夜夜精品视频一区二区| 在线区一区二视频| 亚洲一区二区欧美| 欧美午夜一区二区| 亚洲综合999| 欧美色偷偷大香| 午夜精品免费在线| 欧美一区中文字幕| 免费观看日韩av| 欧美xxxx老人做受| 国产成人自拍网| 欧美国产一区二区在线观看| 国产69精品一区二区亚洲孕妇| 国产女人aaa级久久久级| 国产凹凸在线观看一区二区| 国产精品福利一区| 色激情天天射综合网| 亚洲网友自拍偷拍| 日韩午夜激情视频| 国产精品一二三区| ...av二区三区久久精品| 99久久精品免费看国产免费软件| 亚洲欧美一区二区三区极速播放 | 日韩欧美一级精品久久| 蜜臀久久99精品久久久画质超高清| 日韩精品一区二区三区蜜臀| 看电视剧不卡顿的网站| 久久精品亚洲国产奇米99| 丁香婷婷深情五月亚洲| 91激情五月电影| 亚洲美女视频在线| 欧美日韩大陆一区二区| 免费在线观看不卡| 欧美激情一二三区| 欧美在线制服丝袜| 男男成人高潮片免费网站| 久久精品亚洲精品国产欧美kt∨| k8久久久一区二区三区| 亚洲一区二区三区自拍| 日韩女优毛片在线| 91丨porny丨蝌蚪视频| 亚洲aaa精品| 欧美激情自拍偷拍| 在线播放中文字幕一区| 国产成人免费视频网站| 午夜日韩在线观看| 欧美国产激情二区三区| 欧美高清hd18日本| 成人免费视频播放| 97精品视频在线观看自产线路二| 午夜久久电影网| 国产精品久久午夜夜伦鲁鲁| 666欧美在线视频| 99久久精品99国产精品| 美女脱光内衣内裤视频久久影院| 中文字幕亚洲精品在线观看| 日韩无一区二区| 色婷婷av一区二区三区软件| 国产精品乡下勾搭老头1| 亚洲成a人在线观看| 国产视频一区在线观看 | 99免费精品在线| 免费日韩伦理电影| 亚洲精品欧美二区三区中文字幕| 精品日韩99亚洲| 欧美日韩精品一区二区在线播放| aaa亚洲精品| 国产综合久久久久久鬼色| 亚洲午夜视频在线观看| 亚洲天堂精品视频| 日本一区二区视频在线观看| 精品免费日韩av| 制服视频三区第一页精品| 色www精品视频在线观看| 成人app在线| 懂色中文一区二区在线播放| 激情伊人五月天久久综合| 日韩经典中文字幕一区| 亚洲免费在线视频| 亚洲日本一区二区三区| 国产女主播视频一区二区| 久久人人97超碰com| 2020国产精品久久精品美国| 日韩免费高清av| 日韩欧美久久一区| 日韩一区二区三区视频在线观看| 欧美日韩国产高清一区二区三区| 欧美亚洲尤物久久| 欧美日韩国产精品成人| 欧美日韩高清一区二区三区| 欧美日本一区二区| 欧美精品久久久久久久多人混战 | 国产精品久久久久一区二区三区共| 日韩视频一区在线观看| 日韩欧美一级精品久久| 日韩免费高清电影| 久久综合九色综合97_久久久| 精品国产乱码久久久久久夜甘婷婷 | 日本vs亚洲vs韩国一区三区二区| 日韩国产欧美三级| 免费在线观看成人| 国产美女精品在线| 国产传媒欧美日韩成人| 成人av免费网站| 在线日韩av片| 91精品国产综合久久婷婷香蕉| 日韩亚洲欧美中文三级| 欧美精品一区二区三区在线播放 | 午夜精品久久久久久不卡8050| 亚洲h在线观看| 国产制服丝袜一区| 成人精品高清在线| 欧美午夜一区二区| 精品福利av导航| 国产精品大尺度| 天堂成人国产精品一区| 久久99精品国产麻豆不卡| 大胆欧美人体老妇| 色老综合老女人久久久| 91麻豆精品国产自产在线| 久久综合久久综合久久综合| 中文字幕中文字幕中文字幕亚洲无线 | 欧美日韩精品一区二区天天拍小说 | 不卡av在线免费观看| 欧美三级视频在线观看| 精品成人在线观看| 亚洲色图清纯唯美| 麻豆国产91在线播放| 91偷拍与自偷拍精品| 欧美一区二区三区视频在线观看| 中国色在线观看另类| 亚洲成a天堂v人片| 成人免费观看男女羞羞视频| 欧美日韩国产免费一区二区| 久久久精品免费网站| 亚洲一区免费观看| 国产福利视频一区二区三区| 欧美日免费三级在线| 国产日产精品1区| 免费成人av在线播放| 色狠狠综合天天综合综合| 精品国产亚洲一区二区三区在线观看| 亚洲精品ww久久久久久p站| 国产伦精品一区二区三区免费迷 | 久久理论电影网| 香蕉av福利精品导航| 成人精品高清在线| 精品国产不卡一区二区三区| 天天综合网天天综合色| 一本大道综合伊人精品热热| 精品久久久网站| 三级亚洲高清视频| 欧美在线一区二区| 亚洲同性gay激情无套| 国产iv一区二区三区| 欧美成人精品高清在线播放 | 日韩三区在线观看| 亚洲国产另类精品专区| 99re成人精品视频| 国产精品私房写真福利视频| 激情综合网最新| 日韩精品一区二区三区中文精品| 污片在线观看一区二区| 91网站最新地址| 亚洲女女做受ⅹxx高潮| eeuss鲁一区二区三区| 国产亚洲午夜高清国产拍精品| 极品销魂美女一区二区三区| 日韩久久久精品| 久草在线在线精品观看| 欧美成人精品3d动漫h| 麻豆精品视频在线| 欧美第一区第二区| 激情五月婷婷综合| 国产清纯美女被跳蛋高潮一区二区久久w| 激情五月播播久久久精品| 精品国产a毛片| 国产高清一区日本|