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

javax.tv.service.guide.ProgramScheduleEvent Maven / Gradle / Ivy

/*
 * @(#)ProgramScheduleEvent.java	1.33 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.guide;

import javax.tv.service.*;


/**
 * A ProgramScheduleEvent notifies an
 * ProgramScheduleListener of changes to program events
 * detected in a ProgramSchedule.  Specifically, this
 * event signals the addition, removal, or modification of a
 * ProgramEvent in a ProgramSchedule, or a
 * change to the ProgramEvent that is current.

* * The class ProgramScheduleChangeType defines the kinds * of changes reported by ProgramScheduleEvent. A * ProgramScheduleChangeType of * CURRENT_PROGRAM_EVENT indicates that the current * ProgramEvent of a ProgramSchedule has * changed in identity. * * @see ProgramScheduleListener * @see ProgramScheduleChangeType */ public class ProgramScheduleEvent extends SIChangeEvent { /** * Constructs a ProgramScheduleEvent. * * @param schedule The schedule in which the change occurred. * * @param type The type of change that occurred. * * @param e The ProgramEvent that changed. */ public ProgramScheduleEvent(ProgramSchedule schedule, SIChangeType type, ProgramEvent e) { super(null,null,null); } /** * Reports the ProgramSchedule that generated the * event. The object returned will be identical to the object * returned by the inherited EventObject.getSource() * method. * * @return The ProgramSchedule that generated the event. * * @see java.util.EventObject#getSource **/ public ProgramSchedule getProgramSchedule() { return null; } /** * Reports the ProgramEvent that changed. If the * ProgramScheduleChangeType is * CURRENT_PROGRAM_EVENT, the ProgramEvent * that became current will be returned. The object returned will * be identical to the object returned by inherited * SIEvent.getSIElement method. * * @return The ProgramEvent that changed. * * @see javax.tv.service.SIChangeEvent#getSIElement */ public ProgramEvent getProgramEvent() { return null; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy