41 |
import javax.accessibility.AccessibleContext; |
import javax.accessibility.AccessibleContext; |
42 |
|
|
43 |
/** |
/** |
44 |
* An instance of JCheckbox can be added to a panel, frame etc |
* A small box that displays a check or not, depending on it's |
45 |
|
* <code>selected</code> state. This works very similar to |
46 |
|
* {@link JToggleButton} and {@link JRadioButton}, but in UI design it |
47 |
|
* has different semantics. <code>JCheckBox</code>es are usually |
48 |
|
* used in multiple-choice scenarios, where a user can select 0..n |
49 |
|
* of n different options. (This is in contrast to the general RadioButton |
50 |
|
* semantics where the user can select exactly one of n options). |
51 |
|
* |
52 |
|
* Note however that this semantics is in no way enforced by the |
53 |
|
* <code>JCheckBox</code>. |
54 |
* |
* |
55 |
* @author Ronald Veldema (rveldema@cs.vu.nl) |
* @author Ronald Veldema (rveldema@cs.vu.nl) |
56 |
*/ |
*/ |