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