⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linkactionlist.java

📁 openmap java写的开源数字地图程序. 用applet实现,可以像google map 那样放大缩小地图.
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
     * @param offset_x1 horizontal pixel offset of center of circle..     * @param offset_y1 vertical pixel offset of center of circle..     * @param w width of circle.     * @param h height of circle.     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkCircle     */    public void updateCircle(float latPoint, float lonPoint, int offset_x1,                             int offset_y1, int w, int h,                             LinkProperties properties, int graphicUpdateMask)            throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkCircle.write(latPoint,                lonPoint,                offset_x1,                offset_y1,                w,                h,                properties,                link.dos);    }    /**     * Write a circle in the response.     *      * @param latPoint latitude of placement of center of circle.     * @param lonPoint longitude of placement of center of circle.     * @param radius radius of circle, in decimal degrees..     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkCircle     */    public void updateCircle(float latPoint, float lonPoint, float radius,                             LinkProperties properties, int graphicUpdateMask)            throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkCircle.write(latPoint,                lonPoint,                radius,                -1,                -1,                properties,                link.dos);    }    /**     * Write a circle in the response.     *      * @param latPoint latitude of placement of center of circle.     * @param lonPoint longitude of placement of center of circle.     * @param radius radius of circle, in decimal degrees..     * @param units units of the radius - km, miles, nmiles, degrees..     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkCircle     */    public void updateCircle(float latPoint, float lonPoint, float radius,                             int units, LinkProperties properties,                             int graphicUpdateMask) throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkCircle.write(latPoint,                lonPoint,                radius,                units,                -1,                properties,                link.dos);    }    /**     * Write a circle in the response.     *      * @param latPoint latitude of placement of center of circle.     * @param lonPoint longitude of placement of center of circle.     * @param radius radius of circle, in decimal degrees..     * @param units units of the radius - km, miles, nmiles, degrees..     * @param nverts number of points to use to approximate the     *        circle. If negative, the client algorithm will figure     *        out what is best.     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkCircle     */    public void updateCircle(float latPoint, float lonPoint, float radius,                             int units, int nverts, LinkProperties properties,                             int graphicUpdateMask) throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkCircle.write(latPoint,                lonPoint,                radius,                units,                nverts,                properties,                link.dos);    }    /**     * Lat/Lon placement grid.     *      * @param lt latitude of the top of the grid.     * @param ln longitude of the left side of the grid.     * @param rows number of vertical points of the grid.     * @param columns number of horizontal points of the grid.     * @param orientation the direction of the vertical axits of the     *        grid, in radians from up ( North).     * @param vResolution degrees/point between rows of the grid.     * @param hResolution degrees/point between columns of the grid.     * @param major designation of the presentation of the data, as     *        columns (COLUMN_MAJOR) or rows (ROW_MAJOR).     * @param data data points of the grid.     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @see com.bbn.openmap.layer.link.LinkGrid     * @throws IOException     */    public void updateGrid(float lt, float ln, int rows, int columns,                           float orientation, float vResolution,                           float hResolution, int major, int[] data,                           LinkProperties properties, int graphicUpdateMask)            throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkGrid.write(lt,                ln,                rows,                columns,                orientation,                vResolution,                hResolution,                major,                data,                properties,                link.dos);    }    /**     * XY placement grid.     *      * @param x1 window location of the left side of the grid.     * @param y1 window location of the top of the grid.     * @param rows number of vertical points of the grid.     * @param columns number of horizontal points of the grid.     * @param orientation the direction of the vertical axits of the     *        grid, in radians from up ( North).     * @param vResolution pixels/point between rows of the grid.     * @param hResolution pixels/point between columns of the grid.     * @param major designation of the presentation of the data, as     *        columns (COLUMN_MAJOR) or rows (ROW_MAJOR).     * @param data data points of the grid.     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @see com.bbn.openmap.layer.link.LinkGrid     * @throws IOException     */    public void updateGrid(int x1, int y1, int rows, int columns,                           float orientation, float vResolution,                           float hResolution, int major, int[] data,                           LinkProperties properties, int graphicUpdateMask)            throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkGrid.write(x1,                y1,                rows,                columns,                orientation,                vResolution,                hResolution,                major,                data,                properties,                link.dos);    }    /**     * Lat/lon placement with XY offset.     *      * @param lt latitude of the top of the image, before the offset.     * @param ln longitude of the left side of the image, before the     *        offset.     * @param offset_x1 number of pixels to move image to the right.     * @param offset_y1 number of pixels to move image down.     * @param rows number of vertical points of the grid.     * @param columns number of horizontal points of the grid.     * @param orientation the direction of the vertical axits of the     *        grid, in radians from up ( North).     * @param vResolution pixels/point between rows of the grid.     * @param hResolution pixels/point between columns of the grid.     * @param major designation of the presentation of the data, as     *        columns (COLUMN_MAJOR) or rows (ROW_MAJOR).     * @param data data points of the grid.     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @see com.bbn.openmap.layer.link.LinkGrid     * @throws IOException     */    public void updateGrid(float lt, float ln, int offset_x1, int offset_y1,                           int rows, int columns, float orientation,                           float vResolution, float hResolution, int major,                           int[] data, LinkProperties properties,                           int graphicUpdateMask) throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkGrid.write(lt,                ln,                offset_x1,                offset_y1,                rows,                columns,                orientation,                vResolution,                hResolution,                major,                data,                properties,                link.dos);    }    /**     * Write a line in the response.     *      * @param lat_1 latitude of placement of start of line.     * @param lon_1 longitude of placement of start of line.     * @param lat_2 latitude of placement of end of line.     * @param lon_2 longitude of placement of end of line.     * @param lineType type of line - straight, rhumb, great circle..     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkLine     */    public void updateLine(float lat_1, float lon_1, float lat_2, float lon_2,                           int lineType, LinkProperties properties,                           int graphicUpdateMask) throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkLine.write(lat_1,                lon_1,                lat_2,                lon_2,                lineType,                properties,                link.dos);    }    /**     * Write a line in the response.     *      * @param lat_1 latitude of placement of start of line.     * @param lon_1 longitude of placement of start of line.     * @param lat_2 latitude of placement of end of line.     * @param lon_2 longitude of placement of end of line.     * @param lineType type of line - straight, rhumb, great circle..     * @param nsegs number of points to use to approximate curved     *        line..     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkLine     */    public void updateLine(float lat_1, float lon_1, float lat_2, float lon_2,                           int lineType, int nsegs, LinkProperties properties,                           int graphicUpdateMask) throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkLine.write(lat_1,                lon_1,                lat_2,                lon_2,                lineType,                nsegs,                properties,                link.dos);    }    /**     * Write a line in the response.     *      * @param x1 Horizontal pixel placement of start of line.     * @param y1 Vertical pixel placement of start of line.     * @param x2 Horizontal pixel placement of end of line.     * @param y2 Vertical pixel placement of end of line.     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkLine     */    public void updateLine(int x1, int y1, int x2, int y2,                           LinkProperties properties, int graphicUpdateMask)            throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkLine.write(x1, y1, x2, y2, properties, link.dos);    }    /**     * Write a line in the response.     *      * @param lat_1 latitude of placement of line.     * @param lon_1 longitude of placement of line.     * @param x1 Horizontal pixel offset of start of line.     * @param y1 Vertical pixel offset of start of line.     * @param x2 Horizontal pixel offset of end of line.     * @param y2 Vertical pixel offset of end of line.     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkLine     */    public void updateLine(float lat_1, float lon_1, int x1, int y1, int x2,                           int y2, LinkProperties properties,                           int graphicUpdateMask) throws IOException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkLine.write(lat_1, lon_1, x1, y1, x2, y2, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param ii ImageIcon to place on the map..     * @param properties description of drawing attributes.     * @param graphicUpdateMask the mask describing the graphic     *        update.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void updateRaster(float lt, float ln, ImageIcon ii,                             LinkProperties properties, int graphicUpdateMask)            throws IOException, InterruptedException {        writeGraphicGestureHeader(graphicUpdateMask);        LinkRaster.write(lt, ln, ii, properties, link.dos);    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -