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

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

?? graticulelayer.java

?? openmap java寫的開源數字地圖程序. 用applet實現,可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
// **********************************************************************//// <copyright>//// BBN Technologies, a Verizon Company// 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/layer/GraticuleLayer.java,v $// $RCSfile: GraticuleLayer.java,v $// $Revision: 1.7.2.6 $// $Date: 2005/08/09 18:10:43 $// $Author: dietrick $//// **********************************************************************// Modified 28 September 2002 by David N. Allsopp to allow font size// to be changed. See sections commented with 'DNA'.package com.bbn.openmap.layer;import java.awt.Color;import java.awt.Font;import java.awt.GridLayout;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.util.Properties;import javax.swing.Box;import javax.swing.JButton;import javax.swing.JCheckBox;import javax.swing.JPanel;import com.bbn.openmap.Environment;import com.bbn.openmap.I18n;import com.bbn.openmap.LatLonPoint;import com.bbn.openmap.MoreMath;import com.bbn.openmap.event.ProjectionEvent;import com.bbn.openmap.omGraphics.OMGraphic;import com.bbn.openmap.omGraphics.OMGraphicList;import com.bbn.openmap.omGraphics.OMPoly;import com.bbn.openmap.omGraphics.OMText;import com.bbn.openmap.proj.Cylindrical;import com.bbn.openmap.proj.Projection;import com.bbn.openmap.util.Debug;import com.bbn.openmap.util.PaletteHelper;import com.bbn.openmap.util.PropUtils;/** * Layer that draws graticule lines. If the showRuler property is set * to true, then longitude values are displayed on the bottom of the * map, and latitude values are displayed on the left side. If the * show1And5Lines property is true, then 5 degree lines are drawn when * there are &lt;= threshold ten degree latitude or longitude lines, * and 1 degree lines are drawn when there are &lt;= threshold five * degree latitude or longitude degree lines. *  * <P> * The openmap.properties file can control the layer with the * following settings: <code><pre> *  *   *   # Show lat / lon spacing labels *   graticule.showRuler=true *   graticule.show1And5Lines=true *   # Controls when the five degree lines and one degree lines kick in *   #- when there is less than the threshold of ten degree lat or lon *   #lines, five degree lines are drawn. The same relationship is there *   #for one to five degree lines. *   graticule.threshold=2 *   # the color of 10 degree spacing lines (Hex ARGB) *   graticule.10DegreeColor=FF000000 *   # the color of 5 degree spacing lines (Hex ARGB) *   graticule.5DegreeColor=C7009900 *   # the color of 1 degree spacing lines (Hex ARGB) *   graticule.1DegreeColor=C7003300 *   # the color of the equator (Hex ARGB) *   graticule.equatorColor=FFFF0000 *   # the color of the international dateline (Hex ARGB) *   graticule.datelineColor=7F000099 *   # the color of the special lines (Hex ARGB) *   graticule.specialLineColor=FF000000 *   # the color of the labels (Hex ARGB) *   graticule.textColor=FF000000 *    *   * </pre></code> In addition, you can get this layer to work with the * OpenMap viewer by editing your openmap.properties file: <code><pre> *  *   *   # layers *   openmap.layers=graticule ... *   # class *   graticule.class=com.bbn.openmap.layer.GraticuleLayer *   # name *   graticule.prettyName=Graticule *    *   * </pre></code> *   */public class GraticuleLayer extends OMGraphicHandlerLayer implements        ActionListener {    protected I18n i18n = Environment.getI18n();    // default to not showing the ruler (mimicing older    // GraticuleLayer)    protected boolean defaultShowRuler = true;    protected boolean defaultShowOneAndFiveLines = true;    protected boolean defaultShowBelowOneLines = false;    protected int defaultThreshold = 2;    /**     * Flag for lineType - true is LINETYPE_STRAIGHT, false is     * LINETYPE_GREATCIRCLE.     */    protected boolean boxy = true;    /**     * Threshold is the total number of ten lines on the screen before     * the five lines appear, and the total number of five lines on     * the screen before the one lines appear.     */    protected int threshold = defaultThreshold;    /** The ten degree latitude and longitude lines, premade. */    protected OMGraphicList tenDegreeLines = null;    /** The equator, dateline and meridian lines, premade. */    protected OMGraphicList markerLines = null;    private final static int SHOW_TENS = 0;    private final static int SHOW_FIVES = 1;    private final static int SHOW_ONES = 2;    protected boolean showOneAndFiveLines = defaultShowOneAndFiveLines;    protected boolean showBelowOneLines = defaultShowBelowOneLines;    protected boolean showRuler = defaultShowRuler;    // protected Font font = new Font("Helvetica",    // java.awt.Font.PLAIN, 10);    protected Font font = null;    protected int fontSize = 10;    // Color variables for different line types    protected Color tenDegreeColor = null;    protected Color fiveDegreeColor = null;    protected Color oneDegreeColor = null;    protected Color belowOneDegreeColor = null;    protected Color equatorColor = null;    protected Color dateLineColor = null;    protected Color specialLineColor = null; // Tropic of Cancer,    // Capricorn    protected Color textColor = null;    // Default colors to use, if not specified in the properties.    protected String defaultTenDegreeColorString = "000000";    protected String defaultFiveDegreeColorString = "33009900";    protected String defaultOneDegreeColorString = "33003300";    protected String defaultBelowOneDegreeColorString = "9900ff00";    protected String defaultEquatorColorString = "990000";    protected String defaultDateLineColorString = "000099";    protected String defaultSpecialLineColorString = "000000";    protected String defaultTextColorString = "000000";    // property text values    public static final String TenDegreeColorProperty = "10DegreeColor";    public static final String FiveDegreeColorProperty = "5DegreeColor";    public static final String OneDegreeColorProperty = "1DegreeColor";    public static final String BelowOneDegreeColorProperty = "Below1DegreeColor";    public static final String EquatorColorProperty = "equatorColor";    public static final String DateLineColorProperty = "datelineColor";    public static final String SpecialLineColorProperty = "specialLineColor";    public static final String TextColorProperty = "textColor";    public static final String ThresholdProperty = "threshold";    public static final String ShowRulerProperty = "showRuler";    public static final String ShowOneAndFiveProperty = "show1And5Lines";    public static final String ShowBelowOneProperty = "showBelow1Lines";    public static final String FontSizeProperty = "fontSize"; //DNA    /**     * Construct the GraticuleLayer.     */    public GraticuleLayer() {        // precalculate for boxy        boxy = true;        setName("Graticule");    }    /**     * The properties and prefix are managed and decoded here, for the     * standard uses of the GraticuleLayer.     *      * @param prefix string prefix used in the properties file for     *        this layer.     * @param properties the properties set in the properties file.     */    public void setProperties(String prefix, java.util.Properties properties) {        super.setProperties(prefix, properties);        prefix = PropUtils.getScopedPropertyPrefix(prefix);        tenDegreeColor = PropUtils.parseColorFromProperties(properties, prefix                + TenDegreeColorProperty, defaultTenDegreeColorString);        fiveDegreeColor = PropUtils.parseColorFromProperties(properties, prefix                + FiveDegreeColorProperty, defaultFiveDegreeColorString);        oneDegreeColor = PropUtils.parseColorFromProperties(properties, prefix                + OneDegreeColorProperty, defaultOneDegreeColorString);        belowOneDegreeColor = PropUtils.parseColorFromProperties(properties,                prefix + BelowOneDegreeColorProperty,                defaultBelowOneDegreeColorString);        equatorColor = PropUtils.parseColorFromProperties(properties, prefix                + EquatorColorProperty, defaultEquatorColorString);        dateLineColor = PropUtils.parseColorFromProperties(properties, prefix                + DateLineColorProperty, defaultDateLineColorString);        specialLineColor = PropUtils.parseColorFromProperties(properties,                prefix + SpecialLineColorProperty,                defaultSpecialLineColorString);        textColor = PropUtils.parseColorFromProperties(properties, prefix                + TextColorProperty, defaultTextColorString);        threshold = PropUtils.intFromProperties(properties, prefix                + ThresholdProperty, defaultThreshold);        fontSize = PropUtils.intFromProperties(properties, prefix                + FontSizeProperty, fontSize);        font = new Font("Helvetica", java.awt.Font.PLAIN, fontSize);        setShowOneAndFiveLines(PropUtils.booleanFromProperties(properties,                prefix + ShowOneAndFiveProperty,                defaultShowOneAndFiveLines));        setShowBelowOneLines(PropUtils.booleanFromProperties(properties, prefix                + ShowBelowOneProperty, defaultShowBelowOneLines));        setShowRuler(PropUtils.booleanFromProperties(properties, prefix                + ShowRulerProperty, defaultShowRuler));        // So they will get re-created.        tenDegreeLines = null;        markerLines = null;    }    protected JCheckBox showRulerButton = null;    protected JCheckBox show15Button = null;    protected JCheckBox showBelow1Button = null;    public void setShowOneAndFiveLines(boolean set) {        showOneAndFiveLines = set;        if (show15Button != null) {            show15Button.setSelected(set);        }    }    public void setShowBelowOneLines(boolean set) {        showBelowOneLines = set;        if (showBelow1Button != null) {            showBelow1Button.setSelected(set);        }    }    public boolean getShowOneAndFiveLines() {        return showOneAndFiveLines;    }    public boolean getShowBelowOneLines() {        return showBelowOneLines;    }    public void setShowRuler(boolean set) {        showRuler = set;        if (showRulerButton != null) {            showRulerButton.setSelected(set);        }    }    public boolean getShowRuler() {        return showRuler;    }    /**     * The properties and prefix are managed and decoded here, for the     * standard uses of the GraticuleLayer.     *      * @param properties the properties set in the properties file.     */    public Properties getProperties(Properties properties) {        properties = super.getProperties(properties);        String prefix = PropUtils.getScopedPropertyPrefix(this);        String colorString;        if (tenDegreeColor == null) {            colorString = defaultTenDegreeColorString;        } else {            colorString = Integer.toHexString(tenDegreeColor.getRGB());        }        properties.put(prefix + TenDegreeColorProperty, colorString);        if (fiveDegreeColor == null) {            colorString = defaultFiveDegreeColorString;        } else {            colorString = Integer.toHexString(fiveDegreeColor.getRGB());        }        properties.put(prefix + FiveDegreeColorProperty, colorString);        if (oneDegreeColor == null) {            colorString = defaultOneDegreeColorString;        } else {            colorString = Integer.toHexString(oneDegreeColor.getRGB());

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
自拍偷拍亚洲激情| 亚洲日本电影在线| 在线观看av一区| 国产一区二区精品久久| 亚洲一区中文日韩| 国产精品理论片| 亚洲精品在线三区| 91精品国产综合久久久蜜臀图片| 日本不卡在线视频| 一区二区在线观看av| 国产精品污网站| 久久影院午夜片一区| 在线播放欧美女士性生活| 91啦中文在线观看| 成人免费福利片| 国产91在线看| 99这里只有久久精品视频| 福利电影一区二区| 精彩视频一区二区三区| 美国十次了思思久久精品导航| 肉肉av福利一精品导航| 日韩精品一级中文字幕精品视频免费观看 | 日韩电影在线免费| 午夜电影一区二区三区| 午夜视频一区二区| 日本网站在线观看一区二区三区| 在线观看国产精品网站| 久88久久88久久久| 成人性生交大合| 97se亚洲国产综合自在线观| 91蜜桃网址入口| 欧美日韩一二区| 日韩一级片网址| 亚洲国产高清aⅴ视频| 一区二区三区四区在线播放| 亚洲国产精品麻豆| 国产一区二区调教| 国产精品资源在线看| 91亚洲精华国产精华精华液| 欧美精品1区2区| 日本一区二区不卡视频| 亚洲最大成人网4388xx| 激情伊人五月天久久综合| 91在线码无精品| 日韩一二在线观看| 亚洲精品v日韩精品| 久久精品av麻豆的观看方式| 91一区二区在线观看| 欧美电影免费观看高清完整版在| 精品免费一区二区三区| 一区二区三区四区国产精品| 日产国产欧美视频一区精品| 99视频一区二区| 精品久久99ma| 日韩精品久久理论片| 99久久久久免费精品国产| www国产成人| 日韩高清中文字幕一区| 91看片淫黄大片一级在线观看| 精品国产网站在线观看| 婷婷综合久久一区二区三区| 99久久精品久久久久久清纯| 26uuu亚洲| 国产电影一区二区三区| 日韩免费视频线观看| 免费成人性网站| 欧美高清视频一二三区| 亚洲一区欧美一区| 一本大道久久精品懂色aⅴ| 国产精品免费视频一区| 国产91露脸合集magnet| 中文字幕av在线一区二区三区| 国产精品99久久久久久似苏梦涵| 久久午夜色播影院免费高清 | 国产美女娇喘av呻吟久久| 日韩亚洲欧美成人一区| 看电影不卡的网站| 精品日韩在线一区| 国产成a人无v码亚洲福利| 久久久精品综合| 99久久国产综合精品女不卡| 亚洲影院久久精品| 毛片基地黄久久久久久天堂| 欧美色图12p| 免费不卡在线视频| xvideos.蜜桃一区二区| 成人综合婷婷国产精品久久免费| 中文字幕人成不卡一区| 欧美日韩色一区| 国产一区久久久| 亚洲三级在线免费观看| 91精品国产综合久久婷婷香蕉| 国产一级精品在线| ...中文天堂在线一区| 欧美性生活一区| 国产成人综合网| 午夜免费久久看| 国产精品全国免费观看高清 | 久久亚洲一区二区三区明星换脸 | 久久国产精品第一页| 中文字幕视频一区| 日韩欧美激情在线| 91丝袜高跟美女视频| 国产真实精品久久二三区| 依依成人精品视频| 中文久久乱码一区二区| 粉嫩av一区二区三区| 日韩国产成人精品| 一区二区三区四区高清精品免费观看 | 一区在线观看视频| 日韩欧美成人激情| 欧美精品123区| 欧美午夜不卡视频| 91久久精品一区二区三区| 成人av电影免费在线播放| 国产成人在线视频免费播放| 久久av老司机精品网站导航| 一区二区免费视频| 亚洲一区二区欧美日韩| 亚洲啪啪综合av一区二区三区| 国产精品欧美极品| 国产精品嫩草影院com| 欧美国产日韩精品免费观看| 久久久久久久综合| 久久奇米777| 中文字幕中文字幕在线一区| 中文字幕欧美一区| 艳妇臀荡乳欲伦亚洲一区| 一区二区三区欧美视频| 亚洲福利一区二区| 日韩精品午夜视频| 国产一区二区日韩精品| 成人激情小说网站| 91免费看片在线观看| 欧美日韩国产高清一区二区三区 | 国产白丝网站精品污在线入口| 精品一区二区三区视频| 国产美女久久久久| 成人亚洲一区二区一| 一本一本久久a久久精品综合麻豆| 91在线精品秘密一区二区| 欧美日韩国产系列| 久久久不卡网国产精品二区| 最近日韩中文字幕| 丝袜美腿亚洲一区二区图片| 国产美女精品在线| 在线视频一区二区三| 精品少妇一区二区三区在线播放 | 久久久久久久国产精品影院| 亚洲色图.com| 国产一级精品在线| 91精品国产一区二区| 亚洲人成小说网站色在线 | 午夜精品久久久久久不卡8050| 国产一区福利在线| 在线精品视频一区二区| 欧美一区二区三区婷婷月色| 亚洲综合在线第一页| 国产在线视频一区二区三区| 激情深爱一区二区| 欧美乱熟臀69xxxxxx| 17c精品麻豆一区二区免费| 国产精品久久久久7777按摩| 国产裸体歌舞团一区二区| 成人精品免费网站| 欧美日本视频在线| 亚洲天堂久久久久久久| 国产一区福利在线| 91麻豆精品国产91久久久使用方法| 亚洲天堂免费看| 精品一区二区三区视频在线观看| 欧美午夜精品理论片a级按摩| 亚洲免费观看高清| 欧美高清性hdvideosex| 亚洲天堂中文字幕| 波多野结衣精品在线| 一卡二卡三卡日韩欧美| 日本久久电影网| 亚洲一区二区三区四区在线免费观看 | 欧美三级视频在线播放| 亚洲欧美国产三级| 国产91在线观看| 国产日韩欧美制服另类| 成人黄色小视频在线观看| 久久婷婷色综合| 国产精品一级片| 欧美激情资源网| 91麻豆国产福利精品| 一区av在线播放| 91精品国产入口| 国产精品一区三区| 成人欧美一区二区三区白人| 欧美最猛性xxxxx直播| 日韩激情在线观看| 国产精品久久久久7777按摩 | 久久久久久久综合色一本| 国产夫妻精品视频| 亚洲精品中文在线| 久久久精品天堂| 欧美日精品一区视频|