pivot.wtk.media
Class Movie
java.lang.Object
pivot.wtk.media.Movie
- All Implemented Interfaces:
- Visual
public abstract class Movie
- extends Object
- implements Visual
Abstract base class for movies. A movie is either a bitmapped "video"
or a vector "animation".
- Author:
- tvolkert
Constructor Summary |
Movie()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
movieListeners
protected Movie.MovieListenerList movieListeners
Movie
public Movie()
getSize
public Dimensions getSize()
getTotalFrames
public abstract int getTotalFrames()
getCurrentFrame
public int getCurrentFrame()
setCurrentFrame
public void setCurrentFrame(int currentFrame)
getFrameRate
public int getFrameRate()
setFrameRate
public void setFrameRate(int frameRate)
isLooping
public boolean isLooping()
setLooping
public void setLooping(boolean looping)
play
public void play()
stop
public void stop()
isPlaying
public boolean isPlaying()
getMovieListeners
public ListenerList<MovieListener> getMovieListeners()