org.ocap.shared.media
Class EndOfContentEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.media.ControllerEvent
          extended by javax.media.RateChangeEvent
              extended by org.ocap.shared.media.EndOfContentEvent
All Implemented Interfaces:
java.io.Serializable, javax.media.MediaEvent

public class EndOfContentEvent
extends javax.media.RateChangeEvent

EndOfContentEvent is a RateChangeEvent that is posted when the rate change is due to a forward playback hitting the end of the stored context, or a forward playback catching up with the live recording point.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EndOfContentEvent(javax.media.Controller from, float newRate)
          Create a EndOfContentEvent.
 
Method Summary
 
Methods inherited from class javax.media.RateChangeEvent
getRate
 
Methods inherited from class javax.media.ControllerEvent
getSource, getSourceController
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EndOfContentEvent

public EndOfContentEvent(javax.media.Controller from,
                         float newRate)
Create a EndOfContentEvent.

Parameters:
from - the controller that is generating the event.
newRate - the new rate following the rate change