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.