Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class ncsa.horizon.coordinates.formatters.
CDDMMSSAxisPosFormatter

java.lang.Object
  |
  +--ncsa.horizon.coordinates.formatters.DDMMSSAxisPosFormatter
        |
        +--ncsa.horizon.coordinates.formatters.CDDMMSSAxisPosFormatter

public class CDDMMSSAxisPosFormatter
extends DDMMSSAxisPosFormatter
support for printing out angles in degrees:minutes:seconds format over the circular range 0, 360 degrees.

See Also:
Serialized Form

Field Summary
static java.lang.String myname
           
 
Fields inherited from class ncsa.horizon.coordinates.formatters.DDMMSSAxisPosFormatter
DEF_PREC, fmt, MAX_PREC, myname, prec
 
Constructor Summary
CDDMMSSAxisPosFormatter()
           
 
Method Summary
java.lang.Object clone()
           
static void main(java.lang.String[] args)
           
java.lang.String toString(double degrees)
          format value into a string
java.lang.String toString()
           
double valueOf(java.lang.String s)
          parse a string for a double value.
 
Methods inherited from class ncsa.horizon.coordinates.formatters.DDMMSSAxisPosFormatter
clone, getPrecision, main, setPrecision, toString, toString, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

myname

protected static final java.lang.String myname
Constructor Detail

CDDMMSSAxisPosFormatter

public CDDMMSSAxisPosFormatter()
Method Detail

toString

public java.lang.String toString(double degrees)
format value into a string
Overrides:
toString in class DDMMSSAxisPosFormatter

valueOf

public double valueOf(java.lang.String s)
              throws java.lang.NumberFormatException
parse a string for a double value.
Overrides:
valueOf in class DDMMSSAxisPosFormatter

clone

public java.lang.Object clone()
Overrides:
clone in class DDMMSSAxisPosFormatter

toString

public java.lang.String toString()
Overrides:
toString in class DDMMSSAxisPosFormatter

main

public static void main(java.lang.String[] args)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD