Class Scalemap

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----ChaosDemos.dynamicGraph
                                           |
                                           +----Scalemap

public class Scalemap
extends dynamicGraph

Method Index

 o disableAll()
Disables text input and choice contorls
 o enableAll()
Enables text input and choice contorls
 o function(int)
Returns map function of class variable x
 o handleEvent(Event)
Event handler: Stops iteration on minimising and handles close window event
(May fail under Windows95)
 o iterate()
Iterates class variables via map functions x->f f->f(x)
 o movieStart()
Start movie thread
 o movieStop()
Stop movie thread
 o respondToButtons(int)
Respond to buttonControls
 o respondToMouse(double, boolean, double, boolean)
Restarts iteration on mouse click
 o respondToText()
Responds to textControls
 o restart()
Resets plot by deleting all curves and restarting
 o seta(double, int)
Resets the parameter a and function number.
 o stop()
Stop thread
 o updateParameters()
Updates parameters from the text controls

Methods

 o respondToButtons
 public void respondToButtons(int buttonIndex)
Respond to buttonControls

Parameters:
buttonIndex - index of button pushed
Overrides:
respondToButtons in class dynamicGraph
See Also:
buttonControls
 o respondToText
 public void respondToText()
Responds to textControls

Overrides:
respondToText in class dynamicGraph
See Also:
textControls
 o movieStop
 public void movieStop()
Stop movie thread

 o movieStart
 public void movieStart()
Start movie thread

 o handleEvent
 public boolean handleEvent(Event evt)
Event handler: Stops iteration on minimising and handles close window event
(May fail under Windows95)

Overrides:
handleEvent in class Component
 o disableAll
 public void disableAll()
Disables text input and choice contorls

 o enableAll
 public void enableAll()
Enables text input and choice contorls

 o seta
 public void seta(double ain,
                  int n)
Resets the parameter a and function number. Stores atext for later comparison (because string truncates accuracy of double)

 o function
 public double function(int n)
Returns map function of class variable x

Parameters:
n - number of iterations
 o updateParameters
 public void updateParameters()
Updates parameters from the text controls

 o restart
 public void restart()
Resets plot by deleting all curves and restarting

 o iterate
 public boolean iterate()
Iterates class variables via map functions x->f f->f(x)

Overrides:
iterate in class dynamicGraph
 o stop
 public void stop()
Stop thread

 o respondToMouse
 public void respondToMouse(double xcoord,
                            boolean xcoordValid,
                            double ycoord,
                            boolean ycoordValid)
Restarts iteration on mouse click

Parameters:
xcoord - x-coordinate of event
xcoordValid - true if event within x-range set by axes
ycoord - y-coordinate of event
ycoordValid - true if event within y-range set by axes
Overrides:
respondToMouse in class dynamicGraph