Methods Summary |
---|
public void | audioDeviceUnavailable(javax.media.AudioDeviceUnavailableEvent e)
|
public void | cachingControl(javax.media.CachingControlEvent e)
|
public void | configureComplete(javax.media.ConfigureCompleteEvent e)
|
public void | connectionError(javax.media.ConnectionErrorEvent e)
|
public void | controllerClosed(javax.media.ControllerClosedEvent e)
|
public void | controllerError(javax.media.ControllerErrorEvent e)
|
public void | controllerUpdate(javax.media.ControllerEvent e)Main dispatching function. Subclasses should not need to
override this method, but instead subclass only the individual
event methods listed above that they need
if (e instanceof FormatChangeEvent){
formatChange((FormatChangeEvent)e);
} else if (e instanceof CachingControlEvent) {
cachingControl((CachingControlEvent)e);
} else if (e instanceof ControllerErrorEvent) {
controllerError((ControllerErrorEvent)e);
if (e instanceof DataLostErrorEvent) {
dataLostError((DataLostErrorEvent)e);
} else if (e instanceof InternalErrorEvent) {
internalError((InternalErrorEvent)e);
} else if (e instanceof ResourceUnavailableEvent) {
resourceUnavailable((ResourceUnavailableEvent)e);
} else if (e instanceof ConnectionErrorEvent) {
connectionError((ConnectionErrorEvent)e);
}
} else if (e instanceof DurationUpdateEvent) {
durationUpdate((DurationUpdateEvent)e);
} else if (e instanceof MediaTimeSetEvent) {
mediaTimeSet((MediaTimeSetEvent)e);
} else if (e instanceof RateChangeEvent) {
rateChange((RateChangeEvent)e);
} else if (e instanceof StopTimeChangeEvent) {
stopTimeChange((StopTimeChangeEvent)e);
} else if (e instanceof AudioDeviceUnavailableEvent) {
audioDeviceUnavailable((AudioDeviceUnavailableEvent)e);
} else if (e instanceof ControllerClosedEvent) {
controllerClosed((ControllerClosedEvent)e);
} else if (e instanceof SizeChangeEvent) {
sizeChange((SizeChangeEvent)e);
} else if (e instanceof TransitionEvent) {
transition((TransitionEvent)e);
if (e instanceof ConfigureCompleteEvent) {
configureComplete((ConfigureCompleteEvent)e);
} else if (e instanceof PrefetchCompleteEvent) {
prefetchComplete((PrefetchCompleteEvent)e);
} else if (e instanceof RealizeCompleteEvent) {
realizeComplete((RealizeCompleteEvent)e);
} else if (e instanceof StartEvent) {
start((StartEvent)e);
} else if (e instanceof StopEvent) {
stop((StopEvent)e);
if (e instanceof DeallocateEvent) {
deallocate((DeallocateEvent)e);
} else if (e instanceof EndOfMediaEvent) {
endOfMedia((EndOfMediaEvent)e);
} else if (e instanceof RestartingEvent) {
restarting((RestartingEvent)e);
} else if (e instanceof StopAtTimeEvent) {
stopAtTime((StopAtTimeEvent)e);
} else if (e instanceof StopByRequestEvent) {
stopByRequest((StopByRequestEvent)e);
} else if (e instanceof DataStarvedEvent) {
dataStarved((DataStarvedEvent)e);
}
}
} else if (e.getClass().getName().equals("com.ibm.media.ReplaceURLEvent")) {
// Specialized event for HotMedia playback.
replaceURL(e);
} else if (e.getClass().getName().equals("com.ibm.media.ShowDocumentEvent")) {
// Specialized event for HotMedia playback.
showDocument(e);
}
|
public void | dataLostError(javax.media.DataLostErrorEvent e)
|
public void | dataStarved(javax.media.DataStarvedEvent e)
|
public void | deallocate(javax.media.DeallocateEvent e)
|
public void | durationUpdate(javax.media.DurationUpdateEvent e)
|
public void | endOfMedia(javax.media.EndOfMediaEvent e)
|
public void | formatChange(javax.media.format.FormatChangeEvent e)
|
public void | internalError(javax.media.InternalErrorEvent e)
|
public void | mediaTimeSet(javax.media.MediaTimeSetEvent e)
|
public void | prefetchComplete(javax.media.PrefetchCompleteEvent e)
|
public void | rateChange(javax.media.RateChangeEvent e)
|
public void | realizeComplete(javax.media.RealizeCompleteEvent e)
|
public void | replaceURL(java.lang.Object e)
|
public void | resourceUnavailable(javax.media.ResourceUnavailableEvent e)
|
public void | restarting(javax.media.RestartingEvent e)
|
public void | showDocument(java.lang.Object e)
|
public void | sizeChange(javax.media.SizeChangeEvent e)
|
public void | start(javax.media.StartEvent e)
|
public void | stop(javax.media.StopEvent e)
|
public void | stopAtTime(javax.media.StopAtTimeEvent e)
|
public void | stopByRequest(javax.media.StopByRequestEvent e)
|
public void | stopTimeChange(javax.media.StopTimeChangeEvent e)
|
public void | transition(javax.media.TransitionEvent e)
|