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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? vpfconfig.java

?? openmap java寫的開源數(shù)字地圖程序. 用applet實現(xiàn),可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
// **********************************************************************// // <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/layer/vpf/VPFConfig.java,v $// $RCSfile: VPFConfig.java,v $// $Revision: 1.7.2.4 $// $Date: 2005/08/09 21:17:53 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.layer.vpf;import java.awt.Component;import java.awt.Dimension;import java.awt.GridBagConstraints;import java.awt.GridBagLayout;import java.awt.Insets;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.awt.event.WindowAdapter;import java.awt.event.WindowEvent;import java.util.Enumeration;import java.util.HashSet;import java.util.Hashtable;import java.util.Iterator;import java.util.LinkedList;import java.util.Properties;import javax.swing.JButton;import javax.swing.JComponent;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JPanel;import javax.swing.JScrollPane;import javax.swing.JTextArea;import javax.swing.JTextField;import javax.swing.JTree;import javax.swing.event.TreeSelectionEvent;import javax.swing.event.TreeSelectionListener;import javax.swing.tree.DefaultMutableTreeNode;import javax.swing.tree.TreeSelectionModel;import com.bbn.openmap.Layer;import com.bbn.openmap.LayerHandler;import com.bbn.openmap.io.FormatException;import com.bbn.openmap.omGraphics.DrawingAttributes;import com.bbn.openmap.util.Debug;import com.bbn.openmap.util.PaletteHelper;import com.bbn.openmap.util.PropUtils;/** * A component that can look at the VPF configuration files at the top * level of the VPF directory structure, and provide an interface for * defining an OpenMap VPFLayer for chosen features. * <p> *  * If the VPFConfig is provided a LayerHandler, it will have a button * that will create a layer with selected features. If it doesn't have * a LayerHandler, it will provide a button to print out the * properties for a VPFLayer for the selected features. This class can * be run in stand-alone mode to create properties. */public class VPFConfig extends JPanel implements ActionListener {    //private static boolean DEBUG = false;    //Optionally play with line styles. Possible values are    //"Angled", "Horizontal", and "None" (the default).    private boolean playWithLineStyle = false;    private String lineStyle = "Angled";    protected boolean showAll = false;    protected boolean standAlone = false;    public final static String AddFeatureCmd = "AddFeatureCommand";    public final static String ClearFeaturesCmd = "ClearFeaturesCommand";    public final static String CreateLayerCmd = "CreateLayerCommand";    public final static String EMPTY_FEATURE_LIST = null;    DefaultMutableTreeNode currentFeature = null;    protected DrawingAttributes drawingAttributes = new DrawingAttributes();    protected boolean searchByFeature = true;    protected String paths = "";    protected HashSet layerCoverageTypes = new HashSet();    protected HashSet layerFeatureTypes = new HashSet();    public final static String AREA = "area";    public final static String TEXT = "text";    public final static String EDGE = "edge";    public final static String POINT = "point";    public final static String CPOINT = "cpoint";    public final static String EPOINT = "epoint";    public final static String COMPLEX = "complex";    public final static String UNKNOWN = "unknown";    protected Hashtable layerFeatures;    protected Properties layerProperties;    protected LayerHandler layerHandler;    protected LibraryBean libraryBean;    protected String layerName;    protected VPFLayer layer;    JButton addFeatureButton;    JButton clearFeaturesButton;    JButton createLayerButton;    JTextArea currentFeatureList;    JTextField nameField;    LinkedList featureList = new LinkedList();    public VPFConfig(String[] dataPaths, String layerName) {        this(dataPaths, null, layerName);    }    public VPFConfig(String[] dataPaths, LayerHandler layerHandler,            String layerName) {        this(dataPaths, layerHandler, layerName, false);    }    protected VPFConfig(String[] dataPaths, LayerHandler layerHandler,            String layerName, boolean standAlone) {        this.layerHandler = layerHandler;        this.standAlone = standAlone;        this.layerName = layerName;        if (dataPaths != null && dataPaths.length > 0) {            // Take the time to replace any \ with /, it matters if            // the properties get printed out for later.            // Permanently set them from \ to / for when they get            // passed to BinaryFile.            dataPaths[0] = dataPaths[0].replace('\\', '/');            StringBuffer buf = new StringBuffer(dataPaths[0]);            for (int i = 1; i < dataPaths.length; i++) {                buf.append(";");                // Permanently set them from \ to / for when they get                // passed to BinaryFile.                dataPaths[i] = dataPaths[i].replace('\\', '/');                buf.append(dataPaths[i]);            }            paths = buf.toString();        }        //Create the nodes.        DefaultMutableTreeNode top = new DefaultMutableTreeNode("VPF Data Libraries");        try {            createNodes(top, dataPaths);        } catch (FormatException fe) {            Debug.output("Caught FormatException reading data: "                    + fe.getMessage());            if (standAlone) {                System.exit(0);            }        }        init(top);    }    public VPFConfig(LibraryBean lb, LayerHandler layerHandler, String layerName) {        this.layerHandler = layerHandler;        this.layerName = layerName;        //Create the nodes.        DefaultMutableTreeNode top = new DefaultMutableTreeNode("VPF Data Libraries");        try {            createNodes(top, lb.getLibrarySelectionTable());        } catch (FormatException fe) {            Debug.output("Caught FormatException reading data: "                    + fe.getMessage());        }        init(top);    }    public VPFConfig(VPFLayer layer) {        if (layer != null && layer.lst != null) {            this.layer = layer;            this.layerName = layer.getName();            //Create the nodes.            DefaultMutableTreeNode top = new DefaultMutableTreeNode("VPF Data Libraries");            try {                createNodes(top, layer.lst);            } catch (FormatException fe) {                Debug.output("Caught FormatException reading data: "                        + fe.getMessage());            }            init(top);        }    }    public void init(DefaultMutableTreeNode top) {        layerFeatures = new Hashtable();        //Create a tree that allows one selection at a time.        final JTree tree = new JTree(top);        tree.getSelectionModel()                .setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);        tree.setVisibleRowCount(10);        //Listen for when the selection changes.        tree.addTreeSelectionListener(new TreeSelectionListener() {            public void valueChanged(TreeSelectionEvent e) {                DefaultMutableTreeNode node = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent();                if (node == null)                    return;                Object nodeInfo = node.getUserObject();                if (node.isLeaf() && nodeInfo instanceof FeatureInfo) {                    currentFeature = node;                    // enable addToLayer button here.                    addFeatureButton.setEnabled(true);                } else {                    // disable addToLayer button here.                    addFeatureButton.setEnabled(false);                }            }        });        if (playWithLineStyle) {            tree.putClientProperty("JTree.lineStyle", lineStyle);        }        //Create the scroll pane and add the tree to it.        GridBagLayout outergridbag = new GridBagLayout();        GridBagConstraints outerc = new GridBagConstraints();        JScrollPane treeView = new JScrollPane(tree);        setLayout(outergridbag);        outerc.fill = GridBagConstraints.BOTH;        outerc.anchor = GridBagConstraints.WEST;        outerc.insets = new Insets(10, 10, 10, 10);        outerc.gridx = GridBagConstraints.REMAINDER;        outerc.weighty = .75;        outerc.weightx = 1.0;        outergridbag.setConstraints(treeView, outerc);        add(treeView);        // Create the configuration pane        JPanel configPanel = new JPanel();        GridBagLayout gridbag = new GridBagLayout();        GridBagConstraints c = new GridBagConstraints();        configPanel.setLayout(gridbag);        c.gridheight = GridBagConstraints.REMAINDER;        Component da = drawingAttributes.getGUI();        gridbag.setConstraints(da, c);        configPanel.add(da);        c.gridx = 1;        c.gridheight = 1;        c.gridy = 0;        c.fill = GridBagConstraints.HORIZONTAL;        c.insets = new Insets(0, 5, 0, 5);        addFeatureButton = new JButton("Add Feature");        addFeatureButton.addActionListener(this);        addFeatureButton.setActionCommand(AddFeatureCmd);        gridbag.setConstraints(addFeatureButton, c);        configPanel.add(addFeatureButton);        addFeatureButton.setEnabled(false);        clearFeaturesButton = new JButton("Clear Features");        clearFeaturesButton.addActionListener(this);        clearFeaturesButton.setActionCommand(ClearFeaturesCmd);        c.gridy = GridBagConstraints.RELATIVE;        gridbag.setConstraints(clearFeaturesButton, c);        configPanel.add(clearFeaturesButton);        clearFeaturesButton.setEnabled(false);        if (layer != null) {            createLayerButton = new JButton("Set Features on Layer");        } else if (layerHandler != null) {            createLayerButton = new JButton("Create Layer");        } else {            createLayerButton = new JButton("Print Properties");        }        createLayerButton.addActionListener(this);        createLayerButton.setActionCommand(CreateLayerCmd);        gridbag.setConstraints(createLayerButton, c);        configPanel.add(createLayerButton);        createLayerButton.setEnabled(false);        JPanel currentFeatureListPanel = PaletteHelper.createVerticalPanel(" Current Features: ");        currentFeatureList = new JTextArea(EMPTY_FEATURE_LIST);        currentFeatureList.setEditable(false);        JScrollPane featureListScrollPane = new JScrollPane(currentFeatureList);        featureListScrollPane.setPreferredSize(new Dimension(150, 10));        currentFeatureListPanel.add(featureListScrollPane);        c.gridx = 2;        c.gridy = 0;        c.weightx = 1.0;        c.anchor = GridBagConstraints.NORTHWEST;        c.gridheight = GridBagConstraints.REMAINDER;        c.fill = GridBagConstraints.BOTH;        gridbag.setConstraints(currentFeatureListPanel, c);        configPanel.add(currentFeatureListPanel);        GridBagLayout gridbag2 = new GridBagLayout();        GridBagConstraints c2 = new GridBagConstraints();        JPanel namePanel = new JPanel();        namePanel.setLayout(gridbag2);        c2.weightx = 0;        c2.weighty = 0;        c2.anchor = GridBagConstraints.WEST;        JLabel nameLabel = new JLabel("Layer Name: ");        gridbag2.setConstraints(nameLabel, c2);        namePanel.add(nameLabel);        c2.fill = GridBagConstraints.HORIZONTAL;        c2.weightx = 1.0;        c2.weighty = 1.0;        nameField = new JTextField(layerName);        gridbag2.setConstraints(nameField, c2);        namePanel.add(nameField);        outerc.anchor = GridBagConstraints.WEST;        outerc.weighty = 0;        outergridbag.setConstraints(namePanel, outerc);        add(namePanel);        outerc.fill = GridBagConstraints.HORIZONTAL;        outerc.weighty = .25;        outerc.anchor = GridBagConstraints.CENTER;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
视频一区二区国产| 粉嫩高潮美女一区二区三区 | 色婷婷av久久久久久久| 91亚洲永久精品| 欧美精品一级二级| www日韩大片| 日本欧美韩国一区三区| 国产一区二区三区在线观看免费视频| 国产黄色精品视频| 色噜噜狠狠色综合中国| 国产精品免费丝袜| 亚洲综合视频网| 99精品视频中文字幕| 欧美成人a在线| 久久不见久久见免费视频1| 国产精品一区二区视频| 91久久人澡人人添人人爽欧美| 91精品在线观看入口| 中文字幕在线一区免费| 国产一区二区三区蝌蚪| 欧美一区二区三区公司| 丝袜脚交一区二区| 日韩欧美国产午夜精品| 一区二区久久久| 日本韩国精品在线| 亚洲欧洲精品一区二区三区| 国产91精品久久久久久久网曝门| 欧美一区二区视频在线观看2022| 欧美一区二区在线免费播放| 日韩毛片精品高清免费| 麻豆成人久久精品二区三区小说| 在线免费精品视频| 国产午夜精品久久| 成人国产精品免费观看动漫 | 日韩一区二区在线观看视频| 经典一区二区三区| 国产精品久久久久永久免费观看 | 久久er精品视频| 亚洲视频狠狠干| 日韩欧美一区中文| 精一区二区三区| 欧美一区二区三区四区高清| 一区二区三区在线观看网站| 欧美精品一区二区三区蜜臀| 看电影不卡的网站| 亚洲日本中文字幕区| 欧美吻胸吃奶大尺度电影| 国产精品福利在线播放| 波多野结衣在线一区| 欧美国产欧美综合| 91国产视频在线观看| 日韩精品电影一区亚洲| jlzzjlzz欧美大全| 久久超级碰视频| 久久久噜噜噜久久人人看| 91片黄在线观看| 久久99国产精品尤物| 亚洲成人av资源| 欧美日韩日日骚| 久久精品国产精品青草| 欧美精品一区二区不卡| 亚洲永久免费视频| 青青草国产成人99久久| av电影天堂一区二区在线观看| 国产精品一卡二| 欧美日韩精品三区| 日韩视频在线观看一区二区| 国产精品私人自拍| 日韩av中文字幕一区二区三区| 美日韩一级片在线观看| 国产91高潮流白浆在线麻豆| 欧美唯美清纯偷拍| 国产精品久久久久一区二区三区共| 国产精品理伦片| 精品一区二区三区在线观看| 97精品久久久午夜一区二区三区| 色综合av在线| 国产精品国模大尺度视频| 国产欧美日韩激情| 午夜精品久久久久久久99樱桃| 另类的小说在线视频另类成人小视频在线| 久久99精品久久久| 9人人澡人人爽人人精品| 欧美性受xxxx| 欧美亚洲国产一区二区三区va | 精品亚洲国产成人av制服丝袜| 美女视频黄免费的久久| 91麻豆swag| 亚洲欧美日韩一区| 麻豆91精品视频| 91一区二区在线| av成人动漫在线观看| 久久国产精品一区二区| 国产欧美日韩亚州综合| 国产乱码字幕精品高清av | 26uuu精品一区二区| 精品国产乱码久久久久久久| 日韩欧美三级在线| 日本va欧美va瓶| 91精品综合久久久久久| 国产无人区一区二区三区| 亚洲国产欧美日韩另类综合| 精品午夜久久福利影院| 91国偷自产一区二区使用方法| 亚洲精品在线观看视频| 亚洲精品菠萝久久久久久久| 日本一不卡视频| 欧美日韩国产在线播放网站| 亚洲一区二区三区自拍| 欧美视频日韩视频| 久久婷婷综合激情| 欧美人狂配大交3d怪物一区| 国产一区不卡精品| 亚洲电影一区二区| 亚洲一区欧美一区| 亚洲日穴在线视频| 久久久一区二区| 国产精品久久久久久久久动漫 | 国产成人亚洲综合a∨婷婷 | 一区二区免费在线播放| 久久久精品免费免费| 欧美精三区欧美精三区| 欧美一级理论性理论a| 在线观看国产日韩| 欧美性猛交xxxxxx富婆| 美女视频黄a大片欧美| 蜜臀va亚洲va欧美va天堂| 亚洲国产成人91porn| 国产拍欧美日韩视频二区| 欧美激情一区二区三区| 欧美精品久久久久久久久老牛影院| 经典三级视频一区| 亚洲综合色成人| 亚洲电影在线播放| 欧美专区日韩专区| 中文字幕一区二区在线观看| 高清国产一区二区| 日韩欧美视频在线| 国产在线精品免费| 国产亚洲精品中文字幕| 首页国产丝袜综合| 欧美色中文字幕| 韩国精品主播一区二区在线观看 | 99久久国产免费看| 中文字幕一区二区三区av| 91亚洲永久精品| 免费观看成人鲁鲁鲁鲁鲁视频| 久久综合久久综合久久| 91成人国产精品| 香蕉乱码成人久久天堂爱免费| 欧美精品vⅰdeose4hd| 日韩中文字幕区一区有砖一区 | 国产成人免费av在线| 中文字幕不卡在线播放| 国产69精品久久99不卡| 亚洲一区免费观看| 激情综合色播激情啊| 久久久久久久久久久久久久久99| 国产98色在线|日韩| 亚洲永久精品国产| 中文字幕av资源一区| 欧美三电影在线| 日本欧美一区二区三区乱码| 欧美大片在线观看| 成人免费精品视频| 欧美在线观看视频在线| 99re视频精品| 欧美日韩精品福利| 欧美日韩一区高清| 91成人网在线| 亚洲色欲色欲www在线观看| 一区二区三区资源| 日韩高清电影一区| 久久99国产精品成人| 高清在线观看日韩| 91精品国产黑色紧身裤美女| 久久综合色婷婷| 亚洲国产aⅴ成人精品无吗| 免费看日韩精品| 91麻豆精东视频| 日本一区二区成人| 日韩avvvv在线播放| 91亚洲男人天堂| 日本一区二区三区四区 | 亚洲国产视频一区| av在线播放一区二区三区| 91精品国产综合久久久蜜臀图片| 日韩欧美国产精品一区| 亚洲宅男天堂在线观看无病毒| 国产精品综合一区二区三区| 欧美肥妇free| 一区二区三国产精华液| 蜜臀久久久久久久| 正在播放一区二区| 国产午夜久久久久| 日本亚洲免费观看| 欧美精品乱人伦久久久久久| 久久久不卡影院| 国产美女视频91| 国产亚洲精品aa|