All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.hdf.awt.animation.ImageAnimation

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----ncsa.hdf.awt.animation.ImageAnimation

public class ImageAnimation
extends Frame
implements ActionListener, ItemListener, SliderListener
This main class handles an general image animation.

Version:
1.00 08/25/97
Author:
Xinjian LU

Constructor Index

 o ImageAnimation()
 o ImageAnimation(String)

Method Index

 o actionPerformed(ActionEvent)
java.awt.event.ActionListener stuff
 o dispNextImage()
 o dispose()
 o dispPrevImage()
 o getAnimatedMode()
 o getImageIndex()
 o handleButtonEvent(Button, String)
button event handling
 o itemStateChanged(ItemEvent)
java.awt.event.ItemListener stuff
 o processEvent(AWTEvent)
 o setAnimatedImage(AnimatedImageInfo[])
 o setAnimatedMode(int)
 o setCursor(Cursor)
Set the cursor image to a predefined cursor.
 o showComponent()
 o sliderStateChanged(SliderEvent)
SliderListener stuff
 o updateFrameNumber()

Constructors

 o ImageAnimation
 public ImageAnimation()
 o ImageAnimation
 public ImageAnimation(String title)

Methods

 o showComponent
 public void showComponent()
 o setAnimatedImage
 public void setAnimatedImage(AnimatedImageInfo imagesInfo[])
 o updateFrameNumber
 public void updateFrameNumber()
 o getImageIndex
 public int getImageIndex()
 o setCursor
 public void setCursor(Cursor cursor)
Set the cursor image to a predefined cursor.

Parameters:
cursorType - one of the cursor constants defined above.
Overrides:
setCursor in class Component
 o setAnimatedMode
 public void setAnimatedMode(int mode)
 o getAnimatedMode
 public int getAnimatedMode()
 o dispNextImage
 public void dispNextImage()
 o dispPrevImage
 public void dispPrevImage()
 o actionPerformed
 public void actionPerformed(ActionEvent evt)
java.awt.event.ActionListener stuff

 o handleButtonEvent
 public void handleButtonEvent(Button target,
                               String arg)
button event handling

Parameters:
target - an instance of a button
arg - title of a button
 o itemStateChanged
 public void itemStateChanged(ItemEvent e)
java.awt.event.ItemListener stuff

 o sliderStateChanged
 public void sliderStateChanged(SliderEvent evt)
SliderListener stuff

 o processEvent
 public void processEvent(AWTEvent event)
Overrides:
processEvent in class Window
 o dispose
 public void dispose()
Overrides:
dispose in class Frame

All Packages  Class Hierarchy  This Package  Previous  Next  Index