Package jsky.coords

Examples of jsky.coords.TargetDesc


//        Calendar cal = Calendar.getInstance(site.getTimeZone());
//        cal.set(2009, Calendar.MARCH, 8, 12, 0, 0);
//        Date date = cal.getTime();
        Date date = new Date();
        TargetDesc[] targets = new TargetDesc[]{
                new TargetDesc("m101", new WorldCoords("14:03:12.579", "+54:20:52.95"), "Test target 1", "High", "B2"),
                new TargetDesc("m51", new WorldCoords("13:29:52.452", "+47:11:39.83"), "Test target 2", "Low", "B2"),
                new TargetDesc("ngc1259", new WorldCoords("03:17:17.172", "+41:23:07.22"), "Test target 3", "Medium", "B2"),
        };
        panel.setModel(new ElevationPlotModel(site, date, targets));

        frame.getContentPane().add(panel, BorderLayout.CENTER);
        frame.pack();
View Full Code Here


        String decStr = _w.decField.getText();
        WorldCoords pos = new WorldCoords(raStr, decStr);
        String description = _w.descriptionField.getText();
        String priority = _w.priorityField.getText();
        String category = _w.categoryField.getText();
        _addRow(new TargetDesc(name, pos, description, priority, category));
    }
View Full Code Here

            String decStr = _w.decField.getText();
            WorldCoords pos = new WorldCoords(raStr, decStr);
            String description = _w.descriptionField.getText();
            String priority = _w.priorityField.getText();
            String category = _w.categoryField.getText();
            _changeRow(row, new TargetDesc(name, pos, description, priority, category));
        }
    }
View Full Code Here

            String decStr = (String) model.getValueAt(i, DEC_COL);
            WorldCoords pos = new WorldCoords(raStr, decStr);
            String description = (String) model.getValueAt(i, DESCRIPTION_COL);
            String priority = (String) model.getValueAt(i, PRIORITY_COL);
            String category = (String) model.getValueAt(i, CATEGORY_COL);
            _targets[i] = new TargetDesc(name, pos, description, priority, category);
        }
    }
View Full Code Here

TOP

Related Classes of jsky.coords.TargetDesc

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.