001: //GEN-BEGIN:BeanInfo
002: /*
003: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
004: *
005: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
006: *
007: * The contents of this file are subject to the terms of either the GNU
008: * General Public License Version 2 only ("GPL") or the Common
009: * Development and Distribution License("CDDL") (collectively, the
010: * "License"). You may not use this file except in compliance with the
011: * License. You can obtain a copy of the License at
012: * http://www.netbeans.org/cddl-gplv2.html
013: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
014: * specific language governing permissions and limitations under the
015: * License. When distributing the software, include this License Header
016: * Notice in each file and include the License file at
017: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
018: * particular file as subject to the "Classpath" exception as provided
019: * by Sun in the GPL Version 2 section of the License file that
020: * accompanied this code. If applicable, add the following below the
021: * License Header, with the fields enclosed by brackets [] replaced by
022: * your own identifying information:
023: * "Portions Copyrighted [year] [name of copyright owner]"
024: *
025: * Contributor(s):
026: *
027: * The Original Software is NetBeans. The Initial Developer of the Original
028: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
029: * Microsystems, Inc. All Rights Reserved.
030: *
031: * If you wish your version of this file to be governed by only the CDDL
032: * or only the GPL Version 2, indicate your decision by adding
033: * "[Contributor] elects to include this software in this distribution
034: * under the [CDDL or GPL Version 2] license." If you do not indicate a
035: * single choice of license, a recipient has the option to distribute
036: * your version of this file under either the CDDL, the GPL Version 2 or
037: * to extend the choice of license to its licensees as provided above.
038: * However, if you add GPL Version 2 code and therefore, elected the GPL
039: * Version 2 license, then the option applies only if the new code is
040: * made subject to such option by the copyright holder.
041: */
042: package org.netbeans.modules.visualweb.web.ui.dt.component;
043:
044: import java.awt.Image;
045: import java.beans.BeanDescriptor;
046: import java.beans.BeanInfo;
047: import java.beans.IntrospectionException;
048: import java.beans.PropertyDescriptor;
049: import java.util.Locale;
050: import java.util.ResourceBundle;
051:
052: import com.sun.rave.designtime.CategoryDescriptor;
053: import com.sun.rave.designtime.Constants;
054: import com.sun.rave.designtime.faces.FacetDescriptor;
055: import com.sun.rave.designtime.markup.AttributeDescriptor;
056:
057: import java.beans.SimpleBeanInfo;
058:
059: /**
060: * <p>Auto-generated design time metadata class.
061: * Do <strong>NOT</strong> modify; all changes
062: * <strong>will</strong> be lost!</p>
063: */
064:
065: abstract class FrameSetBeanInfoBase extends SimpleBeanInfo {
066:
067: protected static ResourceBundle resources = ResourceBundle
068: .getBundle(
069: "org.netbeans.modules.visualweb.web.ui.dt.component.Bundle-JSF",
070: Locale.getDefault(), FrameSetBeanInfoBase.class
071: .getClassLoader());
072:
073: /**
074: * <p>Construct a new <code>FrameSetBeanInfoBase</code>.</p>
075: */
076: public FrameSetBeanInfoBase() {
077:
078: beanClass = com.sun.rave.web.ui.component.FrameSet.class;
079: defaultPropertyName = "cols";
080: iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/FrameSet_C16";
081: iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/FrameSet_C32";
082: iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/FrameSet_M16";
083: iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/FrameSet_M32";
084:
085: }
086:
087: /**
088: * <p>The bean class that this BeanInfo represents.
089: */
090: protected Class beanClass;
091:
092: /**
093: * <p>The cached BeanDescriptor.</p>
094: */
095: protected BeanDescriptor beanDescriptor;
096:
097: /**
098: * <p>The index of the default property.</p>
099: */
100: protected int defaultPropertyIndex = -2;
101:
102: /**
103: * <p>The name of the default property.</p>
104: */
105: protected String defaultPropertyName;
106:
107: /**
108: * <p>The 16x16 color icon.</p>
109: */
110: protected String iconFileName_C16;
111:
112: /**
113: * <p>The 32x32 color icon.</p>
114: */
115: protected String iconFileName_C32;
116:
117: /**
118: * <p>The 16x16 monochrome icon.</p>
119: */
120: protected String iconFileName_M16;
121:
122: /**
123: * <p>The 32x32 monochrome icon.</p>
124: */
125: protected String iconFileName_M32;
126:
127: /**
128: * <p>The cached property descriptors.</p>
129: */
130: protected PropertyDescriptor[] propDescriptors;
131:
132: /**
133: * <p>Return the <code>BeanDescriptor</code> for this bean.</p>
134: */
135: public BeanDescriptor getBeanDescriptor() {
136:
137: if (beanDescriptor != null) {
138: return beanDescriptor;
139: }
140:
141: beanDescriptor = new BeanDescriptor(beanClass);
142: beanDescriptor.setDisplayName(resources
143: .getString("FrameSet_DisplayName"));
144: beanDescriptor.setShortDescription(resources
145: .getString("FrameSet_Description"));
146: beanDescriptor.setExpert(false);
147: beanDescriptor.setHidden(false);
148: beanDescriptor.setPreferred(false);
149: beanDescriptor.setValue(
150: Constants.BeanDescriptor.FACET_DESCRIPTORS,
151: getFacetDescriptors());
152: beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME,
153: "frameSet");
154: beanDescriptor.setValue(Constants.BeanDescriptor.IS_CONTAINER,
155: Boolean.TRUE);
156: beanDescriptor.setValue(
157: Constants.BeanDescriptor.PROPERTY_CATEGORIES,
158: getCategoryDescriptors());
159: beanDescriptor.setValue(Constants.BeanDescriptor.TAG_NAME,
160: "frameSet");
161: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_PREFIX,
162: "ui");
163: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_URI,
164: "http://www.sun.com/web/ui");
165:
166: return beanDescriptor;
167:
168: }
169:
170: /**
171: * <p>Return the <code>CategoryDescriptor</code> array for the property categories of this component.</p>
172: */
173: private CategoryDescriptor[] getCategoryDescriptors() {
174:
175: return com.sun.rave.designtime.base.CategoryDescriptors
176: .getDefaultCategoryDescriptors();
177:
178: }
179:
180: /**
181: * <p>Return the index of the default property, or
182: * -1 if there is no default property.</p>
183: */
184: public int getDefaultPropertyIndex() {
185:
186: if (defaultPropertyIndex > -2) {
187: return defaultPropertyIndex;
188: } else {
189: if (defaultPropertyName == null) {
190: defaultPropertyIndex = -1;
191: } else {
192: PropertyDescriptor pd[] = getPropertyDescriptors();
193: for (int i = 0; i < pd.length; i++) {
194: if (defaultPropertyName.equals(pd[i].getName())) {
195: defaultPropertyIndex = i;
196: break;
197: }
198: }
199: }
200: }
201: return defaultPropertyIndex;
202: }
203:
204: /**
205: * <p>The cached facet descriptors.</p>
206: */
207: protected FacetDescriptor[] facetDescriptors;
208:
209: /**
210: * <p>Return the <code>FacetDescriptor</code>s for this bean.</p>
211: */
212: public FacetDescriptor[] getFacetDescriptors() {
213:
214: if (facetDescriptors != null) {
215: return facetDescriptors;
216: }
217: facetDescriptors = new FacetDescriptor[] {};
218: return facetDescriptors;
219:
220: }
221:
222: /**
223: * <p>Return the specified image (if any)
224: * for this component class.</p>
225: */
226: public Image getIcon(int kind) {
227:
228: String name;
229: switch (kind) {
230: case ICON_COLOR_16x16:
231: name = iconFileName_C16;
232: break;
233: case ICON_COLOR_32x32:
234: name = iconFileName_C32;
235: break;
236: case ICON_MONO_16x16:
237: name = iconFileName_M16;
238: break;
239: case ICON_MONO_32x32:
240: name = iconFileName_M32;
241: break;
242: default:
243: name = null;
244: break;
245: }
246: if (name == null) {
247: return null;
248: }
249:
250: Image image = loadImage(name + ".png");
251: if (image == null) {
252: image = loadImage(name + ".gif");
253: }
254: return image;
255:
256: }
257:
258: /**
259: * <p>Return a class loaded by name via the class loader that loaded this class.</p>
260: */
261: private java.lang.Class loadClass(java.lang.String name) {
262:
263: try {
264: return Class.forName(name);
265: } catch (ClassNotFoundException e) {
266: throw new RuntimeException(e);
267: }
268:
269: }
270:
271: /**
272: * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
273: */
274: public PropertyDescriptor[] getPropertyDescriptors() {
275:
276: if (propDescriptors != null) {
277: return propDescriptors;
278: }
279: AttributeDescriptor attrib = null;
280:
281: try {
282:
283: PropertyDescriptor prop_border = new PropertyDescriptor(
284: "border", beanClass, "getBorder", "setBorder");
285: prop_border.setDisplayName(resources
286: .getString("FrameSet_border_DisplayName"));
287: prop_border.setShortDescription(resources
288: .getString("FrameSet_border_Description"));
289: prop_border
290: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
291: prop_border.setExpert(false);
292: prop_border.setHidden(false);
293: prop_border.setPreferred(false);
294: attrib = new AttributeDescriptor("border", false, null,
295: true);
296: prop_border.setValue(
297: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
298: attrib);
299: prop_border
300: .setValue(
301: Constants.PropertyDescriptor.CATEGORY,
302: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
303: prop_border.setValue(
304: "com.sun.rave.propertyeditors.MIN_VALUE", "1");
305:
306: PropertyDescriptor prop_borderColor = new PropertyDescriptor(
307: "borderColor", beanClass, "getBorderColor",
308: "setBorderColor");
309: prop_borderColor.setDisplayName(resources
310: .getString("FrameSet_borderColor_DisplayName"));
311: prop_borderColor.setShortDescription(resources
312: .getString("FrameSet_borderColor_Description"));
313: prop_borderColor.setExpert(false);
314: prop_borderColor.setHidden(false);
315: prop_borderColor.setPreferred(false);
316: attrib = new AttributeDescriptor("borderColor", false,
317: null, true);
318: prop_borderColor.setValue(
319: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
320: attrib);
321: prop_borderColor
322: .setValue(
323: Constants.PropertyDescriptor.CATEGORY,
324: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
325:
326: PropertyDescriptor prop_cols = new PropertyDescriptor(
327: "cols", beanClass, "getCols", "setCols");
328: prop_cols.setDisplayName(resources
329: .getString("FrameSet_cols_DisplayName"));
330: prop_cols.setShortDescription(resources
331: .getString("FrameSet_cols_Description"));
332: prop_cols.setExpert(false);
333: prop_cols.setHidden(false);
334: prop_cols.setPreferred(false);
335: attrib = new AttributeDescriptor("cols", false, null, true);
336: prop_cols.setValue(
337: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
338: attrib);
339: prop_cols
340: .setValue(
341: Constants.PropertyDescriptor.CATEGORY,
342: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
343:
344: PropertyDescriptor prop_frameBorder = new PropertyDescriptor(
345: "frameBorder", beanClass, "isFrameBorder",
346: "setFrameBorder");
347: prop_frameBorder.setDisplayName(resources
348: .getString("FrameSet_frameBorder_DisplayName"));
349: prop_frameBorder.setShortDescription(resources
350: .getString("FrameSet_frameBorder_Description"));
351: prop_frameBorder.setExpert(false);
352: prop_frameBorder.setHidden(false);
353: prop_frameBorder.setPreferred(false);
354: attrib = new AttributeDescriptor("frameBorder", false,
355: null, true);
356: prop_frameBorder.setValue(
357: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
358: attrib);
359: prop_frameBorder
360: .setValue(
361: Constants.PropertyDescriptor.CATEGORY,
362: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
363:
364: PropertyDescriptor prop_frameSpacing = new PropertyDescriptor(
365: "frameSpacing", beanClass, "getFrameSpacing",
366: "setFrameSpacing");
367: prop_frameSpacing.setDisplayName(resources
368: .getString("FrameSet_frameSpacing_DisplayName"));
369: prop_frameSpacing.setShortDescription(resources
370: .getString("FrameSet_frameSpacing_Description"));
371: prop_frameSpacing
372: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
373: prop_frameSpacing.setExpert(false);
374: prop_frameSpacing.setHidden(false);
375: prop_frameSpacing.setPreferred(false);
376: attrib = new AttributeDescriptor("frameSpacing", false,
377: null, true);
378: prop_frameSpacing.setValue(
379: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
380: attrib);
381: prop_frameSpacing
382: .setValue(
383: Constants.PropertyDescriptor.CATEGORY,
384: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
385: prop_frameSpacing.setValue(
386: "com.sun.rave.propertyeditors.MIN_VALUE", "1");
387:
388: PropertyDescriptor prop_rows = new PropertyDescriptor(
389: "rows", beanClass, "getRows", "setRows");
390: prop_rows.setDisplayName(resources
391: .getString("FrameSet_rows_DisplayName"));
392: prop_rows.setShortDescription(resources
393: .getString("FrameSet_rows_Description"));
394: prop_rows.setExpert(false);
395: prop_rows.setHidden(false);
396: prop_rows.setPreferred(false);
397: attrib = new AttributeDescriptor("rows", false, null, true);
398: prop_rows.setValue(
399: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
400: attrib);
401: prop_rows
402: .setValue(
403: Constants.PropertyDescriptor.CATEGORY,
404: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
405:
406: PropertyDescriptor prop_style = new PropertyDescriptor(
407: "style", beanClass, "getStyle", "setStyle");
408: prop_style.setDisplayName(resources
409: .getString("FrameSet_style_DisplayName"));
410: prop_style.setShortDescription(resources
411: .getString("FrameSet_style_Description"));
412: prop_style
413: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.css.CssStylePropertyEditor"));
414: prop_style.setExpert(false);
415: prop_style.setHidden(false);
416: prop_style.setPreferred(false);
417: attrib = new AttributeDescriptor("style", false, null, true);
418: prop_style.setValue(
419: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
420: attrib);
421: prop_style
422: .setValue(
423: Constants.PropertyDescriptor.CATEGORY,
424: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
425:
426: PropertyDescriptor prop_styleClass = new PropertyDescriptor(
427: "styleClass", beanClass, "getStyleClass",
428: "setStyleClass");
429: prop_styleClass.setDisplayName(resources
430: .getString("FrameSet_styleClass_DisplayName"));
431: prop_styleClass.setShortDescription(resources
432: .getString("FrameSet_styleClass_Description"));
433: prop_styleClass
434: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
435: prop_styleClass.setExpert(false);
436: prop_styleClass.setHidden(false);
437: prop_styleClass.setPreferred(false);
438: attrib = new AttributeDescriptor("styleClass", false, null,
439: true);
440: prop_styleClass.setValue(
441: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
442: attrib);
443: prop_styleClass
444: .setValue(
445: Constants.PropertyDescriptor.CATEGORY,
446: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
447:
448: PropertyDescriptor prop_toolTip = new PropertyDescriptor(
449: "toolTip", beanClass, "getToolTip", "setToolTip");
450: prop_toolTip.setDisplayName(resources
451: .getString("FrameSet_toolTip_DisplayName"));
452: prop_toolTip.setShortDescription(resources
453: .getString("FrameSet_toolTip_Description"));
454: prop_toolTip
455: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
456: prop_toolTip.setExpert(false);
457: prop_toolTip.setHidden(false);
458: prop_toolTip.setPreferred(false);
459: attrib = new AttributeDescriptor("toolTip", false, null,
460: true);
461: prop_toolTip.setValue(
462: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
463: attrib);
464: prop_toolTip
465: .setValue(
466: Constants.PropertyDescriptor.CATEGORY,
467: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
468:
469: PropertyDescriptor prop_attributes = new PropertyDescriptor(
470: "attributes", beanClass, "getAttributes", null);
471: prop_attributes.setDisplayName(resources
472: .getString("FrameSet_attributes_DisplayName"));
473: prop_attributes.setShortDescription(resources
474: .getString("FrameSet_attributes_Description"));
475: prop_attributes.setExpert(false);
476: prop_attributes.setHidden(true);
477: prop_attributes.setPreferred(false);
478: prop_attributes
479: .setValue(
480: Constants.PropertyDescriptor.CATEGORY,
481: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
482:
483: PropertyDescriptor prop_childCount = new PropertyDescriptor(
484: "childCount", beanClass, "getChildCount", null);
485: prop_childCount.setDisplayName(resources
486: .getString("FrameSet_childCount_DisplayName"));
487: prop_childCount.setShortDescription(resources
488: .getString("FrameSet_childCount_Description"));
489: prop_childCount.setExpert(false);
490: prop_childCount.setHidden(true);
491: prop_childCount.setPreferred(false);
492: prop_childCount
493: .setValue(
494: Constants.PropertyDescriptor.CATEGORY,
495: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
496:
497: PropertyDescriptor prop_children = new PropertyDescriptor(
498: "children", beanClass, "getChildren", null);
499: prop_children.setDisplayName(resources
500: .getString("FrameSet_children_DisplayName"));
501: prop_children.setShortDescription(resources
502: .getString("FrameSet_children_Description"));
503: prop_children.setExpert(false);
504: prop_children.setHidden(true);
505: prop_children.setPreferred(false);
506: prop_children
507: .setValue(
508: Constants.PropertyDescriptor.CATEGORY,
509: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
510:
511: PropertyDescriptor prop_facets = new PropertyDescriptor(
512: "facets", beanClass, "getFacets", null);
513: prop_facets.setDisplayName(resources
514: .getString("FrameSet_facets_DisplayName"));
515: prop_facets.setShortDescription(resources
516: .getString("FrameSet_facets_Description"));
517: prop_facets.setExpert(false);
518: prop_facets.setHidden(true);
519: prop_facets.setPreferred(false);
520: prop_facets
521: .setValue(
522: Constants.PropertyDescriptor.CATEGORY,
523: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
524:
525: PropertyDescriptor prop_family = new PropertyDescriptor(
526: "family", beanClass, "getFamily", null);
527: prop_family.setDisplayName(resources
528: .getString("FrameSet_family_DisplayName"));
529: prop_family.setShortDescription(resources
530: .getString("FrameSet_family_Description"));
531: prop_family.setExpert(false);
532: prop_family.setHidden(true);
533: prop_family.setPreferred(false);
534: prop_family
535: .setValue(
536: Constants.PropertyDescriptor.CATEGORY,
537: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
538:
539: PropertyDescriptor prop_id = new PropertyDescriptor("id",
540: beanClass, "getId", "setId");
541: prop_id.setDisplayName(resources
542: .getString("FrameSet_id_DisplayName"));
543: prop_id.setShortDescription(resources
544: .getString("FrameSet_id_Description"));
545: prop_id.setExpert(false);
546: prop_id.setHidden(true);
547: prop_id.setPreferred(false);
548: attrib = new AttributeDescriptor("id", false, null, false);
549: prop_id.setValue(
550: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
551: attrib);
552: prop_id
553: .setValue(
554: Constants.PropertyDescriptor.CATEGORY,
555: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
556:
557: PropertyDescriptor prop_parent = new PropertyDescriptor(
558: "parent", beanClass, "getParent", "setParent");
559: prop_parent.setDisplayName(resources
560: .getString("FrameSet_parent_DisplayName"));
561: prop_parent.setShortDescription(resources
562: .getString("FrameSet_parent_Description"));
563: prop_parent.setExpert(false);
564: prop_parent.setHidden(true);
565: prop_parent.setPreferred(false);
566: prop_parent
567: .setValue(
568: Constants.PropertyDescriptor.CATEGORY,
569: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
570:
571: PropertyDescriptor prop_rendered = new PropertyDescriptor(
572: "rendered", beanClass, "isRendered", "setRendered");
573: prop_rendered.setDisplayName(resources
574: .getString("FrameSet_rendered_DisplayName"));
575: prop_rendered.setShortDescription(resources
576: .getString("FrameSet_rendered_Description"));
577: prop_rendered.setExpert(false);
578: prop_rendered.setHidden(false);
579: prop_rendered.setPreferred(false);
580: attrib = new AttributeDescriptor("rendered", false, null,
581: true);
582: prop_rendered.setValue(
583: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
584: attrib);
585: prop_rendered
586: .setValue(
587: Constants.PropertyDescriptor.CATEGORY,
588: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
589:
590: PropertyDescriptor prop_rendererType = new PropertyDescriptor(
591: "rendererType", beanClass, "getRendererType",
592: "setRendererType");
593: prop_rendererType.setDisplayName(resources
594: .getString("FrameSet_rendererType_DisplayName"));
595: prop_rendererType.setShortDescription(resources
596: .getString("FrameSet_rendererType_Description"));
597: prop_rendererType.setExpert(false);
598: prop_rendererType.setHidden(true);
599: prop_rendererType.setPreferred(false);
600: prop_rendererType
601: .setValue(
602: Constants.PropertyDescriptor.CATEGORY,
603: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
604:
605: PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
606: "rendersChildren", beanClass, "getRendersChildren",
607: null);
608: prop_rendersChildren.setDisplayName(resources
609: .getString("FrameSet_rendersChildren_DisplayName"));
610: prop_rendersChildren.setShortDescription(resources
611: .getString("FrameSet_rendersChildren_Description"));
612: prop_rendersChildren.setExpert(false);
613: prop_rendersChildren.setHidden(true);
614: prop_rendersChildren.setPreferred(false);
615: prop_rendersChildren
616: .setValue(
617: Constants.PropertyDescriptor.CATEGORY,
618: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
619:
620: propDescriptors = new PropertyDescriptor[] {
621: prop_attributes, prop_border, prop_borderColor,
622: prop_childCount, prop_children, prop_cols,
623: prop_facets, prop_family, prop_frameBorder,
624: prop_frameSpacing, prop_id, prop_parent,
625: prop_rendered, prop_rendererType,
626: prop_rendersChildren, prop_rows, prop_style,
627: prop_styleClass, prop_toolTip, };
628: return propDescriptors;
629:
630: } catch (IntrospectionException e) {
631: e.printStackTrace();
632: return null;
633: }
634:
635: }
636:
637: }
638: //GEN-END:BeanInfo
|