Package com.bbn.openmap.omGraphics

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


        Debug.message("basic", "PlotLayer.plotDataSources()");
        int num_graphics = 0;

        OMGraphicList graphics = new OMGraphicList();
        graphics.setTraverseMode(OMGraphicList.LAST_ADDED_ON_TOP);
        graphics.clear();

        Enumeration site_enum = temperature_data.getAllSites();
        while (site_enum.hasMoreElements()) {
            GLOBESite site = (GLOBESite) site_enum.nextElement();
            //Debug.message("basic", "Plotlayer adds " +
View Full Code Here


     *        width.
     */
    public OMGraphicList getRectangle(Projection p) {

        OMGraphicList list = (OMGraphicList) getList();
        list.clear();

        if (DEBUG) {
            Debug.output("CSVTIPI: getRectangle");
        }

View Full Code Here

                Debug.output("MysqlGeometryLayer query: " + q);
            }

            stmt.executeQuery(q);
            rs = stmt.getResultSet();
            graphics.clear();

            while (rs.next()) {

                String result = rs.getString(2);
View Full Code Here

        float ulLon = ul.getLongitude();
        float lrLat = lr.getLatitude();
        float lrLon = lr.getLongitude();

        if (list != null) {
            list.clear();
            list = new OMGraphicList();
        }

        // check for dateline anomaly on the screen. we check for
        // ulLon >= lrLon, but we need to be careful of the check for
View Full Code Here

     * to clean up.
     */
    public void removed(Container cont) {
        OMGraphicList list = getList();
        if (list != null) {
            list.clear();
            list = null;
        }

    }
}
View Full Code Here

        OMGraphicList list = getList();

        if (list == null) {
            list = new OMGraphicList();
        } else {
            list.clear();
        }

        OMLine oldLine = null;
        Geo ogc = null;
View Full Code Here

    public synchronized OMGraphicList prepare() {

        OMGraphicList list = getList();

        if (list != null) {
            list.clear();
        } else {
            list = new OMGraphicList();
        }

        if (spatialIndex == null)
View Full Code Here

            // file.
            if (fileDataList.size() == 0) {
                addShapeFileFromUser();
            }
        } else {
            list.clear();
        }

        // If we created any pixel intersection images before, time to
        // get rid of them.
View Full Code Here

            } else {
                labelTree = createUTMZoneLabels();
            }
        }

        list.clear();

        if (showZones) {
            list.add(verticalList);
            list.add(horizontalList);
        }
View Full Code Here

     * Called when the layer is no longer part of the map.
     */
    public void removed(java.awt.Container cont) {
        OMGraphicList rasters = getList();
        if (rasters != null) {
            rasters.clear();
        }
    }

    public void findAndInit(Object someObj) {
        if (someObj instanceof com.bbn.openmap.dataAccess.dted.DTEDFrameCache) {
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.