All Packages Class Hierarchy This Package Previous Next Index
Class ejmf.examples.cachingplayer.CachingPlayer
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----com.sun.java.swing.JApplet
|
+----ejmf.toolkit.util.PlayerDriver
|
+----ejmf.examples.cachingplayer.CachingPlayer
- public class CachingPlayer
- extends PlayerDriver
- implements ControllerListener
This example provides support for a Player's CachingControl.
When a CachingControlEvent is posted by the Player, the
CachingPlayer gets both the progress bar Component and the
progress control Component and displays them in a JFrame.
- See Also:
- PlayerDriver, GenericPlayer
-
CachingPlayer()
-
-
begin()
- An abstract method that should be overridden to begin the
playback of the media once the GUI layout has taken place.
-
controllerUpdate(ControllerEvent)
- This controllerUpdate function must be defined in order to
implement a ControllerListener interface.
-
main(String[])
- Starts the media player
-
updateCacheMonitor(CachingControl)
-
CachingPlayer
public CachingPlayer()
main
public static void main(String args[])
- Starts the media player
begin
public void begin()
- An abstract method that should be overridden to begin the
playback of the media once the GUI layout has taken place.
- Overrides:
- begin in class PlayerDriver
controllerUpdate
public void controllerUpdate(ControllerEvent event)
- This controllerUpdate function must be defined in order to
implement a ControllerListener interface. This
function will be called whenever there is a media event.
- Parameters:
- event
- the media event
updateCacheMonitor
public synchronized void updateCacheMonitor(CachingControl cache)
All Packages Class Hierarchy This Package Previous Next Index