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
-
IntegGrapher()
-
-
button(Event)
- Handles the actions associated with the various buttons.
-
getAppletInfo()
-
-
handleEvent(Event)
- Handles the scrollbar
-
makeControlPanel()
- Lays out the buttons that we use in this applet
-
makeGraphWindow()
- Returns an instance of IntegWindow, cast to a GraphWindow.
IntegGrapher
public IntegGrapher()
getAppletInfo
public String getAppletInfo()
- Overrides:
- getAppletInfo in class Grapher
makeGraphWindow
protected GraphWindow makeGraphWindow()
- Returns an instance of IntegWindow, cast to a GraphWindow.
- Overrides:
- makeGraphWindow in class Grapher
makeControlPanel
protected Component makeControlPanel()
- Lays out the buttons that we use in this applet
- Overrides:
- makeControlPanel in class Grapher
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
handleEvent
public boolean handleEvent(Event e)
- Handles the scrollbar
- Overrides:
- handleEvent in class Component
All Packages Class Hierarchy This Package Previous Next Index