FileDocCategorySizeDatePackage
BooleanControlComponent.javaAPI DocExample532Mon Jan 09 11:02:00 GMT 2006None

BooleanControlComponent

public class BooleanControlComponent extends JPanel implements ActionListener

Fields Summary
BooleanControl
control
JCheckBox
box
Constructors Summary
public BooleanControlComponent(BooleanControl c)

        control = c;
        box = new JCheckBox ();
        box.setSelected (control.getValue());
        add (box);
        box.addActionListener (this);
    
Methods Summary
public voidactionPerformed(java.awt.event.ActionEvent ae)

        control.setValue (box.isSelected());