heasarc.w3browse.plot
Class PlotSpecs

java.lang.Object
  |
  +--heasarc.w3browse.plot.PlotSpecs

public class PlotSpecs
extends java.lang.Object

This class contains all data that defines the type of plot


Field Summary
 int bin
          histogram number of bins
 java.lang.String criteria
          criteria to base sample parameter on
 java.lang.String dec_name
          Name of declination variable in database
 boolean isSample
          is sampling on ?
 boolean isxlog
          indicates if the x axis is a log axis
 boolean isylog
          indicates if the y axis is a log axis
 java.lang.String plottype
          Plot type (such as scatter, histogram, cumulative, aitoff
 java.lang.String procnum
          Process number for creating giffile name
 java.lang.String ra_name
          Name of right ascension variable in database
 java.lang.String sample_param
          parameter number for sample parameter
 java.lang.String xaxis
          parameter name for xaxis name
 double xmax
          sets xmaximum range
 double xmin
          sets xminimum range
 java.lang.String yaxis
          parameter name for yaxis name
 double ymax
          sets ymaximum range
 double ymin
          sets yminimum range
 
Constructor Summary
PlotSpecs(SecondPanel secP, ThirdPanel thirdP, java.lang.String ra, java.lang.String dec, java.lang.String url)
          Constructor which takes SecondPanel and ThirdPanel objects to determine plotspecs
PlotSpecs(java.lang.String[] args)
          Constructor for PlotSpecs
 
Method Summary
 void displayall()
          for debugging purposes displays all parsed data
 java.lang.String getURL()
          Get the URL queried for this table.
protected  double getValue(java.lang.String value)
          returns the double equivalant of entered value number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

plottype

public java.lang.String plottype
Plot type (such as scatter, histogram, cumulative, aitoff

ra_name

public java.lang.String ra_name
Name of right ascension variable in database

dec_name

public java.lang.String dec_name
Name of declination variable in database

bin

public int bin
histogram number of bins

xaxis

public java.lang.String xaxis
parameter name for xaxis name

yaxis

public java.lang.String yaxis
parameter name for yaxis name

isxlog

public boolean isxlog
indicates if the x axis is a log axis

isylog

public boolean isylog
indicates if the y axis is a log axis

xmin

public double xmin
sets xminimum range

xmax

public double xmax
sets xmaximum range

ymin

public double ymin
sets yminimum range

ymax

public double ymax
sets ymaximum range

isSample

public boolean isSample
is sampling on ?

criteria

public java.lang.String criteria
criteria to base sample parameter on

sample_param

public java.lang.String sample_param
parameter number for sample parameter

procnum

public java.lang.String procnum
Process number for creating giffile name
Constructor Detail

PlotSpecs

public PlotSpecs(java.lang.String[] args)
          throws InputException
Constructor for PlotSpecs

PlotSpecs

public PlotSpecs(SecondPanel secP,
                 ThirdPanel thirdP,
                 java.lang.String ra,
                 java.lang.String dec,
                 java.lang.String url)
          throws InputException
Constructor which takes SecondPanel and ThirdPanel objects to determine plotspecs
Method Detail

displayall

public void displayall()
for debugging purposes displays all parsed data

getValue

protected double getValue(java.lang.String value)
                   throws InputException
returns the double equivalant of entered value number

getURL

public java.lang.String getURL()
Get the URL queried for this table.