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