All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.media.controls.BitRateAdapter Maven / Gradle / Ivy

The newest version!
package com.sun.media.controls;

import java.awt.*;
import java.awt.event.*;

import javax.media.control.*;

import com.sun.media.ui.*;

/**
 * TODO: Stub
 *
 * @author Ken Larson
 *
 */
public class BitRateAdapter implements BitRateControl, ActionListener
{
    protected int min;
    protected int max;
    protected int value;
    protected boolean settable;
    protected final TextComp textComp;

    public BitRateAdapter(int value, int min, int max, boolean settable)
    {
        super();
        this.value = value;
        this.min = min;
        this.max = max;
        this.settable = settable;
        this.textComp = new TextComp(); // TODO - implement this class
    }

    public void actionPerformed(ActionEvent e)
    {
        throw new UnsupportedOperationException(); // TODO
    }

    public int getBitRate()
    {
        return value;
    }

    public Component getControlComponent()
    {
        throw new UnsupportedOperationException(); // TODO
    }

    public int getMaxSupportedBitRate()
    {
        return max;
    }

    public int getMinSupportedBitRate()
    {
        return min;
    }

    public int setBitRate(int bitrate)
    {
        throw new UnsupportedOperationException(); // TODO
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy