|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.swing.util.ExclusiveGroup
public class ExclusiveGroup
A utility class for handling mutually exclusive Check components. Normally checkbox items are not mutually exclusive but sometimes they are used in that way as their visual impact and intent may be clearer than radio buttons.
Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.
$Revision: 1.2 $
| Constructor Summary | |
|---|---|
ExclusiveGroup()
Creates a new group. |
|
| Method Summary | |
|---|---|
void |
add(Checkbox xc)
Add another check to the group |
void |
check(Checkbox xc)
Sets the checked component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExclusiveGroup()
| Method Detail |
|---|
public void add(Checkbox xc)
xc - public void check(Checkbox xc)
xc - The checked component. It is assumed that this control is already
checked and its state is not modified.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||