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
-
borderBottom
- bottom inset
-
borderLeft
- left inset
-
borderRight
- right inset
-
borderTop
- top inset
-
delay
- delay value
-
delayString
- Array of strings displayed by slider
-
delayValue
- array of delay values selected by slider
-
iterate
-
-
scrollLineIncrement
- lineIncrement of scrollbar
-
scrollMax
- maximum of scrollbar
-
scrollPageIncrement
- increment of scrollbar
-
scrollRange
- range of scrollbar
-
scrollStart
- start of scrollbar
-
scrollVisible
- 1 for scrollbar visible
-
speedScroll
-
-
toSleep
- set true for sleep delay
-
movie(dynamicGraph)
-
-
getScrollValue()
- Gets scroll bar value
-
handleEvent(Event)
- Handle scrollbar events to change delay with scroll bar
-
insets()
- Sets insets for scroll bar
-
run()
- Thread run.
-
setDelay(int)
- Sets delay.
-
setScroll()
- Change parameters of scroll bar according to value of scroll
variables
-
setScrollValue(int)
- Sets scroll bar value
-
stopIterate()
- Sets flag for iteration to false
speedScroll
Scrollbar speedScroll
toSleep
public boolean toSleep
- set true for sleep delay
iterate
public boolean iterate
delay
public int delay
- delay value
scrollMax
public int scrollMax
- maximum of scrollbar
scrollRange
public int scrollRange
- range of scrollbar
scrollStart
public int scrollStart
- start of scrollbar
scrollPageIncrement
public int scrollPageIncrement
- increment of scrollbar
scrollLineIncrement
public int scrollLineIncrement
- lineIncrement of scrollbar
scrollVisible
public int scrollVisible
- 1 for scrollbar visible
borderTop
public int borderTop
- top inset
borderLeft
public int borderLeft
- left inset
borderBottom
public int borderBottom
- bottom inset
borderRight
public int borderRight
- right inset
delayValue
public int delayValue[]
- array of delay values selected by slider
delayString
public String delayString[]
- Array of strings displayed by slider
movie
public movie(dynamicGraph target)
- Parameters:
- target - parent of type dynamicGraph
setScroll
public void setScroll()
- Change parameters of scroll bar according to value of scroll
variables
handleEvent
public boolean handleEvent(Event evt)
- Handle scrollbar events to change delay with scroll bar
- Overrides:
- handleEvent in class Component
run
public void run()
- Thread run. Sleep time set by delay, usually set by scroller
setDelay
public void setDelay(int in_delay)
- Sets delay. (Note: scroll bar is not updated)
setScrollValue
public void setScrollValue(int v)
- Sets scroll bar value
- Parameters:
- v - index of scroll delay
getScrollValue
public int getScrollValue()
- Gets scroll bar value
- Returns:
- index of scroll delay
insets
public Insets insets()
- Sets insets for scroll bar
- Overrides:
- insets in class Container
stopIterate
public void stopIterate()
- Sets flag for iteration to false
All Packages Class Hierarchy This Package Previous Next Index