Examples of makeClone()


Examples of com.bbn.openmap.proj.Mercator.makeClone()

        for (int i = 0; i < numIterations; i++) {

            boolean countThisIteration = (i >= numToSkipAtStart);

            long startTime = System.currentTimeMillis();
            setProjection(proj.makeClone());
            calculateIntersectionsWithDrawnList();
            long endTime = System.currentTimeMillis();
            if (countThisIteration) {
                results[0] += endTime - startTime;
            }
View Full Code Here

Examples of com.bbn.openmap.proj.Projection.makeClone()

            System.out.println("ProjectionMenu.projectionChanged()");
        }

        Projection newProj = e.getProjection();
        if (projection == null || (!projection.equals(newProj))) {
            setProjection((Projection) newProj.makeClone());
            Object source = e.getSource();
            if (source instanceof Component) {
                projComponent = (Component) source;
            }
        }
View Full Code Here

Examples of com.bbn.openmap.proj.Projection.makeClone()

        if (Debug.debugging("scaletextpanel")) {
            System.out.println("ScaleTextPanel.projectionChanged()");
        }
        Projection newProj = e.getProjection();
        if (projection == null || (!projection.equals(newProj))) {
            setProjection((Projection) newProj.makeClone());
        }
    }

    public void findAndInit(Object someObj) {
        if (someObj instanceof MapBean) {
View Full Code Here

Examples of com.bbn.openmap.proj.Projection.makeClone()

                        // after they are used to create an image.

                        // I don't see how this problem is manifesting
                        // itself, but this code section is an attempt
                        // to help.
                        oldProj = oldProj.makeClone();
                    }

                    layers[i].setProjection(oldProj);
                }
View Full Code Here

Examples of com.bbn.openmap.proj.Projection.makeClone()

        for (int i = 0; i < numIterations; i++) {

            boolean countThisIteration = (i >= numToSkipAtStart);

            long startTime = System.currentTimeMillis();
            setProjection(proj.makeClone());
            calculateIntersectionsWithDrawnList();
            long endTime = System.currentTimeMillis();
            if (countThisIteration) {
                results[0] += endTime - startTime;
            }
View Full Code Here

Examples of com.bbn.openmap.proj.Projection.makeClone()

        if (proj != null && mapBean instanceof BLMapBean
                && hasTransparentBackground) {
            ((BLMapBean) mapBean).wipeImage();
        }
        mapBean.setProjection(proj == null ? proj : proj.makeClone());
    }

    /**
     * The GUI panel.
     */
 
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.