Java DTV API 1.3
18-Nov-2009

com.sun.dtv.media.format
Class VideoPresentationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.media.ControllerEvent
          extended by com.sun.dtv.media.format.VideoPresentationEvent
All Implemented Interfaces:
Serializable, MediaEvent

public class VideoPresentationEvent
extends ControllerEvent

Event to inform about changes in the Video presentation.

See Also:
Serialized Form

Field Summary
static int PRESENTATION_CHANGED
          Constant indicating that presentation has changed, but is still available.
static int STREAM_IS_CA_PROTECTED
          Constant indicating that stream is ca protected.
static int STREAM_IS_UNAVAILABLE
          Constant indicating that stream is not available.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
VideoPresentationEvent(Controller controller, int type)
          Constructor for the VideoPresentationEvent, the Controller is the source of the event.
 
Method Summary
 Controller getController()
          Returns the Controller that is the source of the event.
 int getEventType()
          Returns the type of event that happened during the stream presentation.
 
Methods inherited from class javax.media.ControllerEvent
getSource, getSourceController
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STREAM_IS_CA_PROTECTED

public static final int STREAM_IS_CA_PROTECTED
Constant indicating that stream is ca protected.

See Also:
Constant Field Values

STREAM_IS_UNAVAILABLE

public static final int STREAM_IS_UNAVAILABLE
Constant indicating that stream is not available.

See Also:
Constant Field Values

PRESENTATION_CHANGED

public static final int PRESENTATION_CHANGED
Constant indicating that presentation has changed, but is still available.

See Also:
Constant Field Values
Constructor Detail

VideoPresentationEvent

public VideoPresentationEvent(Controller controller,
                              int type)
Constructor for the VideoPresentationEvent, the Controller is the source of the event.

Parameters:
controller - source of the Event
type - the event type, MUST be one of the predefined integer values in this class
Method Detail

getController

public Controller getController()
Returns the Controller that is the source of the event.

Returns:
the controller that created the event

getEventType

public int getEventType()
Returns the type of event that happened during the stream presentation. MUST be one the defined pre-defined integer values in this class.

Returns:
the event type

Java DTV API 1.3
18-Nov-2009

Copyright © 2008-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.

U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Use of this document is subject to license terms.