All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.jmf.MultiPlayer.MediaGroup
java.lang.Object
|
+----com.ibm.jmf.MultiPlayer.MediaGroup
- public class MediaGroup
- extends Object
This class contains the objects that makes up a media group
which the multiplayer bean can manipulate. It consists of
mediaName - the name of the media, i.e. http://server/sample.mov
gifName - the name of the image for a button, if no button image is
supplied, the Media group's index will be used for the button.
index - the index of the Media Group within the Multiplayer
player - the player that actually runs the media file
related - which a set of related links that pertain to the media
-
button
-
-
caption
-
-
gifName
-
-
index
-
-
isButtonGif
-
-
mediaName
-
-
player
-
-
related
-
-
MediaGroup(String, String, boolean, String, MultiPlayerBean)
-
MediaGroup():
constructor - not used (future)
-
MediaGroup(String, String, String, MultiPlayerBean)
-
MediaGroup():
constructor
-
delete()
-
delete():
delete itself from the owners list of media groups
-
finalize()
-
finalize():
finalize called when destroyed
-
getButton()
-
getButton():
returns the Image button that starts this media group
-
getIndex()
-
getIndex():
returns the index links for this media group
-
getPlayer()
-
getPlayer():
returns the player corresponding to this media group
-
getRelated()
-
getRelated():
returns the Vector of related links for this media group
-
isButtonGif()
- isButtonGif():
is the button a gif (default)
-
setButton(ImageButton)
-
setButton():
sets the button for this media group
-
setIndex(int)
-
setIndex():
sets the index for this media group
-
setIsButtonGif(boolean)
- setIsButtonGif():
sets the value of the isButtonGif
-
setPlayer(JMFPlayer)
- setPlayer():
sets the player variable when the player is formed
-
setRelated(RelatedLink)
- setRelated():
inserts the related link into the Vector of related links,
according to the start time
mediaName
public String mediaName
gifName
public String gifName
isButtonGif
boolean isButtonGif
index
int index
caption
String caption
player
JMFPlayer player
button
ImageButton button
related
Vector related
MediaGroup
public MediaGroup(String media,
String gif,
String caption,
MultiPlayerBean o)
- MediaGroup():
constructor
- Parameters:
- media - URL name of the media clip
- gif - URL name of the button gif
- caption - description of the media (future)
- o - the multiplayerbean that owns this media group
MediaGroup
public MediaGroup(String media,
String gif,
boolean isGif,
String caption,
MultiPlayerBean o)
- MediaGroup():
constructor - not used (future)
- Parameters:
- media - URL name of the media clip
- gif - URL name of the button gif
- isGif - if the gif is a Gif file or not. Could be a text string later
- caption - description of the media (future)
- o - the multiplayerbean that owns this media group
finalize
protected void finalize() throws Throwable
- finalize():
finalize called when destroyed
- Overrides:
- finalize in class Object
setPlayer
public void setPlayer(JMFPlayer pb)
- setPlayer():
sets the player variable when the player is formed
getPlayer
public JMFPlayer getPlayer()
- getPlayer():
returns the player corresponding to this media group
- Returns:
- PlayerBean The PlayerBean for this media group
setButton
public void setButton(ImageButton b)
- setButton():
sets the button for this media group
- Parameters:
- ImageButton - : the button that starts this media group
getButton
public ImageButton getButton()
- getButton():
returns the Image button that starts this media group
- Returns:
- ImageButton the button that starts this media group
setIsButtonGif
public void setIsButtonGif(boolean b)
- setIsButtonGif():
sets the value of the isButtonGif
isButtonGif
public boolean isButtonGif()
- isButtonGif():
is the button a gif (default)
delete
public void delete()
- delete():
delete itself from the owners list of media groups
setRelated
public void setRelated(RelatedLink l)
- setRelated():
inserts the related link into the Vector of related links,
according to the start time
setIndex
public void setIndex(int i)
- setIndex():
sets the index for this media group
- Parameters:
- int - : index to set to
getIndex
public int getIndex()
- getIndex():
returns the index links for this media group
- Returns:
- int
getRelated
public Vector getRelated()
- getRelated():
returns the Vector of related links for this media group
- Returns:
- Vector
All Packages Class Hierarchy This Package Previous Next Index