All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class graphing.SecantWindow

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----graphing.GraphWindow
                           |
                           +----graphing.ZoomGraphWindow
                                   |
                                   +----graphing.TraceGraphWindow
                                           |
                                           +----graphing.DispTraceGraphWindow
                                                   |
                                                   +----graphing.SecantWindow

public class SecantWindow
extends DispTraceGraphWindow
A SecantWindow demonstrates the behavior of secant lines on the graph of a function. It is a DispTraceGraphWindow which displays a single function, on which two TraceGraphNodes can be moved. As they move, a secant line is drawn between them, and the slope of the line is displayed (if the boolean switch display is set).


Constructor Index

 o SecantWindow()
 o SecantWindow(double, double, double, double)
 o SecantWindow(double, double, double, double, double, double)
Switch for displaying the slope of the secant line

Method Index

 o paint(Graphics)

Constructors

 o SecantWindow
  public SecantWindow(double xMin,
                      double xMax,
                      double xScale,
                      double yMin,
                      double yMax,
                      double yScale)
Switch for displaying the slope of the secant line

 o SecantWindow
  public SecantWindow(double xMin,
                      double xMax,
                      double yMin,
                      double yMax)
 o SecantWindow
  public SecantWindow()

Methods

 o paint
  public void paint(Graphics g)
Overrides:
paint in class DispTraceGraphWindow

All Packages  Class Hierarchy  This Package  Previous  Next  Index