Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.Checkbox

Availability: JDK 1.0

public class Checkbox extends Component implements ItemSelectable {
   // Public Constructors
      public Checkbox();
      public Checkbox(String label);
1.1  public Checkbox(String label, boolean state);
1.1  public Checkbox(String label, boolean state, CheckboxGroup group);
      public Checkbox(String label, CheckboxGroup group, boolean state);
   // Public Instance Methods
1.1  public void addItemListener(ItemListener l);
      public void addNotify();  // Overrides Component.addNotify()
      public CheckboxGroup getCheckboxGroup();
      public String getLabel();
1.1  public Object[] getSelectedObjects();
      public boolean getState();
1.1  public void removeItemListener(ItemListener l);
      public void setCheckboxGroup(CheckboxGroup g);
      public synchronized void setLabel(String label);
      public void setState(boolean state);
   // Protected Instance Methods
      protected String paramString();  // Overrides Component.paramString()
1.1  protected void processEvent(AWTEvent e);  // Overrides Component.processEvent()
1.1  protected void processItemEvent(ItemEvent e);
}
Passed To:
CheckboxGroup.setCurrent(), CheckboxGroup.setSelectedCheckbox(), Toolkit.createCheckbox().
Returned By:
CheckboxGroup.getCurrent(), CheckboxGroup.getSelectedCheckbox().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.