All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.jmf.MultiPlayer.MultiPlayerCustomizer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.jmf.MultiPlayer.CustomizerSupport
                                   |
                                   +----com.ibm.jmf.MultiPlayer.PlayerCustomizer
                                           |
                                           +----com.ibm.jmf.MultiPlayer.MultiPlayerCustomizer

public class MultiPlayerCustomizer
extends PlayerCustomizer
implements Serializable, ActionListener, ItemListener
This is the customizer for MultiPlayer Bean


Variable Index

 o add
 o addC
 o addLink
 o addLinkC
 o button
 o buttonChoice
 o buttonField
 o buttonURL
 o codebase
 o del
 o delC
 o delLink
 o delLinkC
 o doneB
 o doneLinkC
 o down
 o downC
 o fileS
 o guiE
 o http
 o linkC
 o linkFrame
 o links
 o media
 o mediaChoice
 o mediaField
 o mediaURL
 o mpBean
 o newValue
 o oldValue
 o refresh
 o refreshC
 o related
 o relatedField
 o start
 o startField
 o stop
 o stopField
 o up
 o upC

Constructor Index

 o MultiPlayerCustomizer()

Method Index

 o actionPerformed(ActionEvent)
actionPerformed(): This actionPerformed method must be defined in order to implement the java.media.ActionListener interface.
 o addNotify()
addNotify(): Notifies this component that it has been added to a container and if a peer is required, it should be created.
 o createGUI()
createGUI(): Creates a panel that contains components needed for the Customizer.
 o getPreferredSize()
getPreferredSize(): returns the preferred size for this Customizer.
 o itemStateChanged(ItemEvent)
itemStateChanged(): This itemStateChanged method must be defined in order to implement the java.media.ItemListener interface.
 o linksPanel()
linksPanel(): Brings up the links panel for a new related links for a media group
 o processDel()
processDel(): process the deletion of a media group
 o setCenterLocation(Frame, Frame, int, int)
setCenterLocation(): bring the frame up in the center of the parent, if no parent, then center of the screen
 o setObject(Object)
setObject(): initializes the bean, PropertyChangeSupport, GUI Panels, and bean class.
 o supportsCustomEditor()
supportCustomEditor(): Has to return true for custom-built editors.

Variables

 o oldValue
 transient MediaGroup oldValue[]
 o newValue
 transient MediaGroup newValue[]
 o mpBean
 public MultiPlayerBean mpBean
 o media
 List media
 o button
 List button
 o mediaURL
 Label mediaURL
 o buttonURL
 Label buttonURL
 o add
 Button add
 o del
 Button del
 o links
 Button links
 o refresh
 Button refresh
 o up
 Button up
 o down
 Button down
 o guiE
 Enclosure guiE
 o mediaChoice
 Choice mediaChoice
 o buttonChoice
 Choice buttonChoice
 o mediaField
 TextField mediaField
 o buttonField
 TextField buttonField
 o codebase
 String codebase
 o http
 String http
 o fileS
 String fileS
 o linkFrame
 MultiPlayerCustomizer. DTFrame linkFrame
 o related
 List related
 o start
 List start
 o stop
 List stop
 o relatedField
 TextField relatedField
 o startField
 TextField startField
 o stopField
 TextField stopField
 o addLink
 Button addLink
 o delLink
 Button delLink
 o doneB
 Button doneB
 o addC
 String addC
 o delC
 String delC
 o upC
 String upC
 o downC
 String downC
 o linkC
 String linkC
 o refreshC
 String refreshC
 o addLinkC
 String addLinkC
 o delLinkC
 String delLinkC
 o doneLinkC
 String doneLinkC

Constructors

 o MultiPlayerCustomizer
 public MultiPlayerCustomizer()

Methods

 o setObject
 public void setObject(Object bn)
setObject(): initializes the bean, PropertyChangeSupport, GUI Panels, and bean class.

Parameters:
Object - : the instantiated bean
Overrides:
setObject in class CustomizerSupport
 o addNotify
 public void addNotify()
addNotify(): Notifies this component that it has been added to a container and if a peer is required, it should be created.

Overrides:
addNotify in class Panel
 o supportsCustomEditor
 public boolean supportsCustomEditor()
supportCustomEditor(): Has to return true for custom-built editors.

Returns:
Boolean
 o createGUI
 protected void createGUI()
createGUI(): Creates a panel that contains components needed for the Customizer.

Overrides:
createGUI in class CustomizerSupport
 o getPreferredSize
 public Dimension getPreferredSize()
getPreferredSize(): returns the preferred size for this Customizer.

Returns:
Dimension
Overrides:
getPreferredSize in class Container
 o actionPerformed
 public void actionPerformed(ActionEvent e)
actionPerformed(): This actionPerformed method must be defined in order to implement the java.media.ActionListener interface. This method will be called whenever there is an action event.

Parameters:
java.awt.event.ActionEvent - e: the action event that is happening
 o itemStateChanged
 public void itemStateChanged(ItemEvent e)
itemStateChanged(): This itemStateChanged method must be defined in order to implement the java.media.ItemListener interface. This method will be called whenever there is an Item event.

Parameters:
java.awt.event.ItemEvent - e: the item event that is happening
 o processDel
 public void processDel()
processDel(): process the deletion of a media group

 o linksPanel
 public void linksPanel()
linksPanel(): Brings up the links panel for a new related links for a media group

 o setCenterLocation
 public static void setCenterLocation(Frame self,
                                      Frame parent,
                                      int width,
                                      int height)
setCenterLocation(): bring the frame up in the center of the parent, if no parent, then center of the screen

Parameters:
Frame - itself
Frame - its parant
int - its width
int - its height

All Packages  Class Hierarchy  This Package  Previous  Next  Index