Class edu.umn.geom.IFSoft.AnimPanel
All Packages Class Hierarchy This Package Previous Next Index
Class edu.umn.geom.IFSoft.AnimPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----edu.umn.geom.IFSoft.AnimPanel
- public class AnimPanel
- extends Panel
This panel provides the basis for animation. It contains an IfsPanel to create
the fractals in, and a number of methods for setting up, making, and controlling
animations.
-
acon
- All the user controls for the program live here.
-
bpans
- Each key frame has a BigPanel, in which it is stored and adjusted.
-
frames
- Each frame is an image.
-
ifspan
- The AnimPanel uses an IfsPanel for making individual frames.
-
AnimPanel()
-
-
addKeyFrame(int)
- Add a new key frame.
-
delKeyFrame(int)
- Delete a key frame.
-
finalize()
-
-
makeAnim(double[][][])
-
-
paint(Graphics)
- If there is an animation made paint puts up the current frame (curframe), if
not it doesn't do anything.
-
setUpPath(int[])
- Set up the transformations in each frame.
-
showAnim(int)
- Show the animation.
bpans
public Vector bpans
- Each key frame has a BigPanel, in which it is stored and adjusted. These are
stored in this Vector.
ifspan
public IfsPanel ifspan
- The AnimPanel uses an IfsPanel for making individual frames.
- See Also:
- IfsPanel
acon
public AnimCon acon
- All the user controls for the program live here.
- See Also:
- AnimCon
frames
public Image frames[]
- Each frame is an image. They are stored here.
AnimPanel
public AnimPanel()
finalize
protected void finalize() throws Throwable
- Overrides:
- finalize in class Object
paint
public void paint(Graphics g)
- If there is an animation made paint puts up the current frame (curframe), if
not it doesn't do anything.
- Overrides:
- paint in class Component
addKeyFrame
public BigPanel addKeyFrame(int framepos)
- Add a new key frame. When possible the settings are the same as the
key frame just before.
- Parameters:
- framepos - The new key frame becomes number framepos, the one that was
at framepos gets bumped up one, along with all the other
higher ones.
delKeyFrame
public void delKeyFrame(int framepos)
- Delete a key frame.
- Parameters:
- framepos - The key frame to delete.
makeAnim
public void makeAnim(double settings[][][])
showAnim
public void showAnim(int framepause)
- Show the animation.
- Parameters:
- framepause - Time in milliseconds to sleep after putting up each frame.
setUpPath
public double[][][] setUpPath(int slices[])
- Set up the transformations in each frame.
- Parameters:
- slices - How many frames go between each key frame.
- Returns:
- The settings[][][] used by makeAnim(int setting[][][]).
All Packages Class Hierarchy This Package Previous Next Index