01: package net.xoetrope.builder.editor.components.swing;
02:
03: import net.xoetrope.swing.XMenuItem;
04: import net.xoetrope.builder.editor.components.PropertyHelper;
05: import net.xoetrope.xui.XPage;
06:
07: /**
08: * A helper for the XMenuItem types
09: * <p> Copyright (c) Xoetrope Ltd., 2002-2003</p>
10: * <p> $Revision: 1.7 $</p>
11: */
12: public class XMenuItemHelper extends PropertyHelper {
13: public XMenuItemHelper() {
14: className = XMenuItemProxy.class.toString();
15: componentType = XPage.MENUITEM;
16: }
17:
18: /**
19: * Flag the component as having a restricted size if true is returned
20: * @return true
21: */
22: public boolean restrictsSize() {
23: return true;
24: }
25: }
|