All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class graphing.applets.IntegGrapher

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----graphing.applets.Grapher
                                           |
                                           +----graphing.applets.IntegGrapher

public class IntegGrapher
extends Grapher
Formula graphing applet to demonstrate approximations to the integral.

See Also:
Grapher

Constructor Index

 o IntegGrapher()

Method Index

 o button(Event)
Handles the actions associated with the various buttons.
 o getAppletInfo()
 o handleEvent(Event)
Handles the scrollbar
 o makeControlPanel()
Lays out the buttons that we use in this applet
 o makeGraphWindow()
Returns an instance of IntegWindow, cast to a GraphWindow.

Constructors

 o IntegGrapher
  public IntegGrapher()

Methods

 o getAppletInfo
  public String getAppletInfo()
Overrides:
getAppletInfo in class Grapher
 o makeGraphWindow
  protected GraphWindow makeGraphWindow()
Returns an instance of IntegWindow, cast to a GraphWindow.

Overrides:
makeGraphWindow in class Grapher
 o makeControlPanel
  protected Component makeControlPanel()
Lays out the buttons that we use in this applet

Overrides:
makeControlPanel in class Grapher
 o button
  public boolean button(Event e)
Handles the actions associated with the various buttons. All the buttons used in Grapher appear here too, and are handled by the superclass. The graphing panel is our inherited copy of Grapher.gw, which is a GraphWindow, so this method needs to cast Grapher.gw to an IntegWindow to use the features of that class.

Overrides:
button in class Grapher
 o handleEvent
  public boolean handleEvent(Event e)
Handles the scrollbar

Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index