org.jscience.astronomy.solarsystem.artificialsatellites.gui
Class HtmlEphemerisWriter

java.lang.Object
  extended by org.jscience.astronomy.solarsystem.artificialsatellites.gui.HtmlEphemerisWriter
All Implemented Interfaces:
EphemerisWriter

public class HtmlEphemerisWriter
extends java.lang.Object
implements EphemerisWriter

Instances of this class write an ephemeris of StateVector objects as HTML to a JEditorPane instance.


Constructor Summary
HtmlEphemerisWriter(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

HtmlEphemerisWriter

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

Method Detail

write

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
Parameters:
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.