Examples of generate()


Examples of com.badlogic.gdx.jnigen.NativeCodeGenerator.generate()

    return n;
  }
 
  public static void main(String[] args) throws Exception {
    NativeCodeGenerator jniGen = new NativeCodeGenerator();
    jniGen.generate("src/", "bin/", "jni", new String[] { "**/GL.java", "**/AL.java", "**/ALC.java", "**/Glfw.java", "**/Memory.java" }, null);
   
    String[] commonSrc = {
      "glfw-3.0/src/clipboard.c",
      "glfw-3.0/src/context.c",
      "glfw-3.0/src/gamma.c",
View Full Code Here

Examples of com.bbn.openmap.dataAccess.shape.EsriGraphicList.generate()

                } else {
                    int index = lsm2.getMinSelectionIndex();
                    EsriGraphicList list = layer.getEsriGraphicList();
                    OMGraphic graphic = list.getOMGraphicAt(index);
                    graphic.select();
                    list.generate(_mapBean.getProjection());
                    layer.repaint();
                }
            }
        });
        frame.setSize(400, 300);
View Full Code Here

Examples of com.bbn.openmap.dataAccess.shape.EsriPolylineList.generate()

                        -25.0f, 10.0f };
                EsriPolyline poly0 = new EsriPolyline(part0, OMGraphic.DECIMAL_DEGREES, OMGraphic.LINETYPE_RHUMB);
                EsriPolyline poly1 = new EsriPolyline(part1, OMGraphic.DECIMAL_DEGREES, OMGraphic.LINETYPE_RHUMB);
                shapeData.add(poly0); //part 1
                shapeData.add(poly1); //part 2
                shapeData.generate(_mapBean.getProjection());
                tabularData.add(0, "a value");
                _drawableLayer.addRecord(shapeData, tabularData);
                _drawableLayer.repaint();
            }
        });
View Full Code Here

Examples of com.bbn.openmap.layer.util.html.Element.generate()

                + request.getServletPath() + getPathInfo(request)
                + "?valIndex=";
        for (int i = 0; i < values.length; i++) {
            if ((i % 50) == 0) {
                if (table != null) {
                    table.generate(out);
                }
                rows = new ListElement();
                table = new WrapElement("table", "BORDER=1", rows);
                rows.addElement(th);
            }
View Full Code Here

Examples of com.bbn.openmap.layer.util.html.HtmlListElement.generate()

            String db = (String) dbi.next();
            String url = request.getContextPath() + "/DescribeVPF/" + db;
            dblist.addElement("<A HREF=\"" + response.encodeURL(url) + "\">"
                    + db + "</A>\r\n");
        }
        dblist.generate(out);
        out.println("</BODY></HTML>\r\n");
    }

    public static String buildURL(HttpServletRequest request,
                                  HttpServletResponse response,
View Full Code Here

Examples of com.bbn.openmap.layer.util.html.WrapElement.generate()

            libnames.append("(from ");
            libnames.append(buildURL(request, response, libname, "lat"));
            libnames.append(")");

            dble.addElement(libnames.toString());
            dblist.generate(out);
            for (int i = 0; i < libraries.length; i++) {
                //String prefix = libraries[i] + ":";
                printLibrary(request,
                        response,
                        libname,
View Full Code Here

Examples of com.bbn.openmap.omGraphics.OMCircle.generate()

                // make the circle
                OMCircle circle = new OMCircle(pt1.getLatitude(), pt1.getLongitude(), rad);
                // get the map projection
                Projection proj = theMap.getProjection();
                // prepare the circle for rendering
                circle.generate(proj);
                // render the circle graphic
                circle.render(g);
            }
        } // end if(displayCircle)
    }
View Full Code Here

Examples of com.bbn.openmap.omGraphics.OMGraphic.generate()

                    Debug.output("MysqlGeometryLayer result: " + result);
                }

                MysqlGeometry mg = MysqlWKTGeometryFactory.createGeometry(result);
                OMGraphic omg = createGraphic(mg);
                omg.generate(proj);
                graphics.add(omg);
            }

            rs.close();
            conn.close();
View Full Code Here

Examples of com.bbn.openmap.omGraphics.OMGraphicList.generate()

            }
        }

        Projection proj = getProjection();
        if (proj != null && g != null) {
            g.generate(proj);
        }

        return g;
    }
View Full Code Here

Examples of com.bbn.openmap.omGraphics.OMGrid.generate()

     * @param proj EqualArc projection to use to create image.
     * @return raster image to display in OpenMap.
     */
    public OMRaster getOMRaster(EqualArc proj) {
        OMGrid grid = getOMGrid();
        grid.generate(proj);
        SlopeGenerator sg = new SlopeGenerator();
        return sg.generateRasterForProjection(grid, proj);
    }

    public static void main(String args[]) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.