All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.tv.service.transport.ServiceDetailsChangeEvent Maven / Gradle / Ivy

The newest version!
/*
 * @(#)ServiceDetailsChangeEvent.java	1.3 00/09/05
 *
 * Copyright 1998-2000 by Sun Microsystems, Inc.,
 * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
 * All rights reserved.
 * 
 * This software is the confidential and proprietary information
 * of Sun Microsystems, Inc. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Sun.
 */

package javax.tv.service.transport;

import javax.tv.service.SIChangeType;
import javax.tv.service.navigation.ServiceDetails;


/**
 * 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 Transport
 * @see ServiceDetails
 */
public class ServiceDetailsChangeEvent extends TransportSIChangeEvent {

  /**
   * Constructs a ServiceDetailsChangeEvent.
   *
   * @param transport The Transport on which the change
   * occurred.
   *
   * @param type The type of change that occurred.
   *
   * @param s The ServiceDetails that changed.
   */
  public ServiceDetailsChangeEvent(Transport transport,
				   SIChangeType type, ServiceDetails s) {
    	super(transport, type, s);
  }

  /**
   * Reports the ServiceDetails that changed.  It will be
   * identical to the object returned by the inherited
   * SIChangeEvent.getSIElement method.
   *
   * @return The ServiceDetails that changed.  */
  public ServiceDetails getServiceDetails() {
	 return (ServiceDetails)super.getSIElement();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy