package edu.csusb.danby.graph;



import java.awt.geom.Point2D;

/**
 * Interface for calling PdfPlot
 * 
 * @author Charles S. Stanton
 * @version June 16, 2001
 */

public interface PdfPlotable
{
/**
 * getPlotPoints should return a vector of java.awt.Point2d.Float
 * These should be points on the graph of the cdf to be plotted,
 * interpolated by straight lines.
 */
    public static final int LEFT_TAIL=1;
    public static final int RIGHT_TAIL=2;
    public static final int BOTH_TAILS=3;


    public Point2D.Float[] getPlotPoints();
// lower and upper limits for graphing pdf
    //public float getLowX(); // lowest x for viewport
    //public float getHighX(); // highest x for viewport
    public float getLowY(); //usually should be 0
    public float getHighY(); //highest y for viewport
    public Point2D.Float getLowXInterval(); //(x0,y0)
    public Point2D.Float getHighXInterval(); //(x1,y1)
    public String getXAxisLabel();
    public String getTitle();
    public void reset();
    public boolean isInverseSelected();  //highlight appropriate tail for inverse
    public int getTailChoice(); // tailChoice LEFT_TAIL, RIGHT_TAIL, BOTH_TAILS
}

