All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ChaosDemos.movie

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----ChaosDemos.movie

public class movie
extends Panel
implements Runnable
Class to implement movie thread
Calls iterate() in parent to update equations and graph.

Version:
March 15 1997
Author:
Michael Cross

Variable Index

 o borderBottom
bottom inset
 o borderLeft
left inset
 o borderRight
right inset
 o borderTop
top inset
 o delay
delay value
 o delayString
Array of strings displayed by slider
 o delayValue
array of delay values selected by slider
 o iterate
 o scrollLineIncrement
lineIncrement of scrollbar
 o scrollMax
maximum of scrollbar
 o scrollPageIncrement
increment of scrollbar
 o scrollRange
range of scrollbar
 o scrollStart
start of scrollbar
 o scrollVisible
1 for scrollbar visible
 o speedScroll
 o toSleep
set true for sleep delay

Constructor Index

 o movie(dynamicGraph)

Method Index

 o getScrollValue()
Gets scroll bar value
 o handleEvent(Event)
Handle scrollbar events to change delay with scroll bar
 o insets()
Sets insets for scroll bar
 o run()
Thread run.
 o setDelay(int)
Sets delay.
 o setScroll()
Change parameters of scroll bar according to value of scroll variables
 o setScrollValue(int)
Sets scroll bar value
 o stopIterate()
Sets flag for iteration to false

Variables

 o speedScroll
 Scrollbar speedScroll
 o toSleep
 public boolean toSleep
set true for sleep delay

 o iterate
 public boolean iterate
 o delay
 public int delay
delay value

 o scrollMax
 public int scrollMax
maximum of scrollbar

 o scrollRange
 public int scrollRange
range of scrollbar

 o scrollStart
 public int scrollStart
start of scrollbar

 o scrollPageIncrement
 public int scrollPageIncrement
increment of scrollbar

 o scrollLineIncrement
 public int scrollLineIncrement
lineIncrement of scrollbar

 o scrollVisible
 public int scrollVisible
1 for scrollbar visible

 o borderTop
 public int borderTop
top inset

 o borderLeft
 public int borderLeft
left inset

 o borderBottom
 public int borderBottom
bottom inset

 o borderRight
 public int borderRight
right inset

 o delayValue
 public int delayValue[]
array of delay values selected by slider

 o delayString
 public String delayString[]
Array of strings displayed by slider

Constructors

 o movie
 public movie(dynamicGraph target)
Parameters:
target - parent of type dynamicGraph

Methods

 o setScroll
 public void setScroll()
Change parameters of scroll bar according to value of scroll variables

 o handleEvent
 public boolean handleEvent(Event evt)
Handle scrollbar events to change delay with scroll bar

Overrides:
handleEvent in class Component
 o run
 public void run()
Thread run. Sleep time set by delay, usually set by scroller

 o setDelay
 public void setDelay(int in_delay)
Sets delay. (Note: scroll bar is not updated)

 o setScrollValue
 public void setScrollValue(int v)
Sets scroll bar value

Parameters:
v - index of scroll delay
 o getScrollValue
 public int getScrollValue()
Gets scroll bar value

Returns:
index of scroll delay
 o insets
 public Insets insets()
Sets insets for scroll bar

Overrides:
insets in class Container
 o stopIterate
 public void stopIterate()
Sets flag for iteration to false


All Packages  Class Hierarchy  This Package  Previous  Next  Index