01: package net.xoetrope.xui;
02:
03: /**
04: * Add methods for radio button support and grouping
05: * <p> Copyright (c) Xoetrope Ltd., 2002-2003</p>
06: * <p> $Revision: 1.2 $</p>
07: * <p> License: see License.txt</p>
08: */
09: public interface XRadioButtonGroup {
10: /**
11: * Create a new checkbox group and adds this radio button that implements this
12: * interface to the new group
13: * @return the new group
14: */
15: public Object createGroup();
16:
17: /**
18: * Gets the group controlling the radio button that implements this interface
19: * @return the ButtonGroup
20: */
21: public Object getRadioButtonGroup();
22:
23: /**
24: * Set the button group to which the radio button that implements this interface
25: * belongs
26: * @param grp the group control this radio button
27: */
28: public void setRadioButtonGroup(Object group);
29: }
|