linkactionlist.java
来自「OpenMap是一个基于JavaBeansTM的开发工具包。利用OpenMap你」· Java 代码 · 共 1,646 行 · 第 1/5 页
JAVA
1,646 行
* Write a circle in the response. * * @param x1 horizontal pixel placement of center of circle.. * @param y1 vertical pixel placement of center of circle.. * @param w pixel width of circle. * @param h pixel 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(int x1, int y1, int w, int h, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); LinkCircle.write(x1, 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 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); } /** * Write an ellipse in the response. * * @param latPoint latitude of center of circle in decimal degrees * @param lonPoint longitude of center of circle in decimal degrees * @param majorAxisSpan x axis value, units * @param minorAxisSpan y axis value, units * @param units integer value for units for distance - OMCircle.KM, * OMCircle.MILES, OMCircle.NMILES. If < 0, assume decimal * degrees. * @param rotationAngle The angle by which the circle/ellipse is to be * rotated, in radians * * @param properties attributes for the circle. * @throws IOException */ public void updateEllipse(float latPoint, float lonPoint, float majorAxisSpan, float minorAxisSpan, int units, float rotationAngle, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); LinkEllipse.write(latPoint, lonPoint, majorAxisSpan, minorAxisSpan, units, rotationAngle, properties, link.dos); } /** * Write an ellipse in the response. * * @param x1 window position of center point from left of window, in pixels * @param y1 window position of center point from top of window, in pixels * @param majorAxisSpan horizontal diameter of circle/ellipse, pixels * @param minorAxisSpan vertical diameter of circle/ellipse, pixels * @param rotateAngle angle of rotation in Radians * * @param properties the LinkProperties describing the attributes of the * ellipse. */ public void updateEllipse(int x1, int y1, int majorAxisSpan, int minorAxisSpan, float rotateAngle, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); LinkEllipse.write(x1, y1, majorAxisSpan, minorAxisSpan, rotateAngle, properties, link.dos); } /** * Write an ellipse in the response. * * @param latPoint latitude of center of circle in decimal degrees * @param lonPoint longitude of center of circle in decimal degrees * @param w horizontal diameter of circle/ellipse, pixels * @param h vertical diameter of circle/ellipse, pixels * @param rotateAngle angle of rotation in Radians * @param properties the LinkProperties describing the attributes of the * ellipse. */ public void updateEllipse(float latPoint, float lonPoint, int w, int h, float rotateAngle, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); LinkEllipse.write(latPoint, lonPoint, w, h, rotateAngle, properties, link.dos); } /** * Write an ellipse in the response. * * @param latPoint latitude of center of circle in decimal degrees * @param lonPoint longitude of center of circle in decimal degrees * @param offset_x1 # pixels to the right the center will be moved from * lonPoint. * @param offset_y1 # pixels down that the center will be moved from * latPoint. * @param w horizontal diameter of circle/ellipse, pixels. * @param h vertical diameter of circle/ellipse, pixels. * @param rotateAngle the rotation of the ellipse around the center point, * in radians. * @param properties the LinkProperties describing the attributes of the * ellipse. */ public void updateEllipse(float latPoint, float lonPoint, int offset_x1, int offset_y1, int w, int h, float rotateAngle, LinkProperties properties, int graphicUpdateMask) throws IOException { writeGraphicGestureHeader(graphicUpdateMask); LinkEllipse.write(latPoint, lonPoint, offset_x1, offset_y1, w, h, rotateAngle, 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.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?