FileDocCategorySizeDatePackage
ParametersControl.javaAPI DocJMF 2.1.1e1204Mon May 12 12:21:04 BST 2003com.ibm.media.controls

ParametersControl

public class ParametersControl extends Object implements Control

Fields Summary
Hashtable
parameters
Constructors Summary
Methods Summary
public java.lang.Stringget(java.lang.String param)
Returns the parameter's value. If the parameter was not set or doesn't have a default value, returns null.

param
param the parameter's name
return
the parameter's value or null if wasn't set


                                       
      
    
    return (String)parameters.get(param);
  
public java.awt.ComponentgetControlComponent()
Get the Component associated with this Control object. For example, this method might return a slider for volume control or a panel containing radio buttons for CODEC control. The getControlComponent method can return null if there is no GUI control for this Control.


    // not implemented yet
    return null;
  
public voidset(java.lang.String param, java.lang.String value)


    parameters.remove(param); // first remove any value that already exist
    parameters.put(param, value);