fi.hut.tml.xsmiles.gui.components
Interface XMedia

All Superinterfaces:
XComponent
All Known Subinterfaces:
XDocument
All Known Implementing Classes:
XADocument, XAMedia

public interface XMedia
extends XComponent

Interface to a media component


Method Summary
 void close()
           
 void freeze()
           
 boolean isStatic()
          Checks if this media is static or continuous.
 void pause()
           
 void play()
           
 void prefetch()
           
 void setDescription(java.lang.String s)
           
 void setMIMEType(java.lang.String mimeType)
          Force this media to use this media type
 void setURL(java.lang.String url)
          Sets the URL of the media.
 void stop()
           
 
Methods inherited from interface fi.hut.tml.xsmiles.gui.components.XComponent
addActionListener, addFocusListener, addHelpListener, addMouseListener, getComponent, getEnabled, getHeight, getSize, getStyle, getWidth, getX, getY, removeActionListener, removeFocusListener, removeHelpListener, removeMouseListener, setBackground, setBounds, setEnabled, setFocus, setForeground, setHintText, setInputMode, setStyle, setVisible, setZoom
 

Method Detail

isStatic

public boolean isStatic()
Checks if this media is static or continuous.

Returns:
true if media is static.

setDescription

public void setDescription(java.lang.String s)
Parameters:
s - Set the description of the media (This can be e.g., the ALT tag)

setURL

public void setURL(java.lang.String url)
Sets the URL of the media.


setMIMEType

public void setMIMEType(java.lang.String mimeType)
Force this media to use this media type


prefetch

public void prefetch()

play

public void play()

pause

public void pause()

stop

public void stop()

freeze

public void freeze()

close

public void close()


X-Smiles 1.2