javax.media
Class RestartingEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.media.MediaEvent
              |
              +--javax.media.ControllerEvent
                    |
                    +--javax.media.TransitionEvent
                          |
                          +--javax.media.StopEvent
                                |
                                +--javax.media.RestartingEvent

public class RestartingEvent
extends StopEvent

A RestartingEvent indicates that a Controller has moved from the Started state back to the Prefetching state (a Stopped state) and intends to return to the Started state when Prefetching is complete. This occurs when a Started Player is asked to change its rate or media time and to fulfill the request must prefetch its media again.

See Also:
Controller, ControllerListener, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RestartingEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
 
Methods inherited from class javax.media.StopEvent
getMediaTime, toString
 
Methods inherited from class javax.media.TransitionEvent
getCurrentState, getPreviousState, getTargetState
 
Methods inherited from class javax.media.ControllerEvent
getSource, getSourceController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestartingEvent

public RestartingEvent(Controller from,
                       int previous,
                       int current,
                       int target,
                       Time mediaTime)


Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.