Examples of GraphicsImageDisplay


Examples of jsky.image.gui.GraphicsImageDisplay

     * @param table describes the table data
     * @return false if no suitable image could be used or generated, otherwise true
     */
    public boolean check(TableQueryResult table) {
        // If no image is being displayed, try to generate a blank WCS image
        GraphicsImageDisplay imageDisplay = (GraphicsImageDisplay) _coordinateConverter.getImageDisplay();
        if (imageDisplay.isClear()) {
            WorldCoordinates pos = table.getWCSCenter();
            if (pos != null) {
                imageDisplay.blankImage(pos.getRaDeg(), pos.getDecDeg());
            }
        }

        return _coordinateConverter.isWCS();
    }
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.