jsky.plot
Class ElevationPlotManager

java.lang.Object
  extended by jsky.plot.ElevationPlotManager

public final class ElevationPlotManager
extends java.lang.Object

This class manages access to the ElevationPlotPanel on behalf of clients.


Constructor Summary
ElevationPlotManager()
           
 
Method Summary
static ElevationPlotPanel get()
          Return the elevation plot graph panel instance, if it exists, otherwise null.
static ElevationPlotPanel open(javax.swing.event.ChangeListener l)
          Open the elevation plot panel, creating it if necessary, and return a reference to it.
static void show(TargetDesc[] targets, SiteDesc site, javax.swing.event.ChangeListener l)
          Display an elevation plot for the given targets and site and the current date (overridden by any user settings).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElevationPlotManager

public ElevationPlotManager()
Method Detail

get

public static ElevationPlotPanel get()
Return the elevation plot graph panel instance, if it exists, otherwise null.


open

public static ElevationPlotPanel open(javax.swing.event.ChangeListener l)
Open the elevation plot panel, creating it if necessary, and return a reference to it. If a ChangeListener is supplied and is not null, it is notified the first time the panel is created (for customization).


show

public static void show(TargetDesc[] targets,
                        SiteDesc site,
                        javax.swing.event.ChangeListener l)
Display an elevation plot for the given targets and site and the current date (overridden by any user settings).