jsky.coords
Class NamedCoordinates

java.lang.Object
  extended by jsky.coords.NamedCoordinates

public class NamedCoordinates
extends Object

Simple class containing an object name, its coordinates, and the brightness, if known. The brightness is an optional string (for display) describing the object's brightness, for example: "mag: 13.2", or "12.3B, 12.1V". The brightness may also be null or empty, if not known.

Version:
$Revision: 1.3 $
Author:
Allan Brighton

Constructor Summary
NamedCoordinates(String name, Coordinates coords)
           
NamedCoordinates(String name, Coordinates coords, String brightness)
           
 
Method Summary
 String getBrightness()
           
 Coordinates getCoordinates()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedCoordinates

public NamedCoordinates(String name,
                        Coordinates coords)

NamedCoordinates

public NamedCoordinates(String name,
                        Coordinates coords,
                        String brightness)
Method Detail

getName

public String getName()

getCoordinates

public Coordinates getCoordinates()

getBrightness

public String getBrightness()