|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ascape.movie.MovieRecorder
public abstract class MovieRecorder
A Base class for recording views.
Field Summary | |
---|---|
protected java.io.File |
file
The movie file. |
protected RecorderListener |
listener
A recorder listenening for changes. |
protected int |
recordFrameNum
THe frame number currently being recorded |
protected RecorderTarget |
target
The target we are taking a movie of. |
Constructor Summary | |
---|---|
MovieRecorder()
Called to create recording session and setup control dialog. |
|
MovieRecorder(javax.swing.JDesktopPane desktop)
Called to create recording session and setup control dialog. |
Method Summary | |
---|---|
void |
addListener(RecorderListener listener)
Sets the listener responsible for this recording. |
void |
cancelOrStop()
Called to stop or cancel recording. |
abstract void |
close()
Closes the movie and the file it is being saved to. |
protected javax.swing.JComboBox |
createQualityComboBox()
Creates a list of qualities to select. |
int |
getFramesPerSecond()
Returns the number of frames to be displayed per second. |
RecorderListener |
getListener()
Returns the listener responsible for this recording. |
java.lang.String |
getStatusMsg()
Returns a message indicating target and frame number. |
RecorderTarget |
getTarget()
Retuns the target we are recording. |
java.lang.String |
getTargetName()
|
void |
recordFrame()
Called the listener or target to record the next frame. |
protected void |
requestFile()
Called to start recording. |
abstract void |
setComponent(java.awt.Component component)
Sets the component to record. |
void |
setFile(java.io.File file)
Sets the file to save the movie to. |
void |
setFramesPerSecond(int framesPerSecond)
Sets the number of frames to be displayed per second. |
void |
setTarget(RecorderTarget recorderTarget)
Sets the target to record. |
void |
setTargetName(java.lang.String targetName)
|
void |
start()
Creates the movie, preparing it for recording of frames. |
void |
statusUpdate()
Updates the status display. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.File file
protected RecorderTarget target
protected RecorderListener listener
protected int recordFrameNum
Constructor Detail |
---|
public MovieRecorder()
public MovieRecorder(javax.swing.JDesktopPane desktop)
Method Detail |
---|
public void cancelOrStop()
protected void requestFile()
protected javax.swing.JComboBox createQualityComboBox()
public void recordFrame()
public void start()
public abstract void close()
public void statusUpdate()
public int getFramesPerSecond()
public void setFramesPerSecond(int framesPerSecond)
public void setFile(java.io.File file)
public RecorderTarget getTarget()
public void setTarget(RecorderTarget recorderTarget)
public abstract void setComponent(java.awt.Component component)
public RecorderListener getListener()
public void addListener(RecorderListener listener)
public java.lang.String getStatusMsg()
public java.lang.String getTargetName()
public void setTargetName(java.lang.String targetName)
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |