Class BufferSourceStream

java.lang.Object
repast.simphony.ui.widget.BufferSourceStream
All Implemented Interfaces:
javax.media.Controls, javax.media.protocol.Controls, javax.media.protocol.PullBufferStream, javax.media.protocol.SourceStream

public class BufferSourceStream extends Object implements javax.media.protocol.PullBufferStream
A DataSourceStream for turning JMF Buffers into movies.
Author:
Nick Collier
  • Constructor Details

    • BufferSourceStream

      public BufferSourceStream(javax.media.format.RGBFormat aFormat)
  • Method Details

    • addBuffer

      public void addBuffer(javax.media.Buffer buf)
    • waitForDone

      public void waitForDone()
    • willReadBlock

      public boolean willReadBlock()
      Specified by:
      willReadBlock in interface javax.media.protocol.PullBufferStream
    • read

      public void read(javax.media.Buffer buf)
      Specified by:
      read in interface javax.media.protocol.PullBufferStream
    • getFormat

      public javax.media.Format getFormat()
      Specified by:
      getFormat in interface javax.media.protocol.PullBufferStream
    • getContentDescriptor

      public javax.media.protocol.ContentDescriptor getContentDescriptor()
      Specified by:
      getContentDescriptor in interface javax.media.protocol.SourceStream
    • getContentLength

      public long getContentLength()
      Specified by:
      getContentLength in interface javax.media.protocol.SourceStream
    • endOfStream

      public boolean endOfStream()
      Specified by:
      endOfStream in interface javax.media.protocol.SourceStream
    • getControls

      public Object[] getControls()
      Specified by:
      getControls in interface javax.media.Controls
    • getControl

      public Object getControl(String type)
      Specified by:
      getControl in interface javax.media.Controls