1 |
/* CheckboxGroup.java -- A grouping class for checkboxes. |
/* CheckboxGroup.java -- A grouping class for checkboxes. |
2 |
Copyright (C) 1999 Free Software Foundation, Inc. |
Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
32 |
* one checkbox in the group can be selected at any one time. |
* one checkbox in the group can be selected at any one time. |
33 |
* |
* |
34 |
* @author Aaron M. Renn (arenn@urbanophile.com) |
* @author Aaron M. Renn (arenn@urbanophile.com) |
35 |
|
* @author Tom Tromey <tromey@redhat.com> |
36 |
*/ |
*/ |
37 |
public class CheckboxGroup implements java.io.Serializable |
public class CheckboxGroup implements java.io.Serializable |
38 |
{ |
{ |
124 |
} |
} |
125 |
|
|
126 |
this.selectedCheckbox = selectedCheckbox; |
this.selectedCheckbox = selectedCheckbox; |
127 |
selectedCheckbox.setState(true); |
if (selectedCheckbox != null) |
128 |
|
selectedCheckbox.setState(true); |
129 |
} |
} |
130 |
|
|
131 |
/*************************************************************************/ |
/*************************************************************************/ |