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

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

?? drawingattributes.java

?? openmap java寫的開源數字地圖程序. 用applet實現,可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
// **********************************************************************// // <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/omGraphics/DrawingAttributes.java,v $// $RCSfile: DrawingAttributes.java,v $// $Revision: 1.17.2.6 $// $Date: 2005/08/09 21:17:45 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.omGraphics;/*  Java Core  */import java.awt.BasicStroke;import java.awt.Color;import java.awt.Component;import java.awt.GradientPaint;import java.awt.Graphics2D;import java.awt.GridBagConstraints;import java.awt.GridBagLayout;import java.awt.Image;import java.awt.Paint;import java.awt.Rectangle;import java.awt.Shape;import java.awt.Stroke;import java.awt.TexturePaint;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.awt.image.BufferedImage;import java.beans.PropertyChangeEvent;import java.beans.PropertyChangeListener;import java.beans.PropertyChangeSupport;import java.io.Serializable;import java.net.MalformedURLException;import java.net.URL;import java.util.NoSuchElementException;import java.util.Properties;import java.util.StringTokenizer;import javax.swing.BorderFactory;import javax.swing.ImageIcon;import javax.swing.JButton;import javax.swing.JLabel;import javax.swing.JMenu;import javax.swing.JPanel;import javax.swing.JPopupMenu;import javax.swing.JToggleButton;import javax.swing.JToolBar;import com.bbn.openmap.Environment;import com.bbn.openmap.I18n;import com.bbn.openmap.PropertyConsumer;import com.bbn.openmap.gui.GridBagToolBar;import com.bbn.openmap.image.BufferedImageHelper;import com.bbn.openmap.tools.icon.IconPartList;import com.bbn.openmap.tools.icon.OMIconFactory;import com.bbn.openmap.tools.icon.OpenMapAppPartCollection;import com.bbn.openmap.util.Debug;import com.bbn.openmap.util.PropUtils;/** * DrawingAttributes provides a mechanism for loading and managing * different drawing attributes that may be used. Several layers need * to be able to have Properties define how objects should be drawn, * and the list of these drawing attributes tend to be the same. The * DrawingAttributes class fishes out the applicable properties for * you, creates the objects needed, and then lets you get those * objects when needed. * <P> *  * The list of properties that the DrawingAttributes object can handle * are listed below. If a property is not set, the default value will * be used. *  * <pre> *  *   *    *     *     # The Edge or Line color *     lineColor=AARRGGBB (Hex ARGB Color, black is default) *     # The Fill color for 2D shapes *     fillColor=AARRGGBB (Hex ARGB Color, clean is default) *     # The Text Color for objects where any text should be different than the line color. *     textColor=AARRGGBB (Hex ARGB Color, black is default) *     # A highlight color to switch a graphic to when &quot;selected&quot;. *     selectColor=AARRGGBB (Hex ARGB Color, black is default) *     # A file or URL that can be used for a fill pattern, in place of the fill color. *     fillPattern=file://file (default is N/A) *     # The line width of the edge of the graphic *     lineWidth=int (1 is default) *     # A pattern to use for a dashed line, reflected as a *     # space-separated list of numbers, which are interpreted as on dash *     # length, off dash length, on dash length, etc.   *     dashPattern=10 5 3 5 (5 5 is the default if an error occurs reading the numbers, a non-dashed line is the default.)   *     The phase for the dash pattern, *     dashPhase=0.0f (0 is the default) *     # The scale to use for certain measurements, so that fill patterns *     # can be scaled depending on the map scale compaired to the *     # baseScale. *     baseScale=XXXXXX (where 1:XXXXXX is the scale to use.  N/A for the default). *     # Set whether any OMPoints that are given to the DrawingAttributes object are oval or rectangle. *     pointOval=false *     # Set the pixel radius of any OMPoint given to the DrawingAttributes object. *     pointRadius=2 *    *   *  *  */public class DrawingAttributes implements ActionListener, Serializable,        Cloneable, PropertyConsumer, PropertyChangeListener {    /**     * The name of the property that holds the line paint of the     * graphics.     */    public final static String linePaintProperty = "lineColor";    //     /**    //      * The name of the property that holds the text paint for Text,    //      * in case that should be different for labels, etc.    //      */    //     public final static String textPaintProperty = "textColor";    /**     * The name of the property that holds the fill paint of the     * graphics.     */    public final static String fillPaintProperty = "fillColor";    /**     * The name of the property that holds the select paint of the     * graphics, which is the line paint that gets set with the     * default OMGraphic.select() action.     */    public final static String selectPaintProperty = "selectColor";    /**     * The name of the property that holds the matting paint of the     * graphics, which is the wider line paint that gets set when     * matting is enabled.     */    public final static String mattingPaintProperty = "mattingColor";    /**     * The property that specifies an URL or file a image file to be     * used to construct the Paint object for a texture fill pattern.     * If the fillPattern is null, the fillPaint will be used.     */    public static final String fillPatternProperty = "fillPattern";    /**     * The name of the property that holds the lineWidth of the     * graphics.     */    public final static String lineWidthProperty = "lineWidth";    /**     * The name of the property that holds a dashed pattern for lines.     * This will be used to build the stroke object for lines. This     * pattern should be two space-separated numbers, the first     * representing the pixel length of the line in the dash, the     * second being the space pixel length of the dash.     */    public final static String dashPatternProperty = "dashPattern";    /**     * The name of the property that holds a dashed phase for lines.     * This will be used to build the stroke object for lines.     */    public final static String dashPhaseProperty = "dashPhase";    /**     * The base scale to use for the image provided for the fill     * pattern. As the scale of the map changes, the base scale can be     * used as a reference to change the resolution of the pattern.     * This scale will also be used for strokes.     */    public static final String baseScaleProperty = "baseScale";    /**     * Set whether a thin black matting should be drawing around the     * OMGraphic.     */    public static final String mattedProperty = "matted";    /** Property for whether OMPoints should be oval. "pointOval" */    public static final String PointOvalProperty = "pointOval";    /** Property for the pixel radius of OMPoints. "pointRadius" */    public static final String PointRadiusProperty = "pointRadius";    public final static int NONE = -1;    /** The default line paint. (black) */    public final static String defaultLinePaintString = "0"; // black    /** The default fill paint. (none) */    public final static String defaultFillPaintString = "-1"; // none    /** The default fill paint. (black) */    public final static String defaultSelectPaintString = "0"; // black    /** The default matting paint. (black) */    public final static String defaultMattingPaintString = "0"; // black    /** The default line width */    public final static float defaultLineWidth = 1f;    /** The default dash phase, which is zero. */    public final static float defaultDashPhase = 0f;    /** The defaule dash length, for opaque and transparent parts. */    public final static float defaultDashLength = 5f;    /** The paint to outline the shapes. */    protected Paint linePaint = Color.black;    //     /** The paint for text. Default to black. */    //     protected Paint textPaint = linePaint;    /** The select paint for the shapes. */    protected Paint selectPaint = Color.black;    /** The paint to fill the shapes. */    protected Paint fillPaint = OMColor.clear;    /** The paint to use for matting. */    protected Paint mattingPaint = OMColor.black;    /**     * A TexturePaint pattern, if defined. Overrules fillPaint if     * fillPaint is null or clear.     */    protected TexturePaint fillPattern = null;    /** The line stroke, for dashes, etc. */    protected transient Stroke stroke = new BasicStroke(1);    /**     * The base scale for scaling the fill pattern image. If NONE,     * then the resolution of the raw image will always be used.     */    protected float baseScale = NONE;    /**     * Whether a thin black matting line should be rendered around the     * OMGraphic.     */    protected boolean matted = false;    protected String propertyPrefix = null;    protected String fPattern = null; // for writing out the    // properties    /**     * The isOval setting to set on OMPoints.     */    protected boolean pointOval = OMPoint.DEFAULT_ISOVAL;    /**     * The pixel radius to set on OMPoints.     */    protected int pointRadius = OMPoint.DEFAULT_RADIUS;    /**     * A good ol' generic DrawingAttributes object for all to use.     * Black lines, clear fill paint.     */    public final static DrawingAttributes DEFAULT = new DrawingAttributes();    /**     * Support object to notify listeners when something has changed.     */    protected PropertyChangeSupport propertyChangeSupport = null;    /**     * For internationalization.     */    protected I18n i18n = Environment.getI18n();    /** Command for line color string adjustments. */    public final static String LineColorCommand = "LineColor";    /** Command for fill color string adjustments. */    public final static String FillColorCommand = "FillColor";    /** Command for select color string adjustments. */    public final static String SelectColorCommand = "SelectColor";    /** Command for matting color string adjustments. */    public final static String MattingColorCommand = "MattingColor";    /** Command for adding matting. */    public final static String MattedCommand = "MattedCommand";    private JButton lineColorButton;    private JButton fillColorButton;    private JButton selectColorButton;    private JButton mattingColorButton;    private JToggleButton mattedCheckBox;    protected final static int icon_width = 20;    protected final static int icon_height = 20;    public static boolean alwaysSetTextToBlack = false;    protected transient BasicStrokeEditorMenu bse;    /**     * The JButton used to bring up the line menu.     */    protected JButton lineButton;    /**     * Any additional JMenu items that should be added to the line     * menu.     */    protected JMenu[] lineMenuAdditions = null;    /**     * Create a DrawingAttributes with the default settings - clear     * fill paint and pattern, sold black edge line of width 1.     */    public DrawingAttributes() {        setProperties(null, null);    }    /**     * Create the DrawingAttributes and call setProperties without a     * prefix for the properties. Call setProperties without a prefix     * for the properties.     *      * @param props the Properties to look in.     */    public DrawingAttributes(Properties props) {        setProperties(null, props);    }    /**     * Create the DrawingAttributes and call setProperties with a     * prefix for the properties.     *      * @param prefix the prefix marker to use for a property, like     *        prefix.propertyName. The period is added in this     *        function.     * @param props the Properties to look in.     */    public DrawingAttributes(String prefix, Properties props) {        setProperties(prefix, props);    }    /**     * Shallow clone.     */    public Object clone() {        try {            return super.clone();        } catch (CloneNotSupportedException e) {            return null;        }    }    public Stroke cloneBasicStroke() {        if (stroke instanceof BasicStroke) {            BasicStroke bs = (BasicStroke) stroke;            return new BasicStroke(bs.getLineWidth(), bs.getEndCap(), bs.getLineJoin(), bs.getMiterLimit(), bs.getDashArray(), bs.getDashPhase());        } else {            return new BasicStroke(1);        }    }    /**     * Shallow.     */    public void setTo(DrawingAttributes clone) {        clone.linePaint = linePaint;        //      clone.textPaint = textPaint;        clone.selectPaint = selectPaint;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
尤物在线观看一区| 天天影视色香欲综合网老头| 欧美日韩视频第一区| 国产精品亚洲专一区二区三区| 成人欧美一区二区三区视频网页 | 午夜视频在线观看一区二区| 久久精品一区二区三区不卡| 欧美人伦禁忌dvd放荡欲情| 成人黄色777网| 美女网站在线免费欧美精品| 一区二区三区日本| 国产精品无人区| 日韩精品一区二区三区中文精品| 91首页免费视频| 国产精品1区2区| 日本vs亚洲vs韩国一区三区二区| 亚洲视频一区二区在线| 久久先锋资源网| 91精品国产麻豆国产自产在线 | 成人精品gif动图一区| 波多野结衣一区二区三区| 午夜不卡av在线| 一区二区三区欧美在线观看| 一区精品在线播放| 国产精品丝袜一区| 国产亚洲欧美日韩在线一区| 精品91自产拍在线观看一区| 日韩一区二区三区电影在线观看| 欧美日韩1区2区| 在线观看免费一区| 91久久精品国产91性色tv | 高清不卡在线观看| 国内外精品视频| 国产麻豆视频精品| 国产麻豆成人传媒免费观看| 狠狠色综合色综合网络| 久久99精品久久久| 激情综合网av| 国产高清久久久久| 国产成人在线网站| 成人性生交大片免费看中文网站| 国产精品影视在线| 丁香婷婷综合网| 国产suv精品一区二区三区| 国产成人啪免费观看软件| 国产传媒日韩欧美成人| 国产91精品久久久久久久网曝门| 国产乱淫av一区二区三区| 粉嫩一区二区三区在线看 | 欧美成人精品高清在线播放| 欧美一区二区三区在线观看| 欧美一区二区视频在线观看2020 | 欧美激情一区二区三区不卡| 亚洲自拍偷拍欧美| 亚洲成av人在线观看| 天堂成人国产精品一区| 久久精品免费观看| 成人一区在线观看| 一本大道久久a久久精二百| 欧美三级在线播放| 日韩免费在线观看| 欧美激情综合网| 一级做a爱片久久| 视频一区视频二区中文| 国产主播一区二区| 99精品视频一区| 欧美日韩卡一卡二| 精品国产91九色蝌蚪| 国产精品入口麻豆九色| 亚洲美女免费视频| 乱一区二区av| 成人精品免费看| 欧美日韩精品一区二区天天拍小说| 91精品国产色综合久久不卡蜜臀| 精品国产1区二区| 亚洲欧美一区二区三区孕妇| 美腿丝袜亚洲色图| 99久久国产综合色|国产精品| 欧美日韩高清影院| 国产日韩欧美麻豆| 五月激情综合网| 成人福利视频在线| 日韩免费观看2025年上映的电影| 久久精品欧美一区二区三区麻豆| 一区二区三区日韩精品| 国内精品伊人久久久久影院对白| 91在线精品一区二区| 日韩一区二区三区观看| 亚洲欧洲一区二区三区| 精品一区二区三区视频| 91精品1区2区| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 欧美a级理论片| 91尤物视频在线观看| 欧美一级在线视频| 亚洲乱码国产乱码精品精98午夜| 精品在线观看视频| 欧美日韩一区二区三区四区五区| 国产区在线观看成人精品| 亚洲国产精品久久不卡毛片| 丁香桃色午夜亚洲一区二区三区| 欧美性猛交xxxx黑人交| 国产精品网站在线观看| 激情综合色综合久久| 欧美日韩免费在线视频| 日韩美女视频19| 国产91色综合久久免费分享| 日韩欧美一级二级三级久久久| 亚洲美女免费在线| 成人激情黄色小说| 国产欧美一区二区三区网站| 精品制服美女久久| 欧美一三区三区四区免费在线看| 一区二区三区在线观看欧美| gogogo免费视频观看亚洲一| 欧美精品一区二区三区在线| 日日夜夜一区二区| 欧美日韩国产一区二区三区地区| 亚洲视频中文字幕| 北条麻妃一区二区三区| 国产无一区二区| 国产在线国偷精品免费看| 精品日韩av一区二区| 日本成人在线网站| 91精品国产乱| 日本视频一区二区| 欧美一区二区福利在线| 日韩成人午夜电影| 日韩一卡二卡三卡国产欧美| 日韩av中文字幕一区二区| 欧美日韩国产一级二级| 日韩在线观看一区二区| 欧美群妇大交群中文字幕| 亚洲福利视频一区| 欧美日韩一区二区电影| 国产精品一区二区果冻传媒| 国产午夜亚洲精品午夜鲁丝片 | 高清国产一区二区三区| 国产欧美日韩视频一区二区| 国产成人av资源| 中文字幕二三区不卡| 99精品视频一区| 一区二区三区欧美激情| 7777精品伊人久久久大香线蕉| 婷婷综合在线观看| 日韩三级中文字幕| 激情综合网天天干| 国产精品天美传媒| 91亚洲午夜精品久久久久久| 夜夜揉揉日日人人青青一国产精品| 欧美性欧美巨大黑白大战| 午夜精品久久久久久久蜜桃app| 在线不卡a资源高清| 久久国产夜色精品鲁鲁99| 久久尤物电影视频在线观看| 国产sm精品调教视频网站| 国产精品国产三级国产普通话三级 | 国产精品国产三级国产aⅴ原创| 不卡av在线网| 亚洲6080在线| 久久综合久色欧美综合狠狠| 成人午夜电影久久影院| 一区二区高清免费观看影视大全 | 日韩黄色片在线观看| 精品国产3级a| 94色蜜桃网一区二区三区| 亚洲一区二区三区四区五区黄 | 欧美va亚洲va| av中文字幕亚洲| 亚洲成a人在线观看| 精品播放一区二区| 色综合婷婷久久| 丝袜诱惑制服诱惑色一区在线观看| 欧美三级视频在线播放| 麻豆精品久久精品色综合| 国产精品你懂的| 91精品国产美女浴室洗澡无遮挡| 国产乱人伦偷精品视频不卡| 一区二区激情视频| 久久久av毛片精品| 欧美日韩另类国产亚洲欧美一级| 国产乱码精品一区二区三区av | 国内精品伊人久久久久av影院 | 另类小说欧美激情| 亚洲视频一区二区在线| 欧美一级生活片| 99精品欧美一区| 国产自产v一区二区三区c| 亚洲精品成人a在线观看| 国产亚洲成年网址在线观看| 欧美日韩国产一区二区三区地区| 国产成a人亚洲| 全国精品久久少妇| 一区二区三区在线免费| 欧美国产欧美综合| 欧美va亚洲va在线观看蝴蝶网| 欧美午夜影院一区| av不卡在线观看| 国产精品综合在线视频| 免费在线观看一区二区三区|