org.thdl.media
Class SmartJMFPlayer

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--org.thdl.media.SmartMoviePanel
                          |
                          +--org.thdl.media.SmartJMFPlayer
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class SmartJMFPlayer
extends SmartMoviePanel

See Also:
Serialized Form

Field Summary
 URL mediaURL
           
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
SmartJMFPlayer()
           
SmartJMFPlayer(Container p, URL sound)
           
 
Method Summary
 void cmd_playOn()
           
 void cmd_playSegment(Integer from, Integer to)
           
 void cmd_stop()
           
 void controllerUpdate(ControllerEvent event)
           
 void destroy()
           
 void displayBorders(boolean borders)
           
 void displayController(boolean controller)
           
 int getCurrentTime()
           
 int getEndTime()
           
 String getIdentifyingName()
           
 URL getMediaURL()
           
 boolean isInitialized()
           
 boolean isPlaying()
           
 void loadMovie(URL sound)
           
 void setParentContainer(Container c)
           
 
Methods inherited from class org.thdl.media.SmartMoviePanel
addAnnotationPlayer, cancelAnnotationTimer, cmd_firstS, cmd_isID, cmd_playFrom, cmd_playS, initForSavant, launchAnnotationTimer, removeAllAnnotationPlayers, removeAnnotationPlayer
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mediaURL

public URL mediaURL
Constructor Detail

SmartJMFPlayer

public SmartJMFPlayer()

SmartJMFPlayer

public SmartJMFPlayer(Container p,
                      URL sound)
               throws SmartMoviePanelException
Method Detail

getIdentifyingName

public String getIdentifyingName()
Specified by:
getIdentifyingName in class SmartMoviePanel

getMediaURL

public URL getMediaURL()
Specified by:
getMediaURL in class SmartMoviePanel

loadMovie

public void loadMovie(URL sound)
               throws SmartMoviePanelException
Specified by:
loadMovie in class SmartMoviePanel
SmartMoviePanelException

setParentContainer

public void setParentContainer(Container c)
Specified by:
setParentContainer in class SmartMoviePanel

destroy

public void destroy()
             throws SmartMoviePanelException
Specified by:
destroy in class SmartMoviePanel
SmartMoviePanelException

displayBorders

public void displayBorders(boolean borders)
                    throws SmartMoviePanelException
Specified by:
displayBorders in class SmartMoviePanel
SmartMoviePanelException

displayController

public void displayController(boolean controller)
                       throws SmartMoviePanelException
Specified by:
displayController in class SmartMoviePanel
SmartMoviePanelException

isInitialized

public boolean isInitialized()
Specified by:
isInitialized in class SmartMoviePanel

controllerUpdate

public void controllerUpdate(ControllerEvent event)

cmd_stop

public void cmd_stop()
              throws SmartMoviePanelException
Specified by:
cmd_stop in class SmartMoviePanel
SmartMoviePanelException

cmd_playOn

public void cmd_playOn()
                throws SmartMoviePanelException
Specified by:
cmd_playOn in class SmartMoviePanel
SmartMoviePanelException

cmd_playSegment

public void cmd_playSegment(Integer from,
                            Integer to)
                     throws SmartMoviePanelException
Specified by:
cmd_playSegment in class SmartMoviePanel
SmartMoviePanelException

isPlaying

public boolean isPlaying()
Specified by:
isPlaying in class SmartMoviePanel

getCurrentTime

public int getCurrentTime()
Specified by:
getCurrentTime in class SmartMoviePanel

getEndTime

public int getEndTime()
Specified by:
getEndTime in class SmartMoviePanel


These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo