|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.gui.MovieMaker
Takes DisplaySurface images and makes movies out of them. All messages sent to this class should be done through DisplaySurface.
| Constructor Summary | |
MovieMaker(int width,
int height,
int frameRate,
String fileName,
String movieType)
|
|
| Method Summary | |
void |
addImageAsFrame(Image image)
Adds an image to a movie as a frame with a default sleep value of 40 |
void |
addImageAsFrame(Image image,
int sleepCount)
Adds an image to a movie as a frame. |
void |
cleanUp()
|
void |
controllerUpdate(javax.media.ControllerEvent evt)
|
void |
dataSinkUpdate(javax.media.datasink.DataSinkEvent evt)
|
boolean |
init(javax.media.format.RGBFormat format)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MovieMaker(int width,
int height,
int frameRate,
String fileName,
String movieType)
| Method Detail |
public boolean init(javax.media.format.RGBFormat format)
public void addImageAsFrame(Image image)
image - the image to add as a frame
public void addImageAsFrame(Image image,
int sleepCount)
image - the image to add as a framesleepCount - the amount to pause for writing images to diskpublic void cleanUp()
public void controllerUpdate(javax.media.ControllerEvent evt)
controllerUpdate in interface javax.media.ControllerListenerpublic void dataSinkUpdate(javax.media.datasink.DataSinkEvent evt)
dataSinkUpdate in interface javax.media.datasink.DataSinkListener
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||