All Packages Class Hierarchy This Package Previous Next Index
Class graphing.applets.SecantGrapher
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----graphing.applets.Grapher
|
+----graphing.applets.ZoomGrapher
|
+----graphing.applets.SecantGrapher
- public class SecantGrapher
- extends ZoomGrapher
Formula graphing applet to demonstrate approximations to the derivative by secant lines.
- See Also:
- Grapher
-
SecantGrapher()
-
-
button(Event)
- Handles the actions associated with the various buttons.
-
getAppletInfo()
-
-
handleEvent(Event)
- Handles the checkbox to toggle the display
-
makeControlPanel()
- Lays out the buttons that we use in this applet
-
makeGraphWindow()
- Returns an instance of SecantWindow, cast to a GraphWindow.
SecantGrapher
public SecantGrapher()
getAppletInfo
public String getAppletInfo()
- Overrides:
- getAppletInfo in class ZoomGrapher
makeGraphWindow
protected GraphWindow makeGraphWindow()
- Returns an instance of SecantWindow, cast to a GraphWindow.
- Overrides:
- makeGraphWindow in class ZoomGrapher
makeControlPanel
protected Component makeControlPanel()
- Lays out the buttons that we use in this applet
- Overrides:
- makeControlPanel in class ZoomGrapher
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 SecantWindow to use the features of that class.
- Overrides:
- button in class ZoomGrapher
handleEvent
public boolean handleEvent(Event e)
- Handles the checkbox to toggle the display
- Overrides:
- handleEvent in class Component
All Packages Class Hierarchy This Package Previous Next Index