01: package net.xoetrope.builder.editor.components.swing;
02:
03: import net.xoetrope.swing.XCheckbox;
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 XCheckbox types
14: * <p> Copyright (c) Xoetrope Ltd., 2002-2003</p>
15: * <p> $Revision: 1.11 $</p>
16: */
17: public class XCheckBoxHelper extends PropertyHelper {
18: protected String extraProperties[] = { "Content", "Alignment",
19: "ActionHandler", "FocusHandler", "MouseHandler", "Data" };
20:
21: public XCheckBoxHelper() {
22: className = XCheckbox.class.toString();
23: componentType = XPage.CHECK;
24: extraPropertyNames = extraProperties;
25: setListOptions("Alignment", "HorizontalAlignment",
26: XAlignmentHelper.alignmentOptions,
27: XAlignmentHelper.alignmentOptionIds);
28: }
29: }
|