uchicago.src.sim.gui
Class BufferDataSource
java.lang.Object
javax.media.protocol.DataSource
javax.media.protocol.PullBufferDataSource
uchicago.src.sim.gui.BufferDataSource
- All Implemented Interfaces:
- javax.media.Controls, javax.media.protocol.Controls, javax.media.Duration
- public class BufferDataSource
- extends javax.media.protocol.PullBufferDataSource
A DataSource for turning JMF Buffers into movies. See the Java Media
Framework documentation for details.
- Version:
- $Revision: 1.3 $ $Date: 2004/11/03 19:50:59 $
- Author:
- Nick Collier
| Fields inherited from interface javax.media.Duration |
DURATION_UNBOUNDED, DURATION_UNKNOWN |
|
Constructor Summary |
BufferDataSource(int width,
int height,
int frameRate,
javax.media.format.RGBFormat format)
|
| Methods inherited from class javax.media.protocol.DataSource |
initCheck |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferDataSource
public BufferDataSource(int width,
int height,
int frameRate,
javax.media.format.RGBFormat format)
addBuffer
public void addBuffer(javax.media.Buffer buf)
cleanUp
public void cleanUp()
setLocator
public void setLocator(javax.media.MediaLocator source)
getLocator
public javax.media.MediaLocator getLocator()
getContentType
public java.lang.String getContentType()
connect
public void connect()
disconnect
public void disconnect()
start
public void start()
stop
public void stop()
getStreams
public javax.media.protocol.PullBufferStream[] getStreams()
getDuration
public javax.media.Time getDuration()
getControls
public java.lang.Object[] getControls()
getControl
public java.lang.Object getControl(java.lang.String type)