javax.media
Class DeallocateEvent

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

public class DeallocateEvent
extends StopEvent

A DeallocateEvent is posted as an acknowledgement of the invocation of the deallocate method. It implies that the scarce resources associated with this Controller are no longer available and must be reacquired.

A DeallocateEvent can be posted at any time regardless of the Controller's previous or current state. DeallocateEvent is a StopEvent because if the Controller is in the Started state when the event is posted, it transitions to one of the Stopped states.

See Also:
Controller, ControllerListener, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DeallocateEvent(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

DeallocateEvent

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


Submit a bug or feature
Copyright 1999-2000 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.