javax.media
Class ControllerClosedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.media.MediaEvent
              |
              +--javax.media.ControllerEvent
                    |
                    +--javax.media.ControllerClosedEvent
Direct Known Subclasses:
ControllerErrorEvent, DataLostErrorEvent

public class ControllerClosedEvent
extends ControllerEvent

A ControllerClosedEvent describes an event that is generated when an a Controller is closed. This implies that the Controller is no longer operational.

See Also:
Serialized Form

Field Summary
protected  java.lang.String message
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ControllerClosedEvent(Controller from)
          Construct a ControllerClosedEvent.
ControllerClosedEvent(Controller from, java.lang.String why)
           
 
Method Summary
 java.lang.String getMessage()
          Obtain the message describing why this event occurred.
 
Methods inherited from class javax.media.ControllerEvent
getSource, getSourceController, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

message

protected java.lang.String message
Constructor Detail

ControllerClosedEvent

public ControllerClosedEvent(Controller from)
Construct a ControllerClosedEvent.

ControllerClosedEvent

public ControllerClosedEvent(Controller from,
                             java.lang.String why)
Method Detail

getMessage

public java.lang.String getMessage()
Obtain the message describing why this event occurred.
Returns:
Message describing event cause.


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.