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

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

?? esriplugin.java

?? openmap java寫的開源數(shù)字地圖程序. 用applet實(shí)現(xiàn),可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
            parent.add(list);            list = parent;        }        return list;    }    /*     * Reads the contents of the SHX and SHP files. The SHX file will     * be read first by utilizing the ShapeIndex.open method. This     * method will return a list of offsets, which the     * AbstractSupport.open method will use to iterate through the     * contents of the SHP file. @param sho The url of the SHP file     * @param shx The url of the SHX file @return A new     * EsriGraphicList, null if something went badly.     */    public EsriGraphicList getGeometry(URL shp, URL shx) {        return EsriGraphicList.getEsriGraphicList(shp,                shx,                getDrawingAttributes(),                getModel());    }    /**     * Returns the associated table model for this layer     *      * @return The associated table model for this layer     */    public DbfTableModel getModel() {        return _model;    }    /**     * Returns whether this layer is of type 0 (point), 3 (polyline),     * or 5(polygon)     *      * @return An int representing the type of layer, as specified in     *         Esri's shape file format specification     */    public int getType() {        return _type;    }    /**     * Filters the DbfTableModel given a SQL like string     *      * @param query A SQL like string to filter the DbfTableModel     */    public void query(String query) {    // to be implemented    }    /**     * Sets the DbfTableModel     *      * @param model The DbfModel to set for this layer     */    public void setModel(DbfTableModel model) {        if (_model != null) {            _model = model;            _list.putAttribute(DBF_ATTRIBUTE, model);        }    }    /**     * Sets the properties for the <code>Layer</code>.     *      * @param prefix the token to prefix the property names     * @param properties the <code>Properties</code> object     */    public void setProperties(String prefix, Properties properties) {        super.setProperties(prefix, properties);        drawingAttributes.setProperties(prefix, properties);        // This fixes a hole that was exposed when the PlugIn had the        // files set directly, and then had properties set for drawing        // attributes later.        if (_list != null) {            if (_model != null) {                DrawingAttributesUtility.setDrawingAttributes(_list,                        _model,                        drawingAttributes);            } else {                drawingAttributes.setTo(_list);            }        }        prefix = PropUtils.getScopedPropertyPrefix(prefix);        shp = properties.getProperty(prefix + PARAM_SHP);        shx = properties.getProperty(prefix + PARAM_SHX);        dbf = properties.getProperty(prefix + PARAM_DBF);        // try {        // setName("testing");        // _list = getGeometry(new URL(shp), new URL(shx));        // _model = getDbfTableModel(new URL(dbf));        // } catch(Exception exception) {        // System.out.println(exception);        // }    }    public Properties getProperties(Properties props) {        props = super.getProperties(props);        String prefix = PropUtils.getScopedPropertyPrefix(this);        props.put(prefix + PARAM_SHP, PropUtils.unnull(shp));        props.put(prefix + PARAM_SHX, PropUtils.unnull(shx));        props.put(prefix + PARAM_DBF, PropUtils.unnull(dbf));        // Need to make sure they line up.        drawingAttributes.setPropertyPrefix(getPropertyPrefix());        drawingAttributes.getProperties(props);        return props;    }    public Properties getPropertyInfo(Properties props) {        props = super.getPropertyInfo(props);        props.put(initPropertiesProperty, PARAM_SHP + " " + PARAM_DBF + " "                + PARAM_SHX + drawingAttributes.getInitPropertiesOrder() + " "                + Layer.AddToBeanContextProperty);        props.put(PARAM_SHP, "Location of a shape (.shp) file (path or URL)");        props.put(PARAM_SHX,                "Location of a index file (.shx) for the shape file (path or URL, optional)");        props.put(PARAM_DBF,                "Location of a database file (.dbf) for the shape file (path or URL, optional)");        props.put(PARAM_SHP + ScopedEditorProperty,                "com.bbn.openmap.util.propertyEditor.FDUPropertyEditor");        props.put(PARAM_DBF + ScopedEditorProperty,                "com.bbn.openmap.util.propertyEditor.FDUPropertyEditor");        props.put(PARAM_SHX + ScopedEditorProperty,                "com.bbn.openmap.util.propertyEditor.FDUPropertyEditor");        drawingAttributes.getPropertyInfo(props);        return props;    }    public Component getGUI() {        JPanel holder = new JPanel(new BorderLayout());        JPanel daGUI = (JPanel) drawingAttributes.getGUI();        holder.add(daGUI, BorderLayout.CENTER);        JPanel btnPanel = new JPanel(new GridLayout(3, 1));        JButton redrawSelected = new JButton("Set Colors for Selected");        btnPanel.add(redrawSelected);        JButton redrawAll = new JButton("Set Colors For All");        btnPanel.add(redrawAll);        JButton tableTrigger = new JButton("Show Data Table");        btnPanel.add(tableTrigger);        holder.add(btnPanel, BorderLayout.SOUTH);        redrawSelected.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent e) {                if (!(graphicIndex < 0)) {                    OMGraphic omg = getEsriGraphicList().getOMGraphicAt(graphicIndex);                    repaintGraphics(omg);                }            }        });        redrawAll.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent e) {                repaintGraphics(getEsriGraphicList());            }        });        tableTrigger.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent ae) {                showTable();            }        });        return holder;    }    /**     * Sets the drawing attributes to those of a particular OMGraphic.     */    public void setDrawingAttributes(OMGraphic omg) {        if (drawingAttributes != null && omg != null) {            drawingAttributes.setFrom(omg);        }    }    /**     * Repaints the currently selected OMGraphic or the OMGraphicList     * to the current DrawingAttributes     *      * @param omg the OMGraphic to repaint     */    private void repaintGraphics(OMGraphic omg) {        drawingAttributes.setTo(omg);        repaint();    }    protected JTable table = null;    protected ListSelectionModel lsm = null;    /**     * Needs to be called before displaying the DbfTableModel.     */    public JTable getTable() {        if (table == null) {            lsm = new DefaultListSelectionModel();            table = new JTable();            table.setModel(getModel());            table.setSelectionModel(lsm);            table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);            lsm.addListSelectionListener(new ListSelectionListener() {                public void valueChanged(ListSelectionEvent e) {                    // Ignore extra messages.                    if (e.getValueIsAdjusting()) {                        return;                    }                    ListSelectionModel lsm2 = (ListSelectionModel) e.getSource();                    if (lsm2.isSelectionEmpty()) {                        // no rows are selected                    } else {                        int index = lsm2.getMinSelectionIndex();                        selectGraphic(index);                        getComponent().repaint();                    }                }            });        }        return table;    }    /**     * Mark a graphic as selected on the map.     *      * @param index the index, from 0, of the graphic on the list.     */    public void selectGraphic(int index) {        EsriGraphicList list = getEsriGraphicList();        list.deselectAll();        // Clear out the selected graphics list        selectedGraphics.clear();        selectGraphic(list.getOMGraphicAt(index));        graphicIndex = index;        list.regenerate(proj);    }    /**     * Mark the graphic as selected, and generate if necessary.     */    public void selectGraphic(OMGraphic graphic) {        if (graphic != null) {            graphic.select();            graphic.regenerate(proj);            // Set the selected OMGraphic on the selected list.            selectedGraphics.add(graphic);        }    }    /**     * Given a graphic, highlight its entry in the table.     */    public void selectEntry(OMGraphic graphic) {        // Object obj = graphic.getAppObject();        if (lsm == null) {            getTable();        }        lsm.setSelectionInterval(graphicIndex, graphicIndex);        // scroll to the appropriate row in the table        getTable().scrollRectToVisible(getTable().getCellRect(graphicIndex,                0,                true));        // if (obj != null) {        // if (obj instanceof Integer) {        // int index = ((Integer)obj).intValue();        // lsm.setSelectionInterval(index-1, index-1);        // getTable().scrollRectToVisible(getTable().getCellRect(index,        // 0, true));        // }        // } else {        // lsm.clearSelection();        // }    }    /**     * Show the table in its own frame.     */    public void showTable() {        if (tableFrame == null) {            String tableTitle = (this.name != null) ? this.name : "";            tableFrame = new JFrame(tableTitle + " Shape Data Attributes");            JScrollPane pane = new JScrollPane(getTable(), JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);            tableFrame.getContentPane().add(pane, BorderLayout.CENTER);            tableFrame.setSize(400, 300);        }        tableFrame.setVisible(true);        tableFrame.toFront();    }    /**     * Handle a mouse click on the map.     */    public boolean mouseClicked(MouseEvent e) {        EsriGraphicList list = getEsriGraphicList();        boolean ret = false;        graphicIndex = -1;        if (list != null) {            OMGraphic omg = list.selectClosest(e.getX(), e.getY(), 4);            if (omg != null) {                // graphicIndex has to be set before selectEntry                // called.                graphicIndex = ((Integer) omg.getAttribute(SHAPE_INDEX_ATTRIBUTE)).intValue() - 1;                selectEntry(omg);                ret = true;            } else {                if (lsm == null)                    getTable();                lsm.clearSelection();                list.deselect();                selectedGraphics.clear();                repaint();            }        }        return ret;    }    protected Layer parentLayer = null;    /**     * Handle mouse moved events (Used for firing tool tip     * descriptions over graphics)     */    public boolean mouseMoved(MouseEvent e) {        EsriGraphicList list = getEsriGraphicList();        boolean ret = false;        if (list != null) {            OMGraphic omg = list.findClosest(e.getX(), e.getY(), 4);            if (omg != null) {                int index;                Integer I = ((Integer) omg.getAttribute(SHAPE_INDEX_ATTRIBUTE));                if (I != null) {                    index = I.intValue() - 1;                } else {                    index = list.indexOf(omg);                }                if (parentLayer == null) {                    Component comp = getComponent();                    if (comp != null && comp instanceof Layer) {                        parentLayer = (Layer) comp;                    }                }                if (parentLayer != null) {                    parentLayer.fireRequestToolTip(getDescription(index));                }                ret = true;            } else if (parentLayer != null) {                parentLayer.fireHideToolTip();            }        }        return ret;    }    /**     * Builds a description in HTML for a tool tip for the specified     * OMGraphic     *      * @param index the index of the graphic in the table     */    public String getDescription(int index) {        Vector v = new Vector();        String description = "";        v.add("<HTML><BODY>");        for (int i = 0; i < getTable().getColumnCount(); i++) {            try {                String column = getTable().getColumnName(i);                String value = (String) (getTable().getValueAt(index, i) + "");                v.add((i == 0 ? "<b>" : "<BR><b>") + column + ":</b> " + value);            } catch (NullPointerException npe) {            } catch (IndexOutOfBoundsException obe) {            }        }        v.add("</BODY></HTML>");        for (int i = 0; i < v.size(); i++) {            description += (String) (v.elementAt(i));        }        return description;    }    protected JPanel daGUI = null;    protected JFrame tableFrame = null;    /** This marks the index of the OMGraphic that is "selected" */    protected int graphicIndex = -1;    /**     * DataBoundsInformer interface.     */    public DataBounds getDataBounds() {        DataBounds box = null;        if (_list == null) {            _list = getEsriGraphicList();        }        if (_list != null) {            float[] extents = _list.getExtents();            box = new DataBounds((double) extents[1], (double) extents[0], (double) extents[3], (double) extents[2]);        }        return box;    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产乱码久久久久久夜甘婷婷| 久久久精品国产免费观看同学| 欧美做爰猛烈大尺度电影无法无天| 日本韩国精品在线| 欧洲精品在线观看| 91行情网站电视在线观看高清版| 欧美中文字幕一区二区三区亚洲| 91麻豆精品久久久久蜜臀| www欧美成人18+| 国产精品美女一区二区在线观看| 亚洲视频图片小说| 亚洲sss视频在线视频| 国产麻豆成人精品| 色呦呦一区二区三区| 91精品国产91久久久久久一区二区| 久久综合中文字幕| 亚洲综合免费观看高清在线观看| 日本人妖一区二区| 国产福利一区二区三区视频在线 | 老司机精品视频在线| 精品一区二区成人精品| 不卡欧美aaaaa| 91.xcao| 亚洲国产精品ⅴa在线观看| 亚洲蜜臀av乱码久久精品蜜桃| 日韩黄色小视频| 国产99久久久国产精品免费看 | 2021国产精品久久精品| 一区二区三区欧美在线观看| 日韩av二区在线播放| 国产成都精品91一区二区三| 91麻豆精品91久久久久同性| 欧美激情一区二区三区蜜桃视频 | 久久精品国产久精国产| 成人av手机在线观看| 欧美大胆一级视频| 亚洲成av人片在www色猫咪| 成人三级在线视频| 日韩一区二区电影| 亚洲欧美福利一区二区| 国产精品一区三区| 欧美一区三区二区| 亚洲激情图片一区| 国产精品69毛片高清亚洲| 色综合久久中文综合久久牛| 久久久久久免费毛片精品| 一级精品视频在线观看宜春院| 国产在线视频一区二区| 欧美伊人精品成人久久综合97| 国产亚洲欧美色| 日韩高清不卡在线| 国产麻豆午夜三级精品| 91精品国产一区二区三区蜜臀| 亚洲欧美韩国综合色| 精品一区二区在线免费观看| 欧美一区二区在线免费播放| 国产精品天美传媒| 极品瑜伽女神91| 91黄色免费观看| 最新热久久免费视频| 国产91精品在线观看| 97精品国产97久久久久久久久久久久| 久久免费看少妇高潮| 天天影视色香欲综合网老头| 国产69精品久久99不卡| 国产日韩欧美综合在线| 美腿丝袜亚洲综合| 欧美高清视频不卡网| 久久久美女毛片| 狠狠色狠狠色合久久伊人| 欧美另类videos死尸| 一区二区三区在线视频播放| 色拍拍在线精品视频8848| 日本一区二区三区在线不卡| 久久成人综合网| 91精品国产全国免费观看| 亚洲一区av在线| 色呦呦一区二区三区| 亚洲免费观看在线视频| 国产一区二三区好的| 欧美不卡视频一区| 日韩电影免费在线观看网站| 欧美日韩久久不卡| 日本成人在线不卡视频| 91精品欧美综合在线观看最新| 亚洲高清免费一级二级三级| 99综合电影在线视频| 亚洲天堂中文字幕| 91一区二区在线| 亚洲视频你懂的| 欧美伊人久久久久久午夜久久久久| 一区二区在线观看视频 | 精品国产91久久久久久久妲己 | 韩国一区二区三区| 欧美精品777| 精品一区二区成人精品| 久久久综合精品| 国产99久久久国产精品免费看| 综合激情成人伊人| 91精品1区2区| 午夜免费久久看| 5月丁香婷婷综合| 免费日韩伦理电影| 精品日韩99亚洲| 国产乱码精品一区二区三| 久久精品一区蜜桃臀影院| 国产乱人伦偷精品视频不卡| 国产亚洲精品7777| 99r精品视频| 一区二区三区欧美激情| 欧美日韩久久久| 精品一区二区三区在线观看国产 | 国产91清纯白嫩初高中在线观看| 国产精品日韩成人| 一本一道久久a久久精品| 亚洲精品乱码久久久久| 日韩欧美国产电影| 国产成人免费在线| 亚洲影视资源网| 久久综合成人精品亚洲另类欧美 | 国产精品一区在线| 亚洲天堂2014| 日韩午夜中文字幕| 成人在线视频一区二区| 亚洲一区二区美女| 日韩欧美你懂的| 色欧美日韩亚洲| 免费欧美高清视频| 中日韩免费视频中文字幕| 欧美猛男男办公室激情| proumb性欧美在线观看| 免费观看30秒视频久久| 国产精品毛片久久久久久| 欧美亚洲丝袜传媒另类| 视频在线在亚洲| 欧美综合在线视频| 狠狠色狠狠色综合日日91app| 亚洲美女免费在线| 久久久久青草大香线综合精品| 欧美日韩国产一级片| av电影在线观看不卡| 国内久久婷婷综合| 偷拍一区二区三区| 亚洲欧美另类小说| 国产精品素人视频| 欧美精品一区二区在线播放| 欧美日韩在线精品一区二区三区激情| 国产成人精品1024| 久久国产精品第一页| 天天综合网天天综合色| 亚洲少妇中出一区| 国产精品丝袜91| 久久久久国产精品麻豆| 日韩视频在线你懂得| 欧美日韩亚洲国产综合| 色婷婷国产精品久久包臀| 国产精品一二三四区| 美国毛片一区二区三区| 午夜av电影一区| 亚洲综合色视频| 亚洲激情综合网| 亚洲品质自拍视频| 国产精品欧美一区喷水| 国产亚洲一二三区| 精品国产1区二区| 日韩精品一区二区三区在线| 在线播放日韩导航| 欧美日产国产精品| 欧美日韩国产首页在线观看| 欧美在线视频你懂得| 色综合色狠狠天天综合色| 成人黄色小视频| 成人综合在线视频| 东方aⅴ免费观看久久av| 国产激情视频一区二区三区欧美| 极品少妇一区二区| 久久国内精品自在自线400部| 日本欧美一区二区三区| 日本欧美加勒比视频| 欧美aⅴ一区二区三区视频| 无码av中文一区二区三区桃花岛| 亚洲韩国精品一区| 亚洲与欧洲av电影| 亚洲国产精品一区二区尤物区| 亚洲激情自拍偷拍| 亚洲成在人线免费| 男女激情视频一区| 韩国av一区二区三区| 国产精品综合二区| 成人精品高清在线| 91一区二区三区在线观看| 91搞黄在线观看| 欧美乱妇15p| 欧美tickling挠脚心丨vk| 久久久精品黄色| 国产精品久久久久婷婷| 亚洲欧美日韩久久| 亚洲电影中文字幕在线观看| 婷婷综合五月天| 久久er99精品|