Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.tv.service.transport
Class ServiceDetailsChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.tv.service.SIChangeEvent
          extended byjavax.tv.service.transport.TransportSIChangeEvent
              extended byjavax.tv.service.transport.ServiceDetailsChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class ServiceDetailsChangeEvent
extends TransportSIChangeEvent

A ServiceDetailsChangeEvent notifies an ServiceDetailsChangeListener of changes detected to a ServiceDetails on a Transport. Specifically, this event signals the addition, removal, or modification of a ServiceDetails.

See Also:
Transport, ServiceDetails, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ServiceDetailsChangeEvent(Transport transport, SIChangeType type, ServiceDetails s)
          Constructs a ServiceDetailsChangeEvent.
 
Method Summary
 ServiceDetails getServiceDetails()
          Reports the ServiceDetails that changed.
 
Methods inherited from class javax.tv.service.transport.TransportSIChangeEvent
getTransport
 
Methods inherited from class javax.tv.service.SIChangeEvent
getChangeType, getSIElement
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceDetailsChangeEvent

public ServiceDetailsChangeEvent(Transport transport,
                                 SIChangeType type,
                                 ServiceDetails s)
Constructs a ServiceDetailsChangeEvent.

Parameters:
transport - The Transport on which the change occurred.
type - The type of change that occurred.
s - The ServiceDetails that changed.
Method Detail

getServiceDetails

public ServiceDetails getServiceDetails()
Reports the ServiceDetails that changed. It will be identical to the object returned by the inherited SIChangeEvent.getSIElement method.

Returns:
The ServiceDetails that changed.

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.