com.xuggle.mediatool
Class AMediaListenerMixin

Package class diagram package AMediaListenerMixin
java.lang.Object
  extended by com.xuggle.mediatool.AMediaListenerMixin
Direct Known Subclasses:
MediaListenerAdapter

public abstract class AMediaListenerMixin
extends Object

An abstract empty implementation of all IMediaListener methods, but does not declare IMediaListener.

This class implements every method on IMediaListener, but does nothing with the events.

This can be useful if you only want to override some members of IMediaListener; instead, just subclass this and override the methods you want, rather than providing an implementation of all event callbacks.

Mixin classes can be extended by anyone, but the extending class gets to decide which, if any, of the interfaces they actually want to support.


Constructor Summary
AMediaListenerMixin()
          Construct an empty AMediaListenerMixin.
 
Method Summary
 void onAddStream(IAddStreamEvent event)
          Empty implementation of IMediaListener.onAddStream(IAddStreamEvent).
 void onAudioSamples(IAudioSamplesEvent event)
          Empty implementation of IMediaListener.onAudioSamples(IAudioSamplesEvent).
 void onClose(ICloseEvent event)
          Empty implementation of IMediaListener.onClose(ICloseEvent).
 void onCloseCoder(ICloseCoderEvent event)
          Empty implementation of IMediaListener.onCloseCoder(ICloseCoderEvent).
 void onFlush(IFlushEvent event)
          Empty implementation of IMediaListener.onFlush(IFlushEvent).
 void onOpen(IOpenEvent event)
          Empty implementation of IMediaListener.onOpen(IOpenEvent).
 void onOpenCoder(IOpenCoderEvent event)
          Empty implementation of IMediaListener.onOpenCoder(IOpenCoderEvent).
 void onReadPacket(IReadPacketEvent event)
          Empty implementation of IMediaListener.onReadPacket(IReadPacketEvent).
 void onVideoPicture(IVideoPictureEvent event)
          Empty implementation of IMediaListener.onVideoPicture(IVideoPictureEvent).
 void onWriteHeader(IWriteHeaderEvent event)
          Empty implementation of IMediaListener.onWriteHeader(IWriteHeaderEvent).
 void onWritePacket(IWritePacketEvent event)
          Empty implementation of IMediaListener.onWritePacket(IWritePacketEvent).
 void onWriteTrailer(IWriteTrailerEvent event)
          Empty implementation of IMediaListener.onWriteTrailer(IWriteTrailerEvent).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMediaListenerMixin

public AMediaListenerMixin()
Construct an empty AMediaListenerMixin.

Method Detail

onVideoPicture

public void onVideoPicture(IVideoPictureEvent event)
Empty implementation of IMediaListener.onVideoPicture(IVideoPictureEvent).


onAudioSamples

public void onAudioSamples(IAudioSamplesEvent event)
Empty implementation of IMediaListener.onAudioSamples(IAudioSamplesEvent).


onOpen

public void onOpen(IOpenEvent event)
Empty implementation of IMediaListener.onOpen(IOpenEvent).


onClose

public void onClose(ICloseEvent event)
Empty implementation of IMediaListener.onClose(ICloseEvent).


onAddStream

public void onAddStream(IAddStreamEvent event)
Empty implementation of IMediaListener.onAddStream(IAddStreamEvent).


onOpenCoder

public void onOpenCoder(IOpenCoderEvent event)
Empty implementation of IMediaListener.onOpenCoder(IOpenCoderEvent).


onCloseCoder

public void onCloseCoder(ICloseCoderEvent event)
Empty implementation of IMediaListener.onCloseCoder(ICloseCoderEvent).


onReadPacket

public void onReadPacket(IReadPacketEvent event)
Empty implementation of IMediaListener.onReadPacket(IReadPacketEvent).


onWritePacket

public void onWritePacket(IWritePacketEvent event)
Empty implementation of IMediaListener.onWritePacket(IWritePacketEvent).


onWriteHeader

public void onWriteHeader(IWriteHeaderEvent event)
Empty implementation of IMediaListener.onWriteHeader(IWriteHeaderEvent).


onFlush

public void onFlush(IFlushEvent event)
Empty implementation of IMediaListener.onFlush(IFlushEvent).


onWriteTrailer

public void onWriteTrailer(IWriteTrailerEvent event)
Empty implementation of IMediaListener.onWriteTrailer(IWriteTrailerEvent).



Copyright © 2008, 2010 Xuggle