Class TextEphemerisWriter

  extended by org.jscience.astronomy.solarsystem.artificialsatellites.gui.TextEphemerisWriter
All Implemented Interfaces:

public class TextEphemerisWriter
extends java.lang.Object
implements EphemerisWriter

Instances of this class format an ephemeris of StateVector objects as plain text to a JEditorPane instance.

Constructor Summary
TextEphemerisWriter(javax.swing.JEditorPane destination)
          Constructs an instance of this class.
Method Summary
 void write(java.lang.String title, java.util.Date dateGenerated, java.util.SortedSet ephemeris, ElementSet tle)
          Writes the ephemeris of StateVector instances to the destination.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public TextEphemerisWriter(javax.swing.JEditorPane destination)
Constructs an instance of this class.

Method Detail


public void write(java.lang.String title,
                  java.util.Date dateGenerated,
                  java.util.SortedSet ephemeris,
                  ElementSet tle)
Writes the ephemeris of StateVector instances to the destination.

Specified by:
write in interface EphemerisWriter
title - Title of the ephemeris.
dateGenerated - Date that the ephemeris was generated.
ephemeris - Ephemeris of StateVector objects to write.
tle - Two-line element set from which the ephemeris was generated.