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

BooleanControlAdapter.java

/*
 * @(#)BooleanControlAdapter.java	1.2 02/08/21
 *
 * Copyright (c) 1996-2002 Sun Microsystems, Inc.  All rights reserved.
 */


package com.sun.media.controls;

import javax.media.*;
import com.sun.media.*;
import java.util.Vector;
import com.sun.media.controls.*;
import java.awt.*;

public class BooleanControlAdapter extends AtomicControlAdapter
implements BooleanControl {

    public BooleanControlAdapter() {
	super( null, false, null );
    }
    
    public BooleanControlAdapter(Component c, boolean def, Control parent) {
	super(c, def, parent);
    }

    public boolean setValue(boolean val) {
	// dummy
	return val;
    }

    public boolean getValue() {
	// dummy
	return false;
    }
}