|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.media.ControllerEvent
org.dvb.media.PresentationChangedEvent
This event is generated whenever the content being presented by a player changes for reasons outside the control of the application. The state of the player does not change - only the content being presented.
Field Summary | |
static int |
CA_FAILURE
Presentation changed due an action by the CA subsystem. |
static int |
CA_RETURNED
Presentation changed due to an action by the CA subsystem. |
static int |
STREAM_UNAVAILABLE
The stream being presented is no longer available in the transport stream. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
PresentationChangedEvent(javax.media.Controller source,
javax.media.MediaLocator stream,
int reason)
Constructor for the event |
Method Summary | |
int |
getReason()
This method returns the reason why access has been withdrawn. |
javax.media.MediaLocator |
getStream()
This method returns the locator for the stream now being presented. |
Methods inherited from class javax.media.ControllerEvent |
getSource, getSourceController, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int STREAM_UNAVAILABLE
getReason()
,
Constant Field Valuespublic static final int CA_FAILURE
getReason()
,
Constant Field Valuespublic static final int CA_RETURNED
getReason()
,
Constant Field ValuesConstructor Detail |
public PresentationChangedEvent(javax.media.Controller source, javax.media.MediaLocator stream, int reason)
source
- the controller whose presentation changedstream
- the stream now being presented.reason
- the reason for the change encoded as one of the constants in this classMethod Detail |
public javax.media.MediaLocator getStream()
public int getReason()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |