javax.tv.service.selection
Class ServiceContextEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.tv.service.selection.ServiceContextEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PresentationChangedEvent, PresentationTerminatedEvent, RecordingTerminatedEvent, SelectionFailedEvent, ServiceContextDestroyedEvent, TimeShiftEvent

public class ServiceContextEvent
extends EventObject

The parent class for service context events.

See Also:
Serialized Form

Constructor Summary
ServiceContextEvent(ServiceContext source)
          Constructs the event.
 
Method Summary
 ServiceContext getServiceContext()
          Reports the ServiceContext that generated the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceContextEvent

public ServiceContextEvent(ServiceContext source)
Constructs the event.

Parameters:
source - The ServiceContext that generated the event.
Method Detail

getServiceContext

public ServiceContext getServiceContext()
Reports the ServiceContext that generated the event.

Returns:
The ServiceContext that generated the event.