|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.media.ControllerAdapter | +--javax.media.bean.playerbean.MediaPlayer.InternalControllerAdapter
InternalControllerAdapter: Inner class to catch player event
Constructor Summary | |
MediaPlayer.InternalControllerAdapter(MediaPlayer b)
Constructs an InternalControllerAdapter . |
Method Summary | |
void |
cachingControl(CachingControlEvent e)
When the caching event generated, if no progress bar, then create it, if download completed, remove the progress bar. |
void |
controllerError(ControllerErrorEvent e)
When the player has an error condition occur, log the error message. |
void |
endOfMedia(EndOfMediaEvent e)
When the player reach the end of media, if loop is set, restart it. |
void |
formatChange(FormatChangeEvent e)
When player format changes, remove the old visual component then create the new one. |
void |
prefetchComplete(PrefetchCompleteEvent e)
When the player is Prefetched, removes the progress bar, sets the size, and sets the visual component visible |
void |
realizeComplete(RealizeCompleteEvent e)
When the player is Realized, it calls doRealize internal function to get the visual, gain, control components and add them to the panel of bean. |
void |
replaceURL(java.lang.Object e)
Replaces the URL that is invoked when a hot link to a new URL is triggered. |
void |
showDocument(java.lang.Object e)
Displays the html document which is invoked when a hotlink to a html is triggered in a mvr file |
void |
sizeChange(SizeChangeEvent e)
When the input video has changed in size, recalculate, and redraw. |
void |
start(StartEvent e)
When the player is started. |
void |
transition(TransitionEvent e)
Gets the current state. |
Methods inherited from class javax.media.ControllerAdapter |
audioDeviceUnavailable, configureComplete, connectionError, controllerClosed, controllerUpdate, dataLostError, dataStarved, deallocate, durationUpdate, internalError, mediaTimeSet, rateChange, resourceUnavailable, restarting, stop, stopAtTime, stopByRequest, stopTimeChange |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MediaPlayer.InternalControllerAdapter(MediaPlayer b)
InternalControllerAdapter
.
b
- Instance of MediaPlayer
beanMethod Detail |
public void replaceURL(java.lang.Object e)
replaceURL
in class ControllerAdapter
public void showDocument(java.lang.Object e)
showDocument
in class ControllerAdapter
public void transition(TransitionEvent e)
transition
in class ControllerAdapter
public void realizeComplete(RealizeCompleteEvent e)
realizeComplete
in class ControllerAdapter
public void prefetchComplete(PrefetchCompleteEvent e)
prefetchComplete
in class ControllerAdapter
public void formatChange(FormatChangeEvent e)
formatChange
in class ControllerAdapter
public void start(StartEvent e)
start
in class ControllerAdapter
public void endOfMedia(EndOfMediaEvent e)
endOfMedia
in class ControllerAdapter
public void controllerError(ControllerErrorEvent e)
controllerError
in class ControllerAdapter
public void sizeChange(SizeChangeEvent e)
sizeChange
in class ControllerAdapter
public void cachingControl(CachingControlEvent e)
cachingControl
in class ControllerAdapter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |