Examples of CatalogQueryPanel


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

Examples of jsky.catalog.gui.CatalogQueryPanel

        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
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.