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

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

?? informationdelegator.java

?? openmap java寫的開源數字地圖程序. 用applet實現,可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
    /**     * Display a html String in a window.     */    public void displayBrowserContent(String content) {        MapHandler mh = (MapHandler) getBeanContext();        Frame frame = null;        if (mh != null) {            frame = (Frame) mh.get(java.awt.Frame.class);        }        com.bbn.openmap.gui.MiniBrowser.display(frame, "text/html", content);    }    /**     * Display a line of text in a info line.     */    public void displayInfoLine(String infoLine) {        displayInfoLine(infoLine, MAP_OBJECT_INFO_LINE);    }    /**     * Display a line of text in a designated info line.     */    public void displayInfoLine(String infoLine, int labelDesignator) {        if (infoLineHolder != null) {            setLabel((infoLine != null && infoLine.length() > 0) ? infoLine                    : fudgeString, labelDesignator);        }    }    /**     * Display a message in a pop-up window.     */    public void displayMessage(String title, String message) {        if (Environment.getBoolean(Environment.UseInternalFrames)) {            JOptionPane.showInternalMessageDialog(Environment.getInternalFrameDesktop(),                    message,                    title,                    JOptionPane.INFORMATION_MESSAGE);        } else {            JOptionPane.showMessageDialog(null,                    message,                    title,                    JOptionPane.INFORMATION_MESSAGE);        }    }    ///////////////////////////////////////////    //  InfoDisplayListener interface    /**     * Handle layer requests to have a URL displayed in a Browser.     *      * @param event InfoDisplayEvent     */    public void requestURL(InfoDisplayEvent event) {        displayURL(event.getInformation());    }    /**     * Handle layer requests to have a message displayed in a dialog     * window.     *      * @param event InfoDisplayEvent     */    public void requestMessage(InfoDisplayEvent event) {        Layer l = event.getLayer();        String layername = (l == null) ? null : l.getName();        displayMessage("Message from " + layername + " layer:",                event.getInformation());    }    /**     * Handle layer requests to have an information line displayed in     * an application status window.     *      * @param event InfoDisplayEvent     */    public void requestInfoLine(InfoDisplayEvent event) {        displayInfoLine(event.getInformation(), event.getPreferredLocation());    }    /**     * Handle layer requests that plain text or html text be displayed     * in a browser.     *      * @param event InfoDisplayEvent     */    public void requestBrowserContent(InfoDisplayEvent event) {        displayBrowserContent(event.getInformation());    }    /**     * If a tooltip is required over a spot on the map then a     * <code>MouseMapListener</code> should pass a MouseEvent to     * this method. The Swing ToolTipManager is used to achieve this.     * A call to this method should always be followed by a call to     * <code>hideToolTip</code>     *      * @param me A MouseEvent from a <code>MapMouseListener</code>     *        which indicates where the tooltip is to appear (unused)     * @param event an event containing the ToolTip to show     * @deprecated use requestShowToolTip(InfoDisplayEvent) instead.     */    public void requestShowToolTip(MouseEvent me, InfoDisplayEvent event) {        requestShowToolTip(event);    }    /**     * If a tooltip is required over a spot on the map then a     * <code>MouseMapListener</code> should pass a MouseEvent to     * this method. The Swing ToolTipManager is used to achieve this.     * A call to this method should always be followed by a call to     * <code>hideToolTip</code>     *      * @param event an event containing the ToolTip to show     */    public void requestShowToolTip(InfoDisplayEvent event) {        //shows a tooltip over the map        if (map != null) {            if (ttmanager == null) {                initToolTip();            }            map.setToolTipText(event.getInformation());        }    }    /**     * This method should follow a call to showToolTip in order to     * indicate that the tooltip should no longer be displayed. This     * method should always follow a call to <code>showToolTip</code?     *     * @param me A MouseEvent which passes from a MapMouseListener to     * indicate that a tooltip should disappear      * @deprecated call requestHideToolTip() instead.     */    public void requestHideToolTip(MouseEvent me) {        requestHideToolTip();    }    /**     * This method should follow a call to showToolTip in order to     * indicate that the tooltip should no longer be displayed. This     * method should always follow a call to <code>showToolTip</code?     */    public void requestHideToolTip() {        initToolTip();    }    /**     * This method should be called to intialize the tooltip status so     * that an old tooltip doesn't remain when a layer starts     * listening to mouse events.     */    public void initToolTip() {        if (ttmanager == null) {            //make sure the MapBean is registered first            ttmanager = ToolTipManager.sharedInstance();            ttmanager.registerComponent(map);            ttmanager.setEnabled(true);            return;        }        // If it already exists, clear out the current tip        if (map != null) {            map.setToolTipText(null);        }    }    /**     * Change the cursor for the MapBean. If the MapBean hasn't been     * set, then nothing will happen on the screen. If a null value is     * passed in, the cursor is reset to the MouseMode value. If the     * InformationDelegator is alowed to show the wait cursor, and the     * layers are busy, the wait cursor will take precidence. The     * requested cursor from a layer will be set if the layers finish.     *      * @param cursor java.awt.Cursor to change the cursor to.     */    public void requestCursor(java.awt.Cursor cursor) {        // This is interpreted as a release from a requester        if (cursor == null) {            // If we're not supposed to be showing the wait cursor...            if (showWaitCursor && !waitingForLayers)                resetCursor();            // Set this to null, so that when we're done waiting for            // the layers, we'll just reset.            currentMapBeanCursor = null;        } else if (this.map != null) {            Cursor newCursor;            // If we're supposed to be showing the watch, do it, but            // save the request for when the layers are done.            if (showWaitCursor && waitingForLayers) {                newCursor = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);                currentMapBeanCursor = cursor;            } else                newCursor = cursor;            map.setCursor(newCursor);        }    }    /**     * Set the cursor to use when the waiting is done, if a layer     * hasn't asked for one to be displayed. For the MouseMode     * changes, this is automatically called.     */    public void setResetCursor(java.awt.Cursor cursor) {        fallbackMapBeanCursor = cursor;    }    /**     * Sets the cursor over the mapbean to the assigned default, or     * whatever has been set by the MouseMode.     */    public void resetCursor() {        if (this.map != null)            map.setCursor(fallbackMapBeanCursor);    }    /**     * If the value passed in is true, the cursor over the MapBean     * will be the waiting cursor layers are off working. The status     * lights will work, too, no matter what the value is. If false,     * the cursor won't change if the layers are working.     */    public void setShowWaitCursor(boolean value) {        showWaitCursor = value;    }    /**     * Returns whether the wait cursor will be shown if the layers are     * working.     */    public boolean isShowWaitCursor() {        return showWaitCursor;    }    //////////// MapHandlerChild methods overridden from    // OMComponentPanel    /**     * Called when an object has been added to the BeanContext. The     * InformationDelegator will look for certain objects it needs.     */    public void findAndInit(Object someObj) {        if (someObj instanceof MapBean) {            setMap((MapBean) someObj);        }        if (someObj instanceof MouseDelegator) {            MouseDelegator md = (MouseDelegator) someObj;            md.addPropertyChangeListener(this);        }        statusBar.findAndInit(someObj);    }    /**     * Called when an object is being removed from the BeanContext.     * Will cause the object to be disconnected from the     * InformationDelegator if it is being used.     */    public void findAndUndo(Object someObj) {        if (someObj instanceof MapBean) {            setMap(null);        }        if (someObj instanceof MouseDelegator) {            MouseDelegator md = (MouseDelegator) someObj;            md.removePropertyChangeListener(this);        }        statusBar.findAndUndo(someObj);    }    /////// PropertyConsumer methods overridden from OMComponentPanel    public void setProperties(String prefix, Properties props) {        setPropertyPrefix(prefix);        prefix = PropUtils.getScopedPropertyPrefix(prefix);        statusBar.setProperties(prefix, props);        setShowLights(PropUtils.booleanFromProperties(props, prefix                + ShowLightsProperty, showLights));        setShowInfoLine(PropUtils.booleanFromProperties(props, prefix                + ShowInfoLineProperty, showInfoLine));        String pl = props.getProperty(prefix + PreferredLocationProperty);        if (pl != null) {            setPreferredLocation(pl);        }    }    public Properties getProperties(Properties props) {        if (props == null) {            props = new Properties();        }        statusBar.getProperties(props);        String prefix = PropUtils.getScopedPropertyPrefix(this);        props.put(prefix + ShowLightsProperty,                new Boolean(showLights).toString());        props.put(prefix + ShowInfoLineProperty,                new Boolean(showInfoLine).toString());        props.put(prefix + PreferredLocationProperty, getPreferredLocation());        return props;    }    public Properties getPropertyInfo(Properties props) {        if (props == null) {            props = new Properties();        }        statusBar.getPropertyInfo(props);        props.put(ShowLightsProperty, "Show the layer status lights");        props.put(ShowLightsProperty + ScopedEditorProperty,                "com.bbn.openmap.util.propertyEditor.YesNoPropertyEditor");        props.put(ShowInfoLineProperty,                "Show the information line below the map");        props.put(ShowInfoLineProperty + ScopedEditorProperty,                "com.bbn.openmap.util.propertyEditor.YesNoPropertyEditor");        props.put(PreferredLocationProperty,                "The preferred BorderLayout direction to place this component.");        return props;    }    /////// Setters and Getters    public void setInfoLineHolder(JLabel ilh) {        infoLineHolder = ilh;    }    public JLabel getInfoLineHolder() {        return infoLineHolder;    }    public void setProgressBar(JProgressBar progressBar) {        this.progressBar = progressBar;    }    public JProgressBar getProgressBar() {        return progressBar;    }    public void setShowLights(boolean set) {        showLights = set;        statusBar.setVisible(set);    }    public boolean getShowLights() {        return showLights;    }    public void setShowInfoLine(boolean set) {        showInfoLine = set;        infoLineHolder.setVisible(set);        infoLineHolder2.setVisible(set);    }    public boolean getShowInfoLine() {        return showInfoLine;    }    public void setLightTriggers(boolean set) {        statusBar.setLightTriggers(set);    }    public boolean getLightTriggers() {        return statusBar.getLightTriggers();    }    public void setFloatable(boolean value) {}    /**     * BorderLayout.SOUTH by default for this class.     */    protected String preferredLocation = java.awt.BorderLayout.SOUTH;    /**     * MapPanelChild method.     */    public void setPreferredLocation(String value) {        preferredLocation = value;    }    /**     * MapPanelChild method.     */    public String getPreferredLocation() {        return preferredLocation;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成av人片| 日本一区二区三区国色天香| 成人a级免费电影| 国产91综合网| 成人毛片老司机大片| 成人深夜福利app| 日韩午夜av电影| 久久女同互慰一区二区三区| 欧美国产精品v| 国产精品久久毛片av大全日韩| 一区在线播放视频| 亚洲精品成人在线| 日韩和欧美一区二区三区| 日韩成人免费在线| 精品一区二区综合| 丁香一区二区三区| 欧美大白屁股肥臀xxxxxx| 8v天堂国产在线一区二区| 日韩久久久精品| 亚洲成人动漫在线免费观看| 99久久99久久精品国产片果冻 | 欧美视频一区二区三区在线观看| 色综合天天综合网国产成人综合天| 91影视在线播放| 91精品国产综合久久小美女| 亚洲愉拍自拍另类高清精品| 精品在线你懂的| 日韩一级完整毛片| 青青草成人在线观看| 国产乱对白刺激视频不卡| 91麻豆福利精品推荐| 国产精品人妖ts系列视频| 亚洲成人激情av| 欧洲中文字幕精品| 久久蜜桃av一区二区天堂| 激情久久久久久久久久久久久久久久| 99这里只有久久精品视频| 欧美视频中文一区二区三区在线观看| 亚洲三级免费电影| 国内国产精品久久| 精品国产乱码久久久久久久久| 日韩美女啊v在线免费观看| 国产黄人亚洲片| 欧美二区乱c少妇| 国产精品久久久久久久浪潮网站| 国产福利一区二区三区视频| 久久综合色天天久久综合图片| 亚洲精品成a人| 日本高清不卡在线观看| 国产午夜精品一区二区三区四区| 亚洲一卡二卡三卡四卡五卡| 欧美三片在线视频观看| 国产精品美女久久久久高潮| 91影视在线播放| 亚洲狠狠爱一区二区三区| www.久久久久久久久| 亚洲欧美怡红院| 欧美三级电影在线观看| 热久久久久久久| 国产性做久久久久久| av不卡在线播放| 亚洲国产精品自拍| 精品国产一区二区亚洲人成毛片 | av不卡一区二区三区| 亚洲一区在线视频观看| 精品欧美久久久| a美女胸又www黄视频久久| 亚洲一区二区三区中文字幕在线| 日韩欧美国产精品| 成人一区二区三区在线观看| 一区二区在线观看免费视频播放| 在线综合亚洲欧美在线视频| 成人妖精视频yjsp地址| 亚洲午夜一区二区| 国产人久久人人人人爽| 欧美日韩在线播放一区| 国产精品中文有码| 亚洲国产另类精品专区| 日本一区二区三区电影| 欧美一级高清片| 91免费视频观看| 久久99精品久久久久久国产越南 | 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 日韩精品久久久久久| 国产女人水真多18毛片18精品视频| 91久久精品国产91性色tv| 国产最新精品免费| 亚洲成人午夜电影| 中文字幕在线观看不卡| 日韩一级二级三级精品视频| 99国内精品久久| 激情欧美一区二区| 香蕉加勒比综合久久| 中文字幕 久热精品 视频在线 | 成人福利视频网站| 麻豆极品一区二区三区| 久久蜜桃一区二区| 制服.丝袜.亚洲.中文.综合| 99久久久国产精品免费蜜臀| 国产精品一二三区在线| 三级不卡在线观看| 亚洲一区二区四区蜜桃| 亚洲日本一区二区| 国产精品女主播在线观看| 久久久影院官网| 91精品国产一区二区三区| 国产在线播精品第三| 最新日韩av在线| 国产日产欧美精品一区二区三区| 欧美xxxxx裸体时装秀| 欧美一区二区三区喷汁尤物| 欧美日韩在线精品一区二区三区激情| 99九九99九九九视频精品| 成人av网址在线观看| 国产69精品久久99不卡| 国产黄人亚洲片| 成人综合在线网站| 国产成人av电影在线| 国产成人综合在线播放| 国产成人精品在线看| 丁香一区二区三区| 丁香网亚洲国际| 99久久精品国产精品久久| av亚洲精华国产精华精| bt7086福利一区国产| 97久久精品人人做人人爽| 色综合久久99| 韩日av一区二区| 精品一区精品二区高清| 国产精品77777| 成人精品视频一区| 91蜜桃婷婷狠狠久久综合9色| 91丨porny丨国产入口| 欧洲色大大久久| 在线观看91精品国产麻豆| 欧美变态口味重另类| 中文字幕国产一区二区| 亚洲精品免费在线观看| 亚洲一二三四区| 日韩国产在线观看| 国产一区二区在线看| 北条麻妃一区二区三区| 色综合天天综合色综合av | 福利一区二区在线| av亚洲精华国产精华精| 欧美伊人久久久久久久久影院| 91精品国产入口| 精品国产精品一区二区夜夜嗨| 国产亚洲视频系列| 亚洲精品高清在线观看| 麻豆中文一区二区| 国产成人午夜高潮毛片| 在线视频一区二区免费| 日韩一区二区三区观看| 欧美国产日韩一二三区| 亚洲一级二级三级在线免费观看| 精品一区二区三区视频在线观看| 成人高清视频在线| 4438成人网| 自拍偷自拍亚洲精品播放| 日韩专区一卡二卡| 成人免费高清视频在线观看| 欧洲av一区二区嗯嗯嗯啊| 久久综合一区二区| 一区二区成人在线视频| 一个色综合av| 国内精品伊人久久久久av影院 | 欧美丰满嫩嫩电影| 国产精品久久久久久久岛一牛影视| 婷婷开心久久网| 日韩av一区二区三区四区| 粉嫩av一区二区三区粉嫩| 91精品国产综合久久精品app| 国产精品麻豆一区二区| 裸体健美xxxx欧美裸体表演| 性欧美疯狂xxxxbbbb| 99国产麻豆精品| 26uuu国产一区二区三区| 亚洲大片免费看| 91香蕉视频污| 中文字幕av一区 二区| 极品少妇xxxx精品少妇| 欧美剧情电影在线观看完整版免费励志电影 | 国产精品18久久久久久久久| 欧美丰满美乳xxx高潮www| 亚洲激情av在线| 成人午夜电影网站| 亚洲精品在线电影| 日韩国产高清影视| 欧洲精品一区二区| 亚洲三级在线免费观看| 成人网在线免费视频| 久久综合给合久久狠狠狠97色69| 日本vs亚洲vs韩国一区三区二区| 欧美少妇性性性| 亚洲国产精品综合小说图片区| 色94色欧美sute亚洲线路一久| 中文字幕一区二区不卡| 粉嫩av亚洲一区二区图片| 欧美激情一区不卡|