01: package net.xoetrope.builder.editor.components.swing;
02:
03: import net.xoetrope.swing.XRadioButton;
04: import net.xoetrope.builder.editor.XPageResource;
05: import java.awt.Component;
06: import net.xoetrope.swing.XAlignmentHelper;
07: import net.xoetrope.xui.data.XTextBinding;
08: import java.awt.AWTEvent;
09: import net.xoetrope.builder.editor.components.PropertyHelper;
10: import net.xoetrope.xui.XPage;
11:
12: /**
13: * A helper for the XRadioButton types
14: * <p> Copyright (c) Xoetrope Ltd., 2002-2003</p>
15: * <p> $Revision: 1.13 $</p>
16: */
17: public class XRadioButtonHelper extends PropertyHelper {
18: protected String extraProperties[] = { "Content", "Alignment",
19: "ItemHandler", "FocusHandler", "MouseHandler", "TextData",
20: "SelectionData" };
21:
22: public XRadioButtonHelper() {
23: className = XRadioButton.class.toString();
24: componentType = XPage.RADIO;
25: extraPropertyNames = extraProperties;
26: setListOptions("Alignment", "HorizontalAlignment",
27: XAlignmentHelper.alignmentOptions,
28: XAlignmentHelper.alignmentOptionIds);
29: }
30: }
|