FileDocCategorySizeDatePackage
ProgressControlAdapter.javaAPI DocJMF 2.1.1e2712Mon May 12 12:20:56 BST 2003com.sun.media.controls

ProgressControlAdapter

public class ProgressControlAdapter extends AtomicControlAdapter implements ProgressControl
Adapter class for ProgressControl.

Fields Summary
Control[]
controls
VARIABLES
StringControl
frc
StringControl
brc
StringControl
vpc
StringControl
apc
StringControl
ac
StringControl
vc
Constructors Summary
public ProgressControlAdapter(StringControl frameRate, StringControl bitRate, StringControl videoProps, StringControl audioProps, StringControl videoCodec, StringControl audioCodec)
Takes in the list of controls to use as progress controls.

    

              
                    
      
				   
				   
				   
				   
				    
	super(null, true, null);
	frc = frameRate;
	brc = bitRate;
	vpc = videoProps;
	apc = audioProps;
	vc  = videoCodec;
	ac  = audioCodec;
    
Methods Summary
public com.sun.media.controls.StringControlgetAudioCodec()

	return ac;
    
public com.sun.media.controls.StringControlgetAudioProperties()
Returns the audio properties control.

	return apc;
    
public com.sun.media.controls.StringControlgetBitRate()
Returns the bit rate control.

	return brc;
    
public javax.media.Control[]getControls()
Returns an array that contains all the progress controls.

	if (controls == null) {
	    controls = new Control[6];
	    controls[0] = frc;
	    controls[1] = brc;
	    controls[2] = vpc;
	    controls[3] = apc;
	    controls[4] = ac;
	    controls[5] = vc;
	}
	return controls;
    
public com.sun.media.controls.StringControlgetFrameRate()
Returns the frame rate control.

	return frc;
    
public com.sun.media.controls.StringControlgetVideoCodec()

	return vc;
    
public com.sun.media.controls.StringControlgetVideoProperties()
Returns the video properties control.

	return vpc;