Package jsky.catalog.gui

Examples of jsky.catalog.gui.CatalogQueryPanel


        wcs.screenToWorldCoords(dims, true);
        double width = dims.x * 60; // convert deg to arcmin
        double height = dims.y * 60;

        // set the values in the query panel
        CatalogQueryPanel catalogQueryPanel = getCatalogQueryPanel();
        QueryArgs queryArgs = catalogQueryPanel.getQueryArgs();
        getCatalog().setRegionArgs(queryArgs, new CoordinateRadius(centerPos, radius, width, height));
        catalogQueryPanel.setQueryArgs(queryArgs);
    }
View Full Code Here


        if (!useDefaultSize && !buttonPressed) {
            mag = _imageDisplay.getDefaultSearchMagRange();
        }

        // set the values in the query panel
        CatalogQueryPanel catalogQueryPanel = getCatalogQueryPanel();
        QueryArgs queryArgs = catalogQueryPanel.getQueryArgs();

        if (mag != null) {
            queryArgs.setParamValueRange("mag", mag[0], mag[1]);
        }

        try {
            getCatalog().setRegionArgs(queryArgs, new CoordinateRadius(centerPos, minRadius, maxRadius, width, height));
            catalogQueryPanel.setQueryArgs(queryArgs);
        } catch (Exception ignored) {
        }
    }
View Full Code Here

TOP

Related Classes of jsky.catalog.gui.CatalogQueryPanel

Copyright © 2018 www.massapicom. 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.