All Packages Class Hierarchy This Package Previous Next Index
Class ejmf.examples.showcontrols.ShowControls
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.showcontrols.ShowControls
- public class ShowControls
- extends PlayerDriver
- implements ControllerListener
This example differs from GenericPlayer.java in that the
PlayerPanel will be sized for the media player's
visualComponent and controlComponent before<\b> it is shown for
the first time. It does this by calling blockingRealize()
before completing its initial GUI layout in the
constructor.
- See Also:
- PlayerPanel, GenericPlayer
-
ShowControls()
-
-
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[])
-
ShowControls
public ShowControls()
main
public static void main(String args[])
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
All Packages Class Hierarchy This Package Previous Next Index