0001: //GEN-BEGIN:BeanInfo
0002: /*
0003: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
0004: *
0005: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
0006: *
0007: * The contents of this file are subject to the terms of either the GNU
0008: * General Public License Version 2 only ("GPL") or the Common
0009: * Development and Distribution License("CDDL") (collectively, the
0010: * "License"). You may not use this file except in compliance with the
0011: * License. You can obtain a copy of the License at
0012: * http://www.netbeans.org/cddl-gplv2.html
0013: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
0014: * specific language governing permissions and limitations under the
0015: * License. When distributing the software, include this License Header
0016: * Notice in each file and include the License file at
0017: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
0018: * particular file as subject to the "Classpath" exception as provided
0019: * by Sun in the GPL Version 2 section of the License file that
0020: * accompanied this code. If applicable, add the following below the
0021: * License Header, with the fields enclosed by brackets [] replaced by
0022: * your own identifying information:
0023: * "Portions Copyrighted [year] [name of copyright owner]"
0024: *
0025: * Contributor(s):
0026: *
0027: * The Original Software is NetBeans. The Initial Developer of the Original
0028: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
0029: * Microsystems, Inc. All Rights Reserved.
0030: *
0031: * If you wish your version of this file to be governed by only the CDDL
0032: * or only the GPL Version 2, indicate your decision by adding
0033: * "[Contributor] elects to include this software in this distribution
0034: * under the [CDDL or GPL Version 2] license." If you do not indicate a
0035: * single choice of license, a recipient has the option to distribute
0036: * your version of this file under either the CDDL, the GPL Version 2 or
0037: * to extend the choice of license to its licensees as provided above.
0038: * However, if you add GPL Version 2 code and therefore, elected the GPL
0039: * Version 2 license, then the option applies only if the new code is
0040: * made subject to such option by the copyright holder.
0041: */
0042: package org.netbeans.modules.visualweb.web.ui.dt.component;
0043:
0044: import java.awt.Image;
0045: import java.beans.BeanDescriptor;
0046: import java.beans.BeanInfo;
0047: import java.beans.IntrospectionException;
0048: import java.beans.PropertyDescriptor;
0049: import java.util.Locale;
0050: import java.util.ResourceBundle;
0051:
0052: import com.sun.rave.designtime.CategoryDescriptor;
0053: import com.sun.rave.designtime.Constants;
0054: import com.sun.rave.designtime.faces.FacetDescriptor;
0055: import com.sun.rave.designtime.markup.AttributeDescriptor;
0056:
0057: import java.beans.SimpleBeanInfo;
0058:
0059: /**
0060: * <p>Auto-generated design time metadata class.
0061: * Do <strong>NOT</strong> modify; all changes
0062: * <strong>will</strong> be lost!</p>
0063: */
0064:
0065: abstract class RbCbSelectorBeanInfoBase extends SimpleBeanInfo {
0066:
0067: protected static ResourceBundle resources = ResourceBundle
0068: .getBundle(
0069: "org.netbeans.modules.visualweb.web.ui.dt.component.Bundle-JSF",
0070: Locale.getDefault(), RbCbSelectorBeanInfoBase.class
0071: .getClassLoader());
0072:
0073: /**
0074: * <p>Construct a new <code>RbCbSelectorBeanInfoBase</code>.</p>
0075: */
0076: public RbCbSelectorBeanInfoBase() {
0077:
0078: beanClass = com.sun.rave.web.ui.component.RbCbSelector.class;
0079: defaultPropertyName = "";
0080: iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/RbCbSelector_C16";
0081: iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/RbCbSelector_C32";
0082: iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/RbCbSelector_M16";
0083: iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/RbCbSelector_M32";
0084:
0085: }
0086:
0087: /**
0088: * <p>The bean class that this BeanInfo represents.
0089: */
0090: protected Class beanClass;
0091:
0092: /**
0093: * <p>The cached BeanDescriptor.</p>
0094: */
0095: protected BeanDescriptor beanDescriptor;
0096:
0097: /**
0098: * <p>The index of the default property.</p>
0099: */
0100: protected int defaultPropertyIndex = -2;
0101:
0102: /**
0103: * <p>The name of the default property.</p>
0104: */
0105: protected String defaultPropertyName;
0106:
0107: /**
0108: * <p>The 16x16 color icon.</p>
0109: */
0110: protected String iconFileName_C16;
0111:
0112: /**
0113: * <p>The 32x32 color icon.</p>
0114: */
0115: protected String iconFileName_C32;
0116:
0117: /**
0118: * <p>The 16x16 monochrome icon.</p>
0119: */
0120: protected String iconFileName_M16;
0121:
0122: /**
0123: * <p>The 32x32 monochrome icon.</p>
0124: */
0125: protected String iconFileName_M32;
0126:
0127: /**
0128: * <p>The cached property descriptors.</p>
0129: */
0130: protected PropertyDescriptor[] propDescriptors;
0131:
0132: /**
0133: * <p>Return the <code>BeanDescriptor</code> for this bean.</p>
0134: */
0135: public BeanDescriptor getBeanDescriptor() {
0136:
0137: if (beanDescriptor != null) {
0138: return beanDescriptor;
0139: }
0140:
0141: beanDescriptor = new BeanDescriptor(beanClass);
0142: beanDescriptor.setDisplayName(resources
0143: .getString("RbCbSelector_DisplayName"));
0144: beanDescriptor.setShortDescription(resources
0145: .getString("RbCbSelector_Description"));
0146: beanDescriptor.setExpert(false);
0147: beanDescriptor.setHidden(true);
0148: beanDescriptor.setPreferred(false);
0149: beanDescriptor.setValue(
0150: Constants.BeanDescriptor.FACET_DESCRIPTORS,
0151: getFacetDescriptors());
0152: beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME,
0153: "rbCbSelectorRbCbSelectorRenderer");
0154: beanDescriptor.setValue(Constants.BeanDescriptor.IS_CONTAINER,
0155: Boolean.FALSE);
0156: beanDescriptor.setValue(
0157: Constants.BeanDescriptor.PROPERTY_CATEGORIES,
0158: getCategoryDescriptors());
0159: beanDescriptor.setValue(Constants.BeanDescriptor.TAG_NAME,
0160: "rbCbSelectorRbCbSelectorRenderer");
0161: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_PREFIX,
0162: "ui");
0163: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_URI,
0164: "http://www.sun.com/web/ui");
0165:
0166: return beanDescriptor;
0167:
0168: }
0169:
0170: /**
0171: * <p>Return the <code>CategoryDescriptor</code> array for the property categories of this component.</p>
0172: */
0173: private CategoryDescriptor[] getCategoryDescriptors() {
0174:
0175: return com.sun.rave.designtime.base.CategoryDescriptors
0176: .getDefaultCategoryDescriptors();
0177:
0178: }
0179:
0180: /**
0181: * <p>Return the index of the default property, or
0182: * -1 if there is no default property.</p>
0183: */
0184: public int getDefaultPropertyIndex() {
0185:
0186: if (defaultPropertyIndex > -2) {
0187: return defaultPropertyIndex;
0188: } else {
0189: if (defaultPropertyName == null) {
0190: defaultPropertyIndex = -1;
0191: } else {
0192: PropertyDescriptor pd[] = getPropertyDescriptors();
0193: for (int i = 0; i < pd.length; i++) {
0194: if (defaultPropertyName.equals(pd[i].getName())) {
0195: defaultPropertyIndex = i;
0196: break;
0197: }
0198: }
0199: }
0200: }
0201: return defaultPropertyIndex;
0202: }
0203:
0204: /**
0205: * <p>The cached facet descriptors.</p>
0206: */
0207: protected FacetDescriptor[] facetDescriptors;
0208:
0209: /**
0210: * <p>Return the <code>FacetDescriptor</code>s for this bean.</p>
0211: */
0212: public FacetDescriptor[] getFacetDescriptors() {
0213:
0214: if (facetDescriptors != null) {
0215: return facetDescriptors;
0216: }
0217: try {
0218:
0219: FacetDescriptor facet_image = new FacetDescriptor("image");
0220: facet_image.setDisplayName(resources
0221: .getString("RbCbSelector_image_DisplayName"));
0222: facet_image.setShortDescription(resources
0223: .getString("RbCbSelector_image_Description"));
0224:
0225: FacetDescriptor facet_label = new FacetDescriptor("label");
0226: facet_label.setDisplayName(resources
0227: .getString("RbCbSelector_label_DisplayName"));
0228: facet_label.setShortDescription(resources
0229: .getString("RbCbSelector_label_Description"));
0230:
0231: facetDescriptors = new FacetDescriptor[] { facet_image,
0232: facet_label, };
0233: return facetDescriptors;
0234:
0235: } catch (RuntimeException e) {
0236: System.out.println(e.getMessage());
0237: e.printStackTrace(System.out);
0238: throw e;
0239: }
0240:
0241: }
0242:
0243: /**
0244: * <p>Return the specified image (if any)
0245: * for this component class.</p>
0246: */
0247: public Image getIcon(int kind) {
0248:
0249: String name;
0250: switch (kind) {
0251: case ICON_COLOR_16x16:
0252: name = iconFileName_C16;
0253: break;
0254: case ICON_COLOR_32x32:
0255: name = iconFileName_C32;
0256: break;
0257: case ICON_MONO_16x16:
0258: name = iconFileName_M16;
0259: break;
0260: case ICON_MONO_32x32:
0261: name = iconFileName_M32;
0262: break;
0263: default:
0264: name = null;
0265: break;
0266: }
0267: if (name == null) {
0268: return null;
0269: }
0270:
0271: Image image = loadImage(name + ".png");
0272: if (image == null) {
0273: image = loadImage(name + ".gif");
0274: }
0275: return image;
0276:
0277: }
0278:
0279: /**
0280: * <p>Return a class loaded by name via the class loader that loaded this class.</p>
0281: */
0282: private java.lang.Class loadClass(java.lang.String name) {
0283:
0284: try {
0285: return Class.forName(name);
0286: } catch (ClassNotFoundException e) {
0287: throw new RuntimeException(e);
0288: }
0289:
0290: }
0291:
0292: /**
0293: * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
0294: */
0295: public PropertyDescriptor[] getPropertyDescriptors() {
0296:
0297: if (propDescriptors != null) {
0298: return propDescriptors;
0299: }
0300: AttributeDescriptor attrib = null;
0301:
0302: try {
0303:
0304: PropertyDescriptor prop_imageURL = new PropertyDescriptor(
0305: "imageURL", beanClass, "getImageURL", "setImageURL");
0306: prop_imageURL.setDisplayName(resources
0307: .getString("RbCbSelector_imageURL_DisplayName"));
0308: prop_imageURL.setShortDescription(resources
0309: .getString("RbCbSelector_imageURL_Description"));
0310: prop_imageURL
0311: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.ImageUrlPropertyEditor"));
0312: prop_imageURL.setExpert(false);
0313: prop_imageURL.setHidden(false);
0314: prop_imageURL.setPreferred(false);
0315: attrib = new AttributeDescriptor("imageURL", false, null,
0316: true);
0317: prop_imageURL.setValue(
0318: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0319: attrib);
0320: prop_imageURL
0321: .setValue(
0322: Constants.PropertyDescriptor.CATEGORY,
0323: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0324:
0325: PropertyDescriptor prop_items = new PropertyDescriptor(
0326: "items", beanClass, "getItems", "setItems");
0327: prop_items.setDisplayName(resources
0328: .getString("RbCbSelector_items_DisplayName"));
0329: prop_items.setShortDescription(resources
0330: .getString("RbCbSelector_items_Description"));
0331: prop_items
0332: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.binding.ValueBindingPropertyEditor"));
0333: prop_items.setExpert(false);
0334: prop_items.setHidden(true);
0335: prop_items.setPreferred(false);
0336: prop_items
0337: .setValue(
0338: Constants.PropertyDescriptor.CATEGORY,
0339: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0340: prop_items
0341: .setValue(
0342: "bindingPanelClassNames",
0343: new Class[] {
0344: org.netbeans.modules.visualweb.propertyeditors.binding.data.BindValueToDataProviderPanel.class,
0345: org.netbeans.modules.visualweb.propertyeditors.binding.data.BindValueToObjectPanel.class });
0346:
0347: PropertyDescriptor prop_name = new PropertyDescriptor(
0348: "name", beanClass, "getName", "setName");
0349: prop_name.setDisplayName(resources
0350: .getString("RbCbSelector_name_DisplayName"));
0351: prop_name.setShortDescription(resources
0352: .getString("RbCbSelector_name_Description"));
0353: prop_name
0354: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0355: prop_name.setExpert(false);
0356: prop_name.setHidden(false);
0357: prop_name.setPreferred(false);
0358: attrib = new AttributeDescriptor("name", false, null, true);
0359: prop_name.setValue(
0360: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0361: attrib);
0362: prop_name
0363: .setValue(
0364: Constants.PropertyDescriptor.CATEGORY,
0365: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0366:
0367: PropertyDescriptor prop_selected = new PropertyDescriptor(
0368: "selected", beanClass, "getSelected", "setSelected");
0369: prop_selected.setDisplayName(resources
0370: .getString("RbCbSelector_selected_DisplayName"));
0371: prop_selected.setShortDescription(resources
0372: .getString("RbCbSelector_selected_Description"));
0373: prop_selected
0374: .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.RbCbSelectedPropertyEditor"));
0375: prop_selected.setExpert(false);
0376: prop_selected.setHidden(false);
0377: prop_selected.setPreferred(false);
0378: attrib = new AttributeDescriptor("selected", false, null,
0379: true);
0380: prop_selected.setValue(
0381: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0382: attrib);
0383: prop_selected
0384: .setValue(
0385: Constants.PropertyDescriptor.CATEGORY,
0386: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0387:
0388: PropertyDescriptor prop_selectedValue = new PropertyDescriptor(
0389: "selectedValue", beanClass, "getSelectedValue",
0390: "setSelectedValue");
0391: prop_selectedValue
0392: .setDisplayName(resources
0393: .getString("RbCbSelector_selectedValue_DisplayName"));
0394: prop_selectedValue
0395: .setShortDescription(resources
0396: .getString("RbCbSelector_selectedValue_Description"));
0397: prop_selectedValue
0398: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0399: prop_selectedValue.setExpert(false);
0400: prop_selectedValue.setHidden(false);
0401: prop_selectedValue.setPreferred(false);
0402: attrib = new AttributeDescriptor("selectedValue", false,
0403: null, true);
0404: prop_selectedValue.setValue(
0405: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0406: attrib);
0407: prop_selectedValue
0408: .setValue(
0409: Constants.PropertyDescriptor.CATEGORY,
0410: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0411:
0412: PropertyDescriptor prop_disabled = new PropertyDescriptor(
0413: "disabled", beanClass, "isDisabled", "setDisabled");
0414: prop_disabled.setDisplayName(resources
0415: .getString("RbCbSelector_disabled_DisplayName"));
0416: prop_disabled.setShortDescription(resources
0417: .getString("RbCbSelector_disabled_Description"));
0418: prop_disabled.setExpert(false);
0419: prop_disabled.setHidden(false);
0420: prop_disabled.setPreferred(false);
0421: attrib = new AttributeDescriptor("disabled", false, null,
0422: true);
0423: prop_disabled.setValue(
0424: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0425: attrib);
0426: prop_disabled
0427: .setValue(
0428: Constants.PropertyDescriptor.CATEGORY,
0429: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0430:
0431: PropertyDescriptor prop_label = new PropertyDescriptor(
0432: "label", beanClass, "getLabel", "setLabel");
0433: prop_label.setDisplayName(resources
0434: .getString("RbCbSelector_label_DisplayName"));
0435: prop_label.setShortDescription(resources
0436: .getString("RbCbSelector_label_Description"));
0437: prop_label
0438: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0439: prop_label.setExpert(false);
0440: prop_label.setHidden(false);
0441: prop_label.setPreferred(false);
0442: attrib = new AttributeDescriptor("label", false, null, true);
0443: prop_label.setValue(
0444: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0445: attrib);
0446: prop_label
0447: .setValue(
0448: Constants.PropertyDescriptor.CATEGORY,
0449: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0450:
0451: PropertyDescriptor prop_labelLevel = new PropertyDescriptor(
0452: "labelLevel", beanClass, "getLabelLevel",
0453: "setLabelLevel");
0454: prop_labelLevel.setDisplayName(resources
0455: .getString("RbCbSelector_labelLevel_DisplayName"));
0456: prop_labelLevel.setShortDescription(resources
0457: .getString("RbCbSelector_labelLevel_Description"));
0458: prop_labelLevel
0459: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0460: prop_labelLevel.setExpert(false);
0461: prop_labelLevel.setHidden(false);
0462: prop_labelLevel.setPreferred(false);
0463: attrib = new AttributeDescriptor("labelLevel", false, "2",
0464: true);
0465: prop_labelLevel.setValue(
0466: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0467: attrib);
0468: prop_labelLevel
0469: .setValue(
0470: Constants.PropertyDescriptor.CATEGORY,
0471: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0472: prop_labelLevel
0473: .setValue(
0474: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0475: org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.LabelLevelsDomain.class);
0476:
0477: PropertyDescriptor prop_onBlur = new PropertyDescriptor(
0478: "onBlur", beanClass, "getOnBlur", "setOnBlur");
0479: prop_onBlur.setDisplayName(resources
0480: .getString("RbCbSelector_onBlur_DisplayName"));
0481: prop_onBlur.setShortDescription(resources
0482: .getString("RbCbSelector_onBlur_Description"));
0483: prop_onBlur
0484: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0485: prop_onBlur.setExpert(false);
0486: prop_onBlur.setHidden(false);
0487: prop_onBlur.setPreferred(false);
0488: attrib = new AttributeDescriptor("onBlur", false, null,
0489: true);
0490: prop_onBlur.setValue(
0491: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0492: attrib);
0493: prop_onBlur
0494: .setValue(
0495: Constants.PropertyDescriptor.CATEGORY,
0496: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0497:
0498: PropertyDescriptor prop_onChange = new PropertyDescriptor(
0499: "onChange", beanClass, "getOnChange", "setOnChange");
0500: prop_onChange.setDisplayName(resources
0501: .getString("RbCbSelector_onChange_DisplayName"));
0502: prop_onChange.setShortDescription(resources
0503: .getString("RbCbSelector_onChange_Description"));
0504: prop_onChange
0505: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0506: prop_onChange.setExpert(false);
0507: prop_onChange.setHidden(false);
0508: prop_onChange.setPreferred(false);
0509: attrib = new AttributeDescriptor("onChange", false, null,
0510: true);
0511: prop_onChange.setValue(
0512: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0513: attrib);
0514: prop_onChange
0515: .setValue(
0516: Constants.PropertyDescriptor.CATEGORY,
0517: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0518:
0519: PropertyDescriptor prop_onClick = new PropertyDescriptor(
0520: "onClick", beanClass, "getOnClick", "setOnClick");
0521: prop_onClick.setDisplayName(resources
0522: .getString("RbCbSelector_onClick_DisplayName"));
0523: prop_onClick.setShortDescription(resources
0524: .getString("RbCbSelector_onClick_Description"));
0525: prop_onClick
0526: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0527: prop_onClick.setExpert(false);
0528: prop_onClick.setHidden(false);
0529: prop_onClick.setPreferred(false);
0530: attrib = new AttributeDescriptor("onClick", false, null,
0531: true);
0532: prop_onClick.setValue(
0533: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0534: attrib);
0535: prop_onClick
0536: .setValue(
0537: Constants.PropertyDescriptor.CATEGORY,
0538: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0539:
0540: PropertyDescriptor prop_onDblClick = new PropertyDescriptor(
0541: "onDblClick", beanClass, "getOnDblClick",
0542: "setOnDblClick");
0543: prop_onDblClick.setDisplayName(resources
0544: .getString("RbCbSelector_onDblClick_DisplayName"));
0545: prop_onDblClick.setShortDescription(resources
0546: .getString("RbCbSelector_onDblClick_Description"));
0547: prop_onDblClick
0548: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0549: prop_onDblClick.setExpert(false);
0550: prop_onDblClick.setHidden(false);
0551: prop_onDblClick.setPreferred(false);
0552: attrib = new AttributeDescriptor("onDblClick", false, null,
0553: true);
0554: prop_onDblClick.setValue(
0555: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0556: attrib);
0557: prop_onDblClick
0558: .setValue(
0559: Constants.PropertyDescriptor.CATEGORY,
0560: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0561:
0562: PropertyDescriptor prop_onFocus = new PropertyDescriptor(
0563: "onFocus", beanClass, "getOnFocus", "setOnFocus");
0564: prop_onFocus.setDisplayName(resources
0565: .getString("RbCbSelector_onFocus_DisplayName"));
0566: prop_onFocus.setShortDescription(resources
0567: .getString("RbCbSelector_onFocus_Description"));
0568: prop_onFocus
0569: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0570: prop_onFocus.setExpert(false);
0571: prop_onFocus.setHidden(false);
0572: prop_onFocus.setPreferred(false);
0573: attrib = new AttributeDescriptor("onFocus", false, null,
0574: true);
0575: prop_onFocus.setValue(
0576: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0577: attrib);
0578: prop_onFocus
0579: .setValue(
0580: Constants.PropertyDescriptor.CATEGORY,
0581: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0582:
0583: PropertyDescriptor prop_onKeyDown = new PropertyDescriptor(
0584: "onKeyDown", beanClass, "getOnKeyDown",
0585: "setOnKeyDown");
0586: prop_onKeyDown.setDisplayName(resources
0587: .getString("RbCbSelector_onKeyDown_DisplayName"));
0588: prop_onKeyDown.setShortDescription(resources
0589: .getString("RbCbSelector_onKeyDown_Description"));
0590: prop_onKeyDown
0591: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0592: prop_onKeyDown.setExpert(false);
0593: prop_onKeyDown.setHidden(false);
0594: prop_onKeyDown.setPreferred(false);
0595: attrib = new AttributeDescriptor("onKeyDown", false, null,
0596: true);
0597: prop_onKeyDown.setValue(
0598: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0599: attrib);
0600: prop_onKeyDown
0601: .setValue(
0602: Constants.PropertyDescriptor.CATEGORY,
0603: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0604:
0605: PropertyDescriptor prop_onKeyPress = new PropertyDescriptor(
0606: "onKeyPress", beanClass, "getOnKeyPress",
0607: "setOnKeyPress");
0608: prop_onKeyPress.setDisplayName(resources
0609: .getString("RbCbSelector_onKeyPress_DisplayName"));
0610: prop_onKeyPress.setShortDescription(resources
0611: .getString("RbCbSelector_onKeyPress_Description"));
0612: prop_onKeyPress
0613: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0614: prop_onKeyPress.setExpert(false);
0615: prop_onKeyPress.setHidden(false);
0616: prop_onKeyPress.setPreferred(false);
0617: attrib = new AttributeDescriptor("onKeyPress", false, null,
0618: true);
0619: prop_onKeyPress.setValue(
0620: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0621: attrib);
0622: prop_onKeyPress
0623: .setValue(
0624: Constants.PropertyDescriptor.CATEGORY,
0625: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0626:
0627: PropertyDescriptor prop_onKeyUp = new PropertyDescriptor(
0628: "onKeyUp", beanClass, "getOnKeyUp", "setOnKeyUp");
0629: prop_onKeyUp.setDisplayName(resources
0630: .getString("RbCbSelector_onKeyUp_DisplayName"));
0631: prop_onKeyUp.setShortDescription(resources
0632: .getString("RbCbSelector_onKeyUp_Description"));
0633: prop_onKeyUp
0634: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0635: prop_onKeyUp.setExpert(false);
0636: prop_onKeyUp.setHidden(false);
0637: prop_onKeyUp.setPreferred(false);
0638: attrib = new AttributeDescriptor("onKeyUp", false, null,
0639: true);
0640: prop_onKeyUp.setValue(
0641: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0642: attrib);
0643: prop_onKeyUp
0644: .setValue(
0645: Constants.PropertyDescriptor.CATEGORY,
0646: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0647:
0648: PropertyDescriptor prop_onMouseDown = new PropertyDescriptor(
0649: "onMouseDown", beanClass, "getOnMouseDown",
0650: "setOnMouseDown");
0651: prop_onMouseDown.setDisplayName(resources
0652: .getString("RbCbSelector_onMouseDown_DisplayName"));
0653: prop_onMouseDown.setShortDescription(resources
0654: .getString("RbCbSelector_onMouseDown_Description"));
0655: prop_onMouseDown
0656: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0657: prop_onMouseDown.setExpert(false);
0658: prop_onMouseDown.setHidden(false);
0659: prop_onMouseDown.setPreferred(false);
0660: attrib = new AttributeDescriptor("onMouseDown", false,
0661: null, true);
0662: prop_onMouseDown.setValue(
0663: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0664: attrib);
0665: prop_onMouseDown
0666: .setValue(
0667: Constants.PropertyDescriptor.CATEGORY,
0668: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0669:
0670: PropertyDescriptor prop_onMouseMove = new PropertyDescriptor(
0671: "onMouseMove", beanClass, "getOnMouseMove",
0672: "setOnMouseMove");
0673: prop_onMouseMove.setDisplayName(resources
0674: .getString("RbCbSelector_onMouseMove_DisplayName"));
0675: prop_onMouseMove.setShortDescription(resources
0676: .getString("RbCbSelector_onMouseMove_Description"));
0677: prop_onMouseMove
0678: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0679: prop_onMouseMove.setExpert(false);
0680: prop_onMouseMove.setHidden(false);
0681: prop_onMouseMove.setPreferred(false);
0682: attrib = new AttributeDescriptor("onMouseMove", false,
0683: null, true);
0684: prop_onMouseMove.setValue(
0685: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0686: attrib);
0687: prop_onMouseMove
0688: .setValue(
0689: Constants.PropertyDescriptor.CATEGORY,
0690: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0691:
0692: PropertyDescriptor prop_onMouseOut = new PropertyDescriptor(
0693: "onMouseOut", beanClass, "getOnMouseOut",
0694: "setOnMouseOut");
0695: prop_onMouseOut.setDisplayName(resources
0696: .getString("RbCbSelector_onMouseOut_DisplayName"));
0697: prop_onMouseOut.setShortDescription(resources
0698: .getString("RbCbSelector_onMouseOut_Description"));
0699: prop_onMouseOut
0700: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0701: prop_onMouseOut.setExpert(false);
0702: prop_onMouseOut.setHidden(false);
0703: prop_onMouseOut.setPreferred(false);
0704: attrib = new AttributeDescriptor("onMouseOut", false, null,
0705: true);
0706: prop_onMouseOut.setValue(
0707: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0708: attrib);
0709: prop_onMouseOut
0710: .setValue(
0711: Constants.PropertyDescriptor.CATEGORY,
0712: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0713:
0714: PropertyDescriptor prop_onMouseOver = new PropertyDescriptor(
0715: "onMouseOver", beanClass, "getOnMouseOver",
0716: "setOnMouseOver");
0717: prop_onMouseOver.setDisplayName(resources
0718: .getString("RbCbSelector_onMouseOver_DisplayName"));
0719: prop_onMouseOver.setShortDescription(resources
0720: .getString("RbCbSelector_onMouseOver_Description"));
0721: prop_onMouseOver
0722: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0723: prop_onMouseOver.setExpert(false);
0724: prop_onMouseOver.setHidden(false);
0725: prop_onMouseOver.setPreferred(false);
0726: attrib = new AttributeDescriptor("onMouseOver", false,
0727: null, true);
0728: prop_onMouseOver.setValue(
0729: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0730: attrib);
0731: prop_onMouseOver
0732: .setValue(
0733: Constants.PropertyDescriptor.CATEGORY,
0734: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0735:
0736: PropertyDescriptor prop_onMouseUp = new PropertyDescriptor(
0737: "onMouseUp", beanClass, "getOnMouseUp",
0738: "setOnMouseUp");
0739: prop_onMouseUp.setDisplayName(resources
0740: .getString("RbCbSelector_onMouseUp_DisplayName"));
0741: prop_onMouseUp.setShortDescription(resources
0742: .getString("RbCbSelector_onMouseUp_Description"));
0743: prop_onMouseUp
0744: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0745: prop_onMouseUp.setExpert(false);
0746: prop_onMouseUp.setHidden(false);
0747: prop_onMouseUp.setPreferred(false);
0748: attrib = new AttributeDescriptor("onMouseUp", false, null,
0749: true);
0750: prop_onMouseUp.setValue(
0751: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0752: attrib);
0753: prop_onMouseUp
0754: .setValue(
0755: Constants.PropertyDescriptor.CATEGORY,
0756: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0757:
0758: PropertyDescriptor prop_onSelect = new PropertyDescriptor(
0759: "onSelect", beanClass, "getOnSelect", "setOnSelect");
0760: prop_onSelect.setDisplayName(resources
0761: .getString("RbCbSelector_onSelect_DisplayName"));
0762: prop_onSelect.setShortDescription(resources
0763: .getString("RbCbSelector_onSelect_Description"));
0764: prop_onSelect
0765: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0766: prop_onSelect.setExpert(false);
0767: prop_onSelect.setHidden(false);
0768: prop_onSelect.setPreferred(false);
0769: attrib = new AttributeDescriptor("onSelect", false, null,
0770: true);
0771: prop_onSelect.setValue(
0772: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0773: attrib);
0774: prop_onSelect
0775: .setValue(
0776: Constants.PropertyDescriptor.CATEGORY,
0777: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0778:
0779: PropertyDescriptor prop_readOnly = new PropertyDescriptor(
0780: "readOnly", beanClass, "isReadOnly", "setReadOnly");
0781: prop_readOnly.setDisplayName(resources
0782: .getString("RbCbSelector_readOnly_DisplayName"));
0783: prop_readOnly.setShortDescription(resources
0784: .getString("RbCbSelector_readOnly_Description"));
0785: prop_readOnly.setExpert(false);
0786: prop_readOnly.setHidden(false);
0787: prop_readOnly.setPreferred(false);
0788: attrib = new AttributeDescriptor("readOnly", false, null,
0789: true);
0790: prop_readOnly.setValue(
0791: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0792: attrib);
0793: prop_readOnly
0794: .setValue(
0795: Constants.PropertyDescriptor.CATEGORY,
0796: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0797:
0798: PropertyDescriptor prop_style = new PropertyDescriptor(
0799: "style", beanClass, "getStyle", "setStyle");
0800: prop_style.setDisplayName(resources
0801: .getString("RbCbSelector_style_DisplayName"));
0802: prop_style.setShortDescription(resources
0803: .getString("RbCbSelector_style_Description"));
0804: prop_style
0805: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.css.CssStylePropertyEditor"));
0806: prop_style.setExpert(false);
0807: prop_style.setHidden(false);
0808: prop_style.setPreferred(false);
0809: attrib = new AttributeDescriptor("style", false, null, true);
0810: prop_style.setValue(
0811: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0812: attrib);
0813: prop_style
0814: .setValue(
0815: Constants.PropertyDescriptor.CATEGORY,
0816: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0817:
0818: PropertyDescriptor prop_styleClass = new PropertyDescriptor(
0819: "styleClass", beanClass, "getStyleClass",
0820: "setStyleClass");
0821: prop_styleClass.setDisplayName(resources
0822: .getString("RbCbSelector_styleClass_DisplayName"));
0823: prop_styleClass.setShortDescription(resources
0824: .getString("RbCbSelector_styleClass_Description"));
0825: prop_styleClass
0826: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
0827: prop_styleClass.setExpert(false);
0828: prop_styleClass.setHidden(false);
0829: prop_styleClass.setPreferred(false);
0830: attrib = new AttributeDescriptor("styleClass", false, null,
0831: true);
0832: prop_styleClass.setValue(
0833: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0834: attrib);
0835: prop_styleClass
0836: .setValue(
0837: Constants.PropertyDescriptor.CATEGORY,
0838: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0839:
0840: PropertyDescriptor prop_tabIndex = new PropertyDescriptor(
0841: "tabIndex", beanClass, "getTabIndex", "setTabIndex");
0842: prop_tabIndex.setDisplayName(resources
0843: .getString("RbCbSelector_tabIndex_DisplayName"));
0844: prop_tabIndex.setShortDescription(resources
0845: .getString("RbCbSelector_tabIndex_Description"));
0846: prop_tabIndex
0847: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0848: prop_tabIndex.setExpert(false);
0849: prop_tabIndex.setHidden(false);
0850: prop_tabIndex.setPreferred(false);
0851: attrib = new AttributeDescriptor("tabIndex", false, null,
0852: true);
0853: prop_tabIndex.setValue(
0854: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0855: attrib);
0856: prop_tabIndex
0857: .setValue(
0858: Constants.PropertyDescriptor.CATEGORY,
0859: com.sun.rave.designtime.base.CategoryDescriptors.ACCESSIBILITY);
0860: prop_tabIndex.setValue(
0861: "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0862:
0863: PropertyDescriptor prop_toolTip = new PropertyDescriptor(
0864: "toolTip", beanClass, "getToolTip", "setToolTip");
0865: prop_toolTip.setDisplayName(resources
0866: .getString("RbCbSelector_toolTip_DisplayName"));
0867: prop_toolTip.setShortDescription(resources
0868: .getString("RbCbSelector_toolTip_Description"));
0869: prop_toolTip
0870: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0871: prop_toolTip.setExpert(false);
0872: prop_toolTip.setHidden(false);
0873: prop_toolTip.setPreferred(false);
0874: attrib = new AttributeDescriptor("toolTip", false, null,
0875: true);
0876: prop_toolTip.setValue(
0877: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0878: attrib);
0879: prop_toolTip
0880: .setValue(
0881: Constants.PropertyDescriptor.CATEGORY,
0882: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0883:
0884: PropertyDescriptor prop_visible = new PropertyDescriptor(
0885: "visible", beanClass, "isVisible", "setVisible");
0886: prop_visible.setDisplayName(resources
0887: .getString("RbCbSelector_visible_DisplayName"));
0888: prop_visible.setShortDescription(resources
0889: .getString("RbCbSelector_visible_Description"));
0890: prop_visible.setExpert(false);
0891: prop_visible.setHidden(false);
0892: prop_visible.setPreferred(false);
0893: attrib = new AttributeDescriptor("visible", false, "true",
0894: true);
0895: prop_visible.setValue(
0896: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0897: attrib);
0898: prop_visible
0899: .setValue(
0900: Constants.PropertyDescriptor.CATEGORY,
0901: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0902:
0903: PropertyDescriptor prop_attributes = new PropertyDescriptor(
0904: "attributes", beanClass, "getAttributes", null);
0905: prop_attributes.setDisplayName(resources
0906: .getString("RbCbSelector_attributes_DisplayName"));
0907: prop_attributes.setShortDescription(resources
0908: .getString("RbCbSelector_attributes_Description"));
0909: prop_attributes.setExpert(false);
0910: prop_attributes.setHidden(true);
0911: prop_attributes.setPreferred(false);
0912: prop_attributes
0913: .setValue(
0914: Constants.PropertyDescriptor.CATEGORY,
0915: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0916:
0917: PropertyDescriptor prop_childCount = new PropertyDescriptor(
0918: "childCount", beanClass, "getChildCount", null);
0919: prop_childCount.setDisplayName(resources
0920: .getString("RbCbSelector_childCount_DisplayName"));
0921: prop_childCount.setShortDescription(resources
0922: .getString("RbCbSelector_childCount_Description"));
0923: prop_childCount.setExpert(false);
0924: prop_childCount.setHidden(true);
0925: prop_childCount.setPreferred(false);
0926: prop_childCount
0927: .setValue(
0928: Constants.PropertyDescriptor.CATEGORY,
0929: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0930:
0931: PropertyDescriptor prop_children = new PropertyDescriptor(
0932: "children", beanClass, "getChildren", null);
0933: prop_children.setDisplayName(resources
0934: .getString("RbCbSelector_children_DisplayName"));
0935: prop_children.setShortDescription(resources
0936: .getString("RbCbSelector_children_Description"));
0937: prop_children.setExpert(false);
0938: prop_children.setHidden(true);
0939: prop_children.setPreferred(false);
0940: prop_children
0941: .setValue(
0942: Constants.PropertyDescriptor.CATEGORY,
0943: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0944:
0945: PropertyDescriptor prop_converter = new PropertyDescriptor(
0946: "converter", beanClass, "getConverter",
0947: "setConverter");
0948: prop_converter.setDisplayName(resources
0949: .getString("RbCbSelector_converter_DisplayName"));
0950: prop_converter.setShortDescription(resources
0951: .getString("RbCbSelector_converter_Description"));
0952: prop_converter
0953: .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.JSF1_1ConverterPropertyEditor"));
0954: prop_converter.setExpert(false);
0955: prop_converter.setHidden(false);
0956: prop_converter.setPreferred(false);
0957: attrib = new AttributeDescriptor("converter", false, null,
0958: true);
0959: prop_converter.setValue(
0960: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0961: attrib);
0962: prop_converter
0963: .setValue(
0964: Constants.PropertyDescriptor.CATEGORY,
0965: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0966:
0967: PropertyDescriptor prop_facets = new PropertyDescriptor(
0968: "facets", beanClass, "getFacets", null);
0969: prop_facets.setDisplayName(resources
0970: .getString("RbCbSelector_facets_DisplayName"));
0971: prop_facets.setShortDescription(resources
0972: .getString("RbCbSelector_facets_Description"));
0973: prop_facets.setExpert(false);
0974: prop_facets.setHidden(true);
0975: prop_facets.setPreferred(false);
0976: prop_facets
0977: .setValue(
0978: Constants.PropertyDescriptor.CATEGORY,
0979: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0980:
0981: PropertyDescriptor prop_family = new PropertyDescriptor(
0982: "family", beanClass, "getFamily", null);
0983: prop_family.setDisplayName(resources
0984: .getString("RbCbSelector_family_DisplayName"));
0985: prop_family.setShortDescription(resources
0986: .getString("RbCbSelector_family_Description"));
0987: prop_family.setExpert(false);
0988: prop_family.setHidden(true);
0989: prop_family.setPreferred(false);
0990: prop_family
0991: .setValue(
0992: Constants.PropertyDescriptor.CATEGORY,
0993: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0994:
0995: PropertyDescriptor prop_id = new PropertyDescriptor("id",
0996: beanClass, "getId", "setId");
0997: prop_id.setDisplayName(resources
0998: .getString("RbCbSelector_id_DisplayName"));
0999: prop_id.setShortDescription(resources
1000: .getString("RbCbSelector_id_Description"));
1001: prop_id.setExpert(false);
1002: prop_id.setHidden(true);
1003: prop_id.setPreferred(false);
1004: attrib = new AttributeDescriptor("id", false, null, true);
1005: prop_id.setValue(
1006: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1007: attrib);
1008: prop_id
1009: .setValue(
1010: Constants.PropertyDescriptor.CATEGORY,
1011: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
1012:
1013: PropertyDescriptor prop_immediate = new PropertyDescriptor(
1014: "immediate", beanClass, "isImmediate",
1015: "setImmediate");
1016: prop_immediate.setDisplayName(resources
1017: .getString("RbCbSelector_immediate_DisplayName"));
1018: prop_immediate.setShortDescription(resources
1019: .getString("RbCbSelector_immediate_Description"));
1020: prop_immediate.setExpert(false);
1021: prop_immediate.setHidden(false);
1022: prop_immediate.setPreferred(false);
1023: attrib = new AttributeDescriptor("immediate", false, null,
1024: true);
1025: prop_immediate.setValue(
1026: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1027: attrib);
1028: prop_immediate
1029: .setValue(
1030: Constants.PropertyDescriptor.CATEGORY,
1031: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1032:
1033: PropertyDescriptor prop_localValue = new PropertyDescriptor(
1034: "localValue", beanClass, "getLocalValue", null);
1035: prop_localValue.setDisplayName(resources
1036: .getString("RbCbSelector_localValue_DisplayName"));
1037: prop_localValue.setShortDescription(resources
1038: .getString("RbCbSelector_localValue_Description"));
1039: prop_localValue.setExpert(false);
1040: prop_localValue.setHidden(true);
1041: prop_localValue.setPreferred(false);
1042: prop_localValue
1043: .setValue(
1044: Constants.PropertyDescriptor.CATEGORY,
1045: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1046:
1047: PropertyDescriptor prop_localValueSet = new PropertyDescriptor(
1048: "localValueSet", beanClass, "isLocalValueSet",
1049: "setLocalValueSet");
1050: prop_localValueSet
1051: .setDisplayName(resources
1052: .getString("RbCbSelector_localValueSet_DisplayName"));
1053: prop_localValueSet
1054: .setShortDescription(resources
1055: .getString("RbCbSelector_localValueSet_Description"));
1056: prop_localValueSet.setExpert(false);
1057: prop_localValueSet.setHidden(true);
1058: prop_localValueSet.setPreferred(false);
1059: prop_localValueSet
1060: .setValue(
1061: Constants.PropertyDescriptor.CATEGORY,
1062: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1063:
1064: PropertyDescriptor prop_parent = new PropertyDescriptor(
1065: "parent", beanClass, "getParent", null);
1066: prop_parent.setDisplayName(resources
1067: .getString("RbCbSelector_parent_DisplayName"));
1068: prop_parent.setShortDescription(resources
1069: .getString("RbCbSelector_parent_Description"));
1070: prop_parent.setExpert(false);
1071: prop_parent.setHidden(true);
1072: prop_parent.setPreferred(false);
1073: prop_parent
1074: .setValue(
1075: Constants.PropertyDescriptor.CATEGORY,
1076: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1077:
1078: PropertyDescriptor prop_rendered = new PropertyDescriptor(
1079: "rendered", beanClass, "isRendered", "setRendered");
1080: prop_rendered.setDisplayName(resources
1081: .getString("RbCbSelector_rendered_DisplayName"));
1082: prop_rendered.setShortDescription(resources
1083: .getString("RbCbSelector_rendered_Description"));
1084: prop_rendered.setExpert(false);
1085: prop_rendered.setHidden(false);
1086: prop_rendered.setPreferred(false);
1087: attrib = new AttributeDescriptor("rendered", false, null,
1088: true);
1089: prop_rendered.setValue(
1090: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1091: attrib);
1092: prop_rendered
1093: .setValue(
1094: Constants.PropertyDescriptor.CATEGORY,
1095: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1096:
1097: PropertyDescriptor prop_rendererType = new PropertyDescriptor(
1098: "rendererType", beanClass, "getRendererType",
1099: "setRendererType");
1100: prop_rendererType
1101: .setDisplayName(resources
1102: .getString("RbCbSelector_rendererType_DisplayName"));
1103: prop_rendererType
1104: .setShortDescription(resources
1105: .getString("RbCbSelector_rendererType_Description"));
1106: prop_rendererType.setExpert(false);
1107: prop_rendererType.setHidden(true);
1108: prop_rendererType.setPreferred(false);
1109: prop_rendererType
1110: .setValue(
1111: Constants.PropertyDescriptor.CATEGORY,
1112: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1113:
1114: PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
1115: "rendersChildren", beanClass, "getRendersChildren",
1116: null);
1117: prop_rendersChildren
1118: .setDisplayName(resources
1119: .getString("RbCbSelector_rendersChildren_DisplayName"));
1120: prop_rendersChildren
1121: .setShortDescription(resources
1122: .getString("RbCbSelector_rendersChildren_Description"));
1123: prop_rendersChildren.setExpert(false);
1124: prop_rendersChildren.setHidden(true);
1125: prop_rendersChildren.setPreferred(false);
1126: prop_rendersChildren
1127: .setValue(
1128: Constants.PropertyDescriptor.CATEGORY,
1129: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1130:
1131: PropertyDescriptor prop_required = new PropertyDescriptor(
1132: "required", beanClass, "isRequired", "setRequired");
1133: prop_required.setDisplayName(resources
1134: .getString("RbCbSelector_required_DisplayName"));
1135: prop_required.setShortDescription(resources
1136: .getString("RbCbSelector_required_Description"));
1137: prop_required.setExpert(false);
1138: prop_required.setHidden(false);
1139: prop_required.setPreferred(false);
1140: attrib = new AttributeDescriptor("required", false, null,
1141: true);
1142: prop_required.setValue(
1143: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1144: attrib);
1145: prop_required
1146: .setValue(
1147: Constants.PropertyDescriptor.CATEGORY,
1148: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1149:
1150: PropertyDescriptor prop_submittedValue = new PropertyDescriptor(
1151: "submittedValue", beanClass, "getSubmittedValue",
1152: "setSubmittedValue");
1153: prop_submittedValue
1154: .setDisplayName(resources
1155: .getString("RbCbSelector_submittedValue_DisplayName"));
1156: prop_submittedValue
1157: .setShortDescription(resources
1158: .getString("RbCbSelector_submittedValue_Description"));
1159: prop_submittedValue.setExpert(false);
1160: prop_submittedValue.setHidden(true);
1161: prop_submittedValue.setPreferred(false);
1162: prop_submittedValue
1163: .setValue(
1164: Constants.PropertyDescriptor.CATEGORY,
1165: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1166:
1167: PropertyDescriptor prop_validator = new PropertyDescriptor(
1168: "validator", beanClass, "getValidator",
1169: "setValidator");
1170: prop_validator.setDisplayName(resources
1171: .getString("RbCbSelector_validator_DisplayName"));
1172: prop_validator.setShortDescription(resources
1173: .getString("RbCbSelector_validator_Description"));
1174: prop_validator
1175: .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.JSF1_1ValidatorPropertyEditor"));
1176: prop_validator.setExpert(false);
1177: prop_validator.setHidden(false);
1178: prop_validator.setPreferred(false);
1179: attrib = new AttributeDescriptor("validator", false, null,
1180: true);
1181: prop_validator.setValue(
1182: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1183: attrib);
1184: prop_validator
1185: .setValue(
1186: Constants.PropertyDescriptor.CATEGORY,
1187: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1188:
1189: PropertyDescriptor prop_value = new PropertyDescriptor(
1190: "value", beanClass, "getValue", "setValue");
1191: prop_value.setDisplayName(resources
1192: .getString("RbCbSelector_value_DisplayName"));
1193: prop_value.setShortDescription(resources
1194: .getString("RbCbSelector_value_Description"));
1195: prop_value.setExpert(false);
1196: prop_value.setHidden(true);
1197: prop_value.setPreferred(false);
1198: prop_value
1199: .setValue(
1200: Constants.PropertyDescriptor.CATEGORY,
1201: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1202:
1203: PropertyDescriptor prop_valueChangeListener = new PropertyDescriptor(
1204: "valueChangeListener", beanClass,
1205: "getValueChangeListener", "setValueChangeListener");
1206: prop_valueChangeListener
1207: .setDisplayName(resources
1208: .getString("RbCbSelector_valueChangeListener_DisplayName"));
1209: prop_valueChangeListener
1210: .setShortDescription(resources
1211: .getString("RbCbSelector_valueChangeListener_Description"));
1212: prop_valueChangeListener
1213: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.MethodBindingPropertyEditor"));
1214: prop_valueChangeListener.setExpert(false);
1215: prop_valueChangeListener.setHidden(false);
1216: prop_valueChangeListener.setPreferred(false);
1217: attrib = new AttributeDescriptor("valueChangeListener",
1218: false, null, true);
1219: prop_valueChangeListener.setValue(
1220: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1221: attrib);
1222: prop_valueChangeListener
1223: .setValue(
1224: Constants.PropertyDescriptor.CATEGORY,
1225: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1226:
1227: propDescriptors = new PropertyDescriptor[] {
1228: prop_attributes, prop_childCount, prop_children,
1229: prop_converter, prop_disabled, prop_facets,
1230: prop_family, prop_id, prop_imageURL,
1231: prop_immediate, prop_items, prop_label,
1232: prop_labelLevel, prop_localValue,
1233: prop_localValueSet, prop_name, prop_onBlur,
1234: prop_onChange, prop_onClick, prop_onDblClick,
1235: prop_onFocus, prop_onKeyDown, prop_onKeyPress,
1236: prop_onKeyUp, prop_onMouseDown, prop_onMouseMove,
1237: prop_onMouseOut, prop_onMouseOver, prop_onMouseUp,
1238: prop_onSelect, prop_parent, prop_readOnly,
1239: prop_rendered, prop_rendererType,
1240: prop_rendersChildren, prop_required, prop_selected,
1241: prop_selectedValue, prop_style, prop_styleClass,
1242: prop_submittedValue, prop_tabIndex, prop_toolTip,
1243: prop_validator, prop_value,
1244: prop_valueChangeListener, prop_visible, };
1245: return propDescriptors;
1246:
1247: } catch (IntrospectionException e) {
1248: e.printStackTrace();
1249: return null;
1250: }
1251:
1252: }
1253:
1254: }
1255: //GEN-END:BeanInfo
|