Class Map2D
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----ChaosDemos.dynamicGraph
|
+----Map2D
- public class Map2D
- extends dynamicGraph
Iterates and plots various 2D maps
Uses the "Java Graph Class Library" by Leigh Brookshaw
- Version:
- 3 August, 1997
- Author:
- Michael Cross
-
documentBase
- location of marker.txt
-
nParameters
-
-
Map2D(startMap2D, URL)
-
-
addToGraph(Graphics, Rectangle)
- Adds boxes to graph
-
disableAll()
- Disables text input in variables
-
enableAll()
-
Enables text input in variables
-
handleEvent(Event)
- Event handler:
Stops iteration on minimising and handles close window event
(May fail under Windows95)
-
insets()
-
-
iterate()
- Iterates map and updates graph
-
movieStart()
- Start movie thread
-
movieStop()
- Stop movie thread
-
respondToButtons(int)
- Respond to buttonControls
-
respondToMouse(double, boolean, double, boolean)
- Stub method to respond to mouse event on graph.
-
respondToSliderButtons()
- Responds to buttons in sliderControls
-
respondToSliderText()
- Responds to text boxes in sliderControls
-
respondToText()
- Responds to textControls
-
restart()
- Resets plot by deleting all curves and restarting
-
setAxesDefaults()
- Sets axes defaults based on type of plot
-
stop()
- Stop thread and close fit window
-
updateParameters()
- Updates parameters from the sliderControls
-
updateVariables()
- Update parameters form the textControls
documentBase
URL documentBase
- location of marker.txt
nParameters
int nParameters
Map2D
public Map2D(startMap2D target,
URL in_documentBase)
- Parameters:
- target - starting class
- See Also:
- startMap2D
respondToText
public void respondToText()
- Responds to textControls
- Overrides:
- respondToText in class dynamicGraph
- See Also:
- textControls
respondToSliderButtons
public void respondToSliderButtons()
- Responds to buttons in sliderControls
- Overrides:
- respondToSliderButtons in class dynamicGraph
- See Also:
- sliderControls
respondToSliderText
public void respondToSliderText()
- Responds to text boxes in sliderControls
- Overrides:
- respondToSliderText in class dynamicGraph
- See Also:
- sliderControls
respondToMouse
public void respondToMouse(double xcoord,
boolean xcoordValid,
double ycoord,
boolean ycoordValid)
- Stub method to respond to mouse event on graph.
- Overrides:
- respondToMouse in class dynamicGraph
insets
public Insets insets()
- Overrides:
- insets in class Container
movieStop
public void movieStop()
- Stop movie thread
movieStart
public void movieStart()
- Start movie thread
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
disableAll
public void disableAll()
- Disables text input in variables
enableAll
public void enableAll()
- Enables text input in variables
updateParameters
public void updateParameters()
- Updates parameters from the sliderControls
updateVariables
public void updateVariables()
- Update parameters form the textControls
restart
public void restart()
- Resets plot by deleting all curves and restarting
iterate
public boolean iterate()
- Iterates map and updates graph
- Overrides:
- iterate in class dynamicGraph
stop
public void stop()
- Stop thread and close fit window
respondToButtons
public void respondToButtons(int buttonIndex)
- Respond to buttonControls
- Parameters:
- buttonIndex - index of button pushed
- Overrides:
- respondToButtons in class dynamicGraph
- See Also:
- buttonControls
addToGraph
public void addToGraph(Graphics g,
Rectangle r)
- Adds boxes to graph
- Parameters:
- g - Graphics context
- r - data rectangle of graph
- Overrides:
- addToGraph in class dynamicGraph
setAxesDefaults
public void setAxesDefaults()
- Sets axes defaults based on type of plot