Source Code Cross Referenced for CheckboxGroupBeanInfoBase.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » web » ui » dt » component » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » visualweb.api.designer » org.netbeans.modules.visualweb.web.ui.dt.component 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


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 CheckboxGroupBeanInfoBase 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(),
0071:                            CheckboxGroupBeanInfoBase.class.getClassLoader());
0072:
0073:            /**
0074:             * <p>Construct a new <code>CheckboxGroupBeanInfoBase</code>.</p>
0075:             */
0076:            public CheckboxGroupBeanInfoBase() {
0077:
0078:                beanClass = com.sun.rave.web.ui.component.CheckboxGroup.class;
0079:                iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/CheckboxGroup_C16";
0080:                iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/CheckboxGroup_C32";
0081:                iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/CheckboxGroup_M16";
0082:                iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/CheckboxGroup_M32";
0083:
0084:            }
0085:
0086:            /**
0087:             * <p>The bean class that this BeanInfo represents.
0088:             */
0089:            protected Class beanClass;
0090:
0091:            /**
0092:             * <p>The cached BeanDescriptor.</p>
0093:             */
0094:            protected BeanDescriptor beanDescriptor;
0095:
0096:            /**
0097:             * <p>The index of the default property.</p>
0098:             */
0099:            protected int defaultPropertyIndex = -2;
0100:
0101:            /**
0102:             * <p>The name of the default property.</p>
0103:             */
0104:            protected String defaultPropertyName;
0105:
0106:            /**
0107:             * <p>The 16x16 color icon.</p>
0108:             */
0109:            protected String iconFileName_C16;
0110:
0111:            /**
0112:             * <p>The 32x32 color icon.</p>
0113:             */
0114:            protected String iconFileName_C32;
0115:
0116:            /**
0117:             * <p>The 16x16 monochrome icon.</p>
0118:             */
0119:            protected String iconFileName_M16;
0120:
0121:            /**
0122:             * <p>The 32x32 monochrome icon.</p>
0123:             */
0124:            protected String iconFileName_M32;
0125:
0126:            /**
0127:             * <p>The cached property descriptors.</p>
0128:             */
0129:            protected PropertyDescriptor[] propDescriptors;
0130:
0131:            /**
0132:             * <p>Return the <code>BeanDescriptor</code> for this bean.</p>
0133:             */
0134:            public BeanDescriptor getBeanDescriptor() {
0135:
0136:                if (beanDescriptor != null) {
0137:                    return beanDescriptor;
0138:                }
0139:
0140:                beanDescriptor = new BeanDescriptor(beanClass);
0141:                beanDescriptor.setDisplayName(resources
0142:                        .getString("CheckboxGroup_DisplayName"));
0143:                beanDescriptor.setShortDescription(resources
0144:                        .getString("CheckboxGroup_Description"));
0145:                beanDescriptor.setExpert(false);
0146:                beanDescriptor.setHidden(false);
0147:                beanDescriptor.setPreferred(false);
0148:                beanDescriptor.setValue(
0149:                        Constants.BeanDescriptor.FACET_DESCRIPTORS,
0150:                        getFacetDescriptors());
0151:                beanDescriptor.setValue(Constants.BeanDescriptor.HELP_KEY,
0152:                        "projrave_ui_elements_palette_bh_checkbox_group");
0153:                beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME,
0154:                        "checkboxGroup");
0155:                beanDescriptor.setValue(Constants.BeanDescriptor.IS_CONTAINER,
0156:                        Boolean.TRUE);
0157:                beanDescriptor
0158:                        .setValue(Constants.BeanDescriptor.PROPERTIES_HELP_KEY,
0159:                                "projrave_ui_elements_palette_bh_propsheets_bh_checkbox_group_props");
0160:                beanDescriptor.setValue(
0161:                        Constants.BeanDescriptor.PROPERTY_CATEGORIES,
0162:                        getCategoryDescriptors());
0163:                beanDescriptor.setValue(Constants.BeanDescriptor.TAG_NAME,
0164:                        "checkboxGroup");
0165:                beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_PREFIX,
0166:                        "ui");
0167:                beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_URI,
0168:                        "http://www.sun.com/web/ui");
0169:
0170:                return beanDescriptor;
0171:
0172:            }
0173:
0174:            /**
0175:             * <p>Return the <code>CategoryDescriptor</code> array for the property categories of this component.</p>
0176:             */
0177:            private CategoryDescriptor[] getCategoryDescriptors() {
0178:
0179:                return com.sun.rave.designtime.base.CategoryDescriptors
0180:                        .getDefaultCategoryDescriptors();
0181:
0182:            }
0183:
0184:            /**
0185:             * <p>Return the index of the default property, or
0186:             * -1 if there is no default property.</p>
0187:             */
0188:            public int getDefaultPropertyIndex() {
0189:
0190:                if (defaultPropertyIndex > -2) {
0191:                    return defaultPropertyIndex;
0192:                } else {
0193:                    if (defaultPropertyName == null) {
0194:                        defaultPropertyIndex = -1;
0195:                    } else {
0196:                        PropertyDescriptor pd[] = getPropertyDescriptors();
0197:                        for (int i = 0; i < pd.length; i++) {
0198:                            if (defaultPropertyName.equals(pd[i].getName())) {
0199:                                defaultPropertyIndex = i;
0200:                                break;
0201:                            }
0202:                        }
0203:                    }
0204:                }
0205:                return defaultPropertyIndex;
0206:            }
0207:
0208:            /**
0209:             * <p>The cached facet descriptors.</p>
0210:             */
0211:            protected FacetDescriptor[] facetDescriptors;
0212:
0213:            /**
0214:             * <p>Return the <code>FacetDescriptor</code>s for this bean.</p>
0215:             */
0216:            public FacetDescriptor[] getFacetDescriptors() {
0217:
0218:                if (facetDescriptors != null) {
0219:                    return facetDescriptors;
0220:                }
0221:                facetDescriptors = new FacetDescriptor[] {};
0222:                return facetDescriptors;
0223:
0224:            }
0225:
0226:            /**
0227:             * <p>Return the specified image (if any)
0228:             * for this component class.</p>
0229:             */
0230:            public Image getIcon(int kind) {
0231:
0232:                String name;
0233:                switch (kind) {
0234:                case ICON_COLOR_16x16:
0235:                    name = iconFileName_C16;
0236:                    break;
0237:                case ICON_COLOR_32x32:
0238:                    name = iconFileName_C32;
0239:                    break;
0240:                case ICON_MONO_16x16:
0241:                    name = iconFileName_M16;
0242:                    break;
0243:                case ICON_MONO_32x32:
0244:                    name = iconFileName_M32;
0245:                    break;
0246:                default:
0247:                    name = null;
0248:                    break;
0249:                }
0250:                if (name == null) {
0251:                    return null;
0252:                }
0253:
0254:                Image image = loadImage(name + ".png");
0255:                if (image == null) {
0256:                    image = loadImage(name + ".gif");
0257:                }
0258:                return image;
0259:
0260:            }
0261:
0262:            /**
0263:             * <p>Return a class loaded by name via the class loader that loaded this class.</p>
0264:             */
0265:            private java.lang.Class loadClass(java.lang.String name) {
0266:
0267:                try {
0268:                    return Class.forName(name);
0269:                } catch (ClassNotFoundException e) {
0270:                    throw new RuntimeException(e);
0271:                }
0272:
0273:            }
0274:
0275:            /**
0276:             * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
0277:             */
0278:            public PropertyDescriptor[] getPropertyDescriptors() {
0279:
0280:                if (propDescriptors != null) {
0281:                    return propDescriptors;
0282:                }
0283:                AttributeDescriptor attrib = null;
0284:
0285:                try {
0286:
0287:                    PropertyDescriptor prop_columns = new PropertyDescriptor(
0288:                            "columns", beanClass, "getColumns", "setColumns");
0289:                    prop_columns.setDisplayName(resources
0290:                            .getString("CheckboxGroup_columns_DisplayName"));
0291:                    prop_columns.setShortDescription(resources
0292:                            .getString("CheckboxGroup_columns_Description"));
0293:                    prop_columns
0294:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0295:                    prop_columns.setExpert(false);
0296:                    prop_columns.setHidden(false);
0297:                    prop_columns.setPreferred(false);
0298:                    attrib = new AttributeDescriptor("columns", false, "1",
0299:                            true);
0300:                    prop_columns.setValue(
0301:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0302:                            attrib);
0303:                    prop_columns
0304:                            .setValue(
0305:                                    Constants.PropertyDescriptor.CATEGORY,
0306:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0307:                    prop_columns.setValue(
0308:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0309:
0310:                    PropertyDescriptor prop_visible = new PropertyDescriptor(
0311:                            "visible", beanClass, "isVisible", "setVisible");
0312:                    prop_visible.setDisplayName(resources
0313:                            .getString("CheckboxGroup_visible_DisplayName"));
0314:                    prop_visible.setShortDescription(resources
0315:                            .getString("CheckboxGroup_visible_Description"));
0316:                    prop_visible.setExpert(false);
0317:                    prop_visible.setHidden(false);
0318:                    prop_visible.setPreferred(false);
0319:                    attrib = new AttributeDescriptor("visible", false, "true",
0320:                            true);
0321:                    prop_visible.setValue(
0322:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0323:                            attrib);
0324:                    prop_visible
0325:                            .setValue(
0326:                                    Constants.PropertyDescriptor.CATEGORY,
0327:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0328:
0329:                    PropertyDescriptor prop_disabled = new PropertyDescriptor(
0330:                            "disabled", beanClass, "isDisabled", "setDisabled");
0331:                    prop_disabled.setDisplayName(resources
0332:                            .getString("CheckboxGroup_disabled_DisplayName"));
0333:                    prop_disabled.setShortDescription(resources
0334:                            .getString("CheckboxGroup_disabled_Description"));
0335:                    prop_disabled.setExpert(false);
0336:                    prop_disabled.setHidden(false);
0337:                    prop_disabled.setPreferred(false);
0338:                    attrib = new AttributeDescriptor("disabled", false, null,
0339:                            true);
0340:                    prop_disabled.setValue(
0341:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0342:                            attrib);
0343:                    prop_disabled
0344:                            .setValue(
0345:                                    Constants.PropertyDescriptor.CATEGORY,
0346:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0347:
0348:                    PropertyDescriptor prop_items = new PropertyDescriptor(
0349:                            "items", beanClass, "getItems", "setItems");
0350:                    prop_items.setDisplayName(resources
0351:                            .getString("CheckboxGroup_items_DisplayName"));
0352:                    prop_items.setShortDescription(resources
0353:                            .getString("CheckboxGroup_items_Description"));
0354:                    prop_items
0355:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.binding.ValueBindingPropertyEditor"));
0356:                    prop_items.setExpert(false);
0357:                    prop_items.setHidden(false);
0358:                    prop_items.setPreferred(false);
0359:                    attrib = new AttributeDescriptor("items", false, null, true);
0360:                    prop_items.setValue(
0361:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0362:                            attrib);
0363:                    prop_items
0364:                            .setValue(
0365:                                    Constants.PropertyDescriptor.CATEGORY,
0366:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0367:                    prop_items
0368:                            .setValue(
0369:                                    "bindingPanelClassNames",
0370:                                    new Class[] {
0371:                                            org.netbeans.modules.visualweb.propertyeditors.binding.data.BindOptionsToDataProviderPanel.class,
0372:                                            org.netbeans.modules.visualweb.propertyeditors.binding.data.BindValueToObjectPanel.class });
0373:
0374:                    PropertyDescriptor prop_label = new PropertyDescriptor(
0375:                            "label", beanClass, "getLabel", "setLabel");
0376:                    prop_label.setDisplayName(resources
0377:                            .getString("CheckboxGroup_label_DisplayName"));
0378:                    prop_label.setShortDescription(resources
0379:                            .getString("CheckboxGroup_label_Description"));
0380:                    prop_label
0381:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0382:                    prop_label.setExpert(false);
0383:                    prop_label.setHidden(false);
0384:                    prop_label.setPreferred(false);
0385:                    attrib = new AttributeDescriptor("label", false, null, true);
0386:                    prop_label.setValue(
0387:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0388:                            attrib);
0389:                    prop_label
0390:                            .setValue(
0391:                                    Constants.PropertyDescriptor.CATEGORY,
0392:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0393:
0394:                    PropertyDescriptor prop_labelLevel = new PropertyDescriptor(
0395:                            "labelLevel", beanClass, "getLabelLevel",
0396:                            "setLabelLevel");
0397:                    prop_labelLevel.setDisplayName(resources
0398:                            .getString("CheckboxGroup_labelLevel_DisplayName"));
0399:                    prop_labelLevel.setShortDescription(resources
0400:                            .getString("CheckboxGroup_labelLevel_Description"));
0401:                    prop_labelLevel
0402:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0403:                    prop_labelLevel.setExpert(false);
0404:                    prop_labelLevel.setHidden(false);
0405:                    prop_labelLevel.setPreferred(false);
0406:                    attrib = new AttributeDescriptor("labelLevel", false, "2",
0407:                            true);
0408:                    prop_labelLevel.setValue(
0409:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0410:                            attrib);
0411:                    prop_labelLevel
0412:                            .setValue(
0413:                                    Constants.PropertyDescriptor.CATEGORY,
0414:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0415:                    prop_labelLevel
0416:                            .setValue(
0417:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0418:                                    org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.LabelLevelsDomain.class);
0419:
0420:                    PropertyDescriptor prop_onBlur = new PropertyDescriptor(
0421:                            "onBlur", beanClass, "getOnBlur", "setOnBlur");
0422:                    prop_onBlur.setDisplayName(resources
0423:                            .getString("CheckboxGroup_onBlur_DisplayName"));
0424:                    prop_onBlur.setShortDescription(resources
0425:                            .getString("CheckboxGroup_onBlur_Description"));
0426:                    prop_onBlur
0427:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0428:                    prop_onBlur.setExpert(false);
0429:                    prop_onBlur.setHidden(true);
0430:                    prop_onBlur.setPreferred(false);
0431:                    prop_onBlur
0432:                            .setValue(
0433:                                    Constants.PropertyDescriptor.CATEGORY,
0434:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0435:
0436:                    PropertyDescriptor prop_onChange = new PropertyDescriptor(
0437:                            "onChange", beanClass, "getOnChange", "setOnChange");
0438:                    prop_onChange.setDisplayName(resources
0439:                            .getString("CheckboxGroup_onChange_DisplayName"));
0440:                    prop_onChange.setShortDescription(resources
0441:                            .getString("CheckboxGroup_onChange_Description"));
0442:                    prop_onChange
0443:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0444:                    prop_onChange.setExpert(false);
0445:                    prop_onChange.setHidden(true);
0446:                    prop_onChange.setPreferred(false);
0447:                    prop_onChange
0448:                            .setValue(
0449:                                    Constants.PropertyDescriptor.CATEGORY,
0450:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0451:
0452:                    PropertyDescriptor prop_onClick = new PropertyDescriptor(
0453:                            "onClick", beanClass, "getOnClick", "setOnClick");
0454:                    prop_onClick.setDisplayName(resources
0455:                            .getString("CheckboxGroup_onClick_DisplayName"));
0456:                    prop_onClick.setShortDescription(resources
0457:                            .getString("CheckboxGroup_onClick_Description"));
0458:                    prop_onClick
0459:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0460:                    prop_onClick.setExpert(false);
0461:                    prop_onClick.setHidden(false);
0462:                    prop_onClick.setPreferred(false);
0463:                    attrib = new AttributeDescriptor("onClick", false, null,
0464:                            true);
0465:                    prop_onClick.setValue(
0466:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0467:                            attrib);
0468:                    prop_onClick
0469:                            .setValue(
0470:                                    Constants.PropertyDescriptor.CATEGORY,
0471:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0472:
0473:                    PropertyDescriptor prop_onDblClick = new PropertyDescriptor(
0474:                            "onDblClick", beanClass, "getOnDblClick",
0475:                            "setOnDblClick");
0476:                    prop_onDblClick.setDisplayName(resources
0477:                            .getString("CheckboxGroup_onDblClick_DisplayName"));
0478:                    prop_onDblClick.setShortDescription(resources
0479:                            .getString("CheckboxGroup_onDblClick_Description"));
0480:                    prop_onDblClick
0481:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0482:                    prop_onDblClick.setExpert(false);
0483:                    prop_onDblClick.setHidden(false);
0484:                    prop_onDblClick.setPreferred(false);
0485:                    attrib = new AttributeDescriptor("onDblClick", false, null,
0486:                            true);
0487:                    prop_onDblClick.setValue(
0488:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0489:                            attrib);
0490:                    prop_onDblClick
0491:                            .setValue(
0492:                                    Constants.PropertyDescriptor.CATEGORY,
0493:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0494:
0495:                    PropertyDescriptor prop_onFocus = new PropertyDescriptor(
0496:                            "onFocus", beanClass, "getOnFocus", "setOnFocus");
0497:                    prop_onFocus.setDisplayName(resources
0498:                            .getString("CheckboxGroup_onFocus_DisplayName"));
0499:                    prop_onFocus.setShortDescription(resources
0500:                            .getString("CheckboxGroup_onFocus_Description"));
0501:                    prop_onFocus
0502:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0503:                    prop_onFocus.setExpert(false);
0504:                    prop_onFocus.setHidden(true);
0505:                    prop_onFocus.setPreferred(false);
0506:                    prop_onFocus
0507:                            .setValue(
0508:                                    Constants.PropertyDescriptor.CATEGORY,
0509:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0510:
0511:                    PropertyDescriptor prop_onKeyDown = new PropertyDescriptor(
0512:                            "onKeyDown", beanClass, "getOnKeyDown",
0513:                            "setOnKeyDown");
0514:                    prop_onKeyDown.setDisplayName(resources
0515:                            .getString("CheckboxGroup_onKeyDown_DisplayName"));
0516:                    prop_onKeyDown.setShortDescription(resources
0517:                            .getString("CheckboxGroup_onKeyDown_Description"));
0518:                    prop_onKeyDown
0519:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0520:                    prop_onKeyDown.setExpert(false);
0521:                    prop_onKeyDown.setHidden(false);
0522:                    prop_onKeyDown.setPreferred(false);
0523:                    attrib = new AttributeDescriptor("onKeyDown", false, null,
0524:                            true);
0525:                    prop_onKeyDown.setValue(
0526:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0527:                            attrib);
0528:                    prop_onKeyDown
0529:                            .setValue(
0530:                                    Constants.PropertyDescriptor.CATEGORY,
0531:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0532:
0533:                    PropertyDescriptor prop_onKeyPress = new PropertyDescriptor(
0534:                            "onKeyPress", beanClass, "getOnKeyPress",
0535:                            "setOnKeyPress");
0536:                    prop_onKeyPress.setDisplayName(resources
0537:                            .getString("CheckboxGroup_onKeyPress_DisplayName"));
0538:                    prop_onKeyPress.setShortDescription(resources
0539:                            .getString("CheckboxGroup_onKeyPress_Description"));
0540:                    prop_onKeyPress
0541:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0542:                    prop_onKeyPress.setExpert(false);
0543:                    prop_onKeyPress.setHidden(false);
0544:                    prop_onKeyPress.setPreferred(false);
0545:                    attrib = new AttributeDescriptor("onKeyPress", false, null,
0546:                            true);
0547:                    prop_onKeyPress.setValue(
0548:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0549:                            attrib);
0550:                    prop_onKeyPress
0551:                            .setValue(
0552:                                    Constants.PropertyDescriptor.CATEGORY,
0553:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0554:
0555:                    PropertyDescriptor prop_onKeyUp = new PropertyDescriptor(
0556:                            "onKeyUp", beanClass, "getOnKeyUp", "setOnKeyUp");
0557:                    prop_onKeyUp.setDisplayName(resources
0558:                            .getString("CheckboxGroup_onKeyUp_DisplayName"));
0559:                    prop_onKeyUp.setShortDescription(resources
0560:                            .getString("CheckboxGroup_onKeyUp_Description"));
0561:                    prop_onKeyUp
0562:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0563:                    prop_onKeyUp.setExpert(false);
0564:                    prop_onKeyUp.setHidden(false);
0565:                    prop_onKeyUp.setPreferred(false);
0566:                    attrib = new AttributeDescriptor("onKeyUp", false, null,
0567:                            true);
0568:                    prop_onKeyUp.setValue(
0569:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0570:                            attrib);
0571:                    prop_onKeyUp
0572:                            .setValue(
0573:                                    Constants.PropertyDescriptor.CATEGORY,
0574:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0575:
0576:                    PropertyDescriptor prop_onMouseDown = new PropertyDescriptor(
0577:                            "onMouseDown", beanClass, "getOnMouseDown",
0578:                            "setOnMouseDown");
0579:                    prop_onMouseDown
0580:                            .setDisplayName(resources
0581:                                    .getString("CheckboxGroup_onMouseDown_DisplayName"));
0582:                    prop_onMouseDown
0583:                            .setShortDescription(resources
0584:                                    .getString("CheckboxGroup_onMouseDown_Description"));
0585:                    prop_onMouseDown
0586:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0587:                    prop_onMouseDown.setExpert(false);
0588:                    prop_onMouseDown.setHidden(false);
0589:                    prop_onMouseDown.setPreferred(false);
0590:                    attrib = new AttributeDescriptor("onMouseDown", false,
0591:                            null, true);
0592:                    prop_onMouseDown.setValue(
0593:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0594:                            attrib);
0595:                    prop_onMouseDown
0596:                            .setValue(
0597:                                    Constants.PropertyDescriptor.CATEGORY,
0598:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0599:
0600:                    PropertyDescriptor prop_onMouseMove = new PropertyDescriptor(
0601:                            "onMouseMove", beanClass, "getOnMouseMove",
0602:                            "setOnMouseMove");
0603:                    prop_onMouseMove
0604:                            .setDisplayName(resources
0605:                                    .getString("CheckboxGroup_onMouseMove_DisplayName"));
0606:                    prop_onMouseMove
0607:                            .setShortDescription(resources
0608:                                    .getString("CheckboxGroup_onMouseMove_Description"));
0609:                    prop_onMouseMove
0610:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0611:                    prop_onMouseMove.setExpert(false);
0612:                    prop_onMouseMove.setHidden(false);
0613:                    prop_onMouseMove.setPreferred(false);
0614:                    attrib = new AttributeDescriptor("onMouseMove", false,
0615:                            null, true);
0616:                    prop_onMouseMove.setValue(
0617:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0618:                            attrib);
0619:                    prop_onMouseMove
0620:                            .setValue(
0621:                                    Constants.PropertyDescriptor.CATEGORY,
0622:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0623:
0624:                    PropertyDescriptor prop_onMouseOut = new PropertyDescriptor(
0625:                            "onMouseOut", beanClass, "getOnMouseOut",
0626:                            "setOnMouseOut");
0627:                    prop_onMouseOut.setDisplayName(resources
0628:                            .getString("CheckboxGroup_onMouseOut_DisplayName"));
0629:                    prop_onMouseOut.setShortDescription(resources
0630:                            .getString("CheckboxGroup_onMouseOut_Description"));
0631:                    prop_onMouseOut
0632:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0633:                    prop_onMouseOut.setExpert(false);
0634:                    prop_onMouseOut.setHidden(false);
0635:                    prop_onMouseOut.setPreferred(false);
0636:                    attrib = new AttributeDescriptor("onMouseOut", false, null,
0637:                            true);
0638:                    prop_onMouseOut.setValue(
0639:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0640:                            attrib);
0641:                    prop_onMouseOut
0642:                            .setValue(
0643:                                    Constants.PropertyDescriptor.CATEGORY,
0644:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0645:
0646:                    PropertyDescriptor prop_onMouseOver = new PropertyDescriptor(
0647:                            "onMouseOver", beanClass, "getOnMouseOver",
0648:                            "setOnMouseOver");
0649:                    prop_onMouseOver
0650:                            .setDisplayName(resources
0651:                                    .getString("CheckboxGroup_onMouseOver_DisplayName"));
0652:                    prop_onMouseOver
0653:                            .setShortDescription(resources
0654:                                    .getString("CheckboxGroup_onMouseOver_Description"));
0655:                    prop_onMouseOver
0656:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0657:                    prop_onMouseOver.setExpert(false);
0658:                    prop_onMouseOver.setHidden(false);
0659:                    prop_onMouseOver.setPreferred(false);
0660:                    attrib = new AttributeDescriptor("onMouseOver", false,
0661:                            null, true);
0662:                    prop_onMouseOver.setValue(
0663:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0664:                            attrib);
0665:                    prop_onMouseOver
0666:                            .setValue(
0667:                                    Constants.PropertyDescriptor.CATEGORY,
0668:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0669:
0670:                    PropertyDescriptor prop_onMouseUp = new PropertyDescriptor(
0671:                            "onMouseUp", beanClass, "getOnMouseUp",
0672:                            "setOnMouseUp");
0673:                    prop_onMouseUp.setDisplayName(resources
0674:                            .getString("CheckboxGroup_onMouseUp_DisplayName"));
0675:                    prop_onMouseUp.setShortDescription(resources
0676:                            .getString("CheckboxGroup_onMouseUp_Description"));
0677:                    prop_onMouseUp
0678:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0679:                    prop_onMouseUp.setExpert(false);
0680:                    prop_onMouseUp.setHidden(false);
0681:                    prop_onMouseUp.setPreferred(false);
0682:                    attrib = new AttributeDescriptor("onMouseUp", false, null,
0683:                            true);
0684:                    prop_onMouseUp.setValue(
0685:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0686:                            attrib);
0687:                    prop_onMouseUp
0688:                            .setValue(
0689:                                    Constants.PropertyDescriptor.CATEGORY,
0690:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0691:
0692:                    PropertyDescriptor prop_onSelect = new PropertyDescriptor(
0693:                            "onSelect", beanClass, "getOnSelect", "setOnSelect");
0694:                    prop_onSelect.setDisplayName(resources
0695:                            .getString("CheckboxGroup_onSelect_DisplayName"));
0696:                    prop_onSelect.setShortDescription(resources
0697:                            .getString("CheckboxGroup_onSelect_Description"));
0698:                    prop_onSelect
0699:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0700:                    prop_onSelect.setExpert(false);
0701:                    prop_onSelect.setHidden(true);
0702:                    prop_onSelect.setPreferred(false);
0703:                    prop_onSelect
0704:                            .setValue(
0705:                                    Constants.PropertyDescriptor.CATEGORY,
0706:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0707:
0708:                    PropertyDescriptor prop_readOnly = new PropertyDescriptor(
0709:                            "readOnly", beanClass, "isReadOnly", "setReadOnly");
0710:                    prop_readOnly.setDisplayName(resources
0711:                            .getString("CheckboxGroup_readOnly_DisplayName"));
0712:                    prop_readOnly.setShortDescription(resources
0713:                            .getString("CheckboxGroup_readOnly_Description"));
0714:                    prop_readOnly.setExpert(false);
0715:                    prop_readOnly.setHidden(false);
0716:                    prop_readOnly.setPreferred(false);
0717:                    attrib = new AttributeDescriptor("readOnly", false, null,
0718:                            true);
0719:                    prop_readOnly.setValue(
0720:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0721:                            attrib);
0722:                    prop_readOnly
0723:                            .setValue(
0724:                                    Constants.PropertyDescriptor.CATEGORY,
0725:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0726:
0727:                    PropertyDescriptor prop_selected = new PropertyDescriptor(
0728:                            "selected", beanClass, "getSelected", "setSelected");
0729:                    prop_selected.setDisplayName(resources
0730:                            .getString("CheckboxGroup_selected_DisplayName"));
0731:                    prop_selected.setShortDescription(resources
0732:                            .getString("CheckboxGroup_selected_Description"));
0733:                    prop_selected
0734:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.binding.ValueBindingPropertyEditor"));
0735:                    prop_selected.setExpert(false);
0736:                    prop_selected.setHidden(false);
0737:                    prop_selected.setPreferred(false);
0738:                    attrib = new AttributeDescriptor("selected", false, null,
0739:                            true);
0740:                    prop_selected.setValue(
0741:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0742:                            attrib);
0743:                    prop_selected
0744:                            .setValue(
0745:                                    Constants.PropertyDescriptor.CATEGORY,
0746:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0747:                    prop_selected
0748:                            .setValue(
0749:                                    "bindingPanelClassNames",
0750:                                    new Class[] {
0751:                                            org.netbeans.modules.visualweb.propertyeditors.binding.data.BindValueToDataProviderPanel.class,
0752:                                            org.netbeans.modules.visualweb.propertyeditors.binding.data.BindValueToObjectPanel.class });
0753:
0754:                    PropertyDescriptor prop_style = new PropertyDescriptor(
0755:                            "style", beanClass, "getStyle", "setStyle");
0756:                    prop_style.setDisplayName(resources
0757:                            .getString("CheckboxGroup_style_DisplayName"));
0758:                    prop_style.setShortDescription(resources
0759:                            .getString("CheckboxGroup_style_Description"));
0760:                    prop_style
0761:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.css.CssStylePropertyEditor"));
0762:                    prop_style.setExpert(false);
0763:                    prop_style.setHidden(false);
0764:                    prop_style.setPreferred(false);
0765:                    attrib = new AttributeDescriptor("style", false, null, true);
0766:                    prop_style.setValue(
0767:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0768:                            attrib);
0769:                    prop_style
0770:                            .setValue(
0771:                                    Constants.PropertyDescriptor.CATEGORY,
0772:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0773:
0774:                    PropertyDescriptor prop_styleClass = new PropertyDescriptor(
0775:                            "styleClass", beanClass, "getStyleClass",
0776:                            "setStyleClass");
0777:                    prop_styleClass.setDisplayName(resources
0778:                            .getString("CheckboxGroup_styleClass_DisplayName"));
0779:                    prop_styleClass.setShortDescription(resources
0780:                            .getString("CheckboxGroup_styleClass_Description"));
0781:                    prop_styleClass
0782:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
0783:                    prop_styleClass.setExpert(false);
0784:                    prop_styleClass.setHidden(false);
0785:                    prop_styleClass.setPreferred(false);
0786:                    attrib = new AttributeDescriptor("styleClass", false, null,
0787:                            true);
0788:                    prop_styleClass.setValue(
0789:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0790:                            attrib);
0791:                    prop_styleClass
0792:                            .setValue(
0793:                                    Constants.PropertyDescriptor.CATEGORY,
0794:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0795:
0796:                    PropertyDescriptor prop_tabIndex = new PropertyDescriptor(
0797:                            "tabIndex", beanClass, "getTabIndex", "setTabIndex");
0798:                    prop_tabIndex.setDisplayName(resources
0799:                            .getString("CheckboxGroup_tabIndex_DisplayName"));
0800:                    prop_tabIndex.setShortDescription(resources
0801:                            .getString("CheckboxGroup_tabIndex_Description"));
0802:                    prop_tabIndex
0803:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0804:                    prop_tabIndex.setExpert(false);
0805:                    prop_tabIndex.setHidden(false);
0806:                    prop_tabIndex.setPreferred(false);
0807:                    attrib = new AttributeDescriptor("tabIndex", false, null,
0808:                            true);
0809:                    prop_tabIndex.setValue(
0810:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0811:                            attrib);
0812:                    prop_tabIndex
0813:                            .setValue(
0814:                                    Constants.PropertyDescriptor.CATEGORY,
0815:                                    com.sun.rave.designtime.base.CategoryDescriptors.ACCESSIBILITY);
0816:                    prop_tabIndex.setValue(
0817:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0818:
0819:                    PropertyDescriptor prop_toolTip = new PropertyDescriptor(
0820:                            "toolTip", beanClass, "getToolTip", "setToolTip");
0821:                    prop_toolTip.setDisplayName(resources
0822:                            .getString("CheckboxGroup_toolTip_DisplayName"));
0823:                    prop_toolTip.setShortDescription(resources
0824:                            .getString("CheckboxGroup_toolTip_Description"));
0825:                    prop_toolTip
0826:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0827:                    prop_toolTip.setExpert(false);
0828:                    prop_toolTip.setHidden(false);
0829:                    prop_toolTip.setPreferred(false);
0830:                    attrib = new AttributeDescriptor("toolTip", false, null,
0831:                            true);
0832:                    prop_toolTip.setValue(
0833:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0834:                            attrib);
0835:                    prop_toolTip
0836:                            .setValue(
0837:                                    Constants.PropertyDescriptor.CATEGORY,
0838:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0839:
0840:                    PropertyDescriptor prop_attributes = new PropertyDescriptor(
0841:                            "attributes", beanClass, "getAttributes", null);
0842:                    prop_attributes.setDisplayName(resources
0843:                            .getString("CheckboxGroup_attributes_DisplayName"));
0844:                    prop_attributes.setShortDescription(resources
0845:                            .getString("CheckboxGroup_attributes_Description"));
0846:                    prop_attributes.setExpert(false);
0847:                    prop_attributes.setHidden(true);
0848:                    prop_attributes.setPreferred(false);
0849:                    prop_attributes
0850:                            .setValue(
0851:                                    Constants.PropertyDescriptor.CATEGORY,
0852:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0853:
0854:                    PropertyDescriptor prop_childCount = new PropertyDescriptor(
0855:                            "childCount", beanClass, "getChildCount", null);
0856:                    prop_childCount.setDisplayName(resources
0857:                            .getString("CheckboxGroup_childCount_DisplayName"));
0858:                    prop_childCount.setShortDescription(resources
0859:                            .getString("CheckboxGroup_childCount_Description"));
0860:                    prop_childCount.setExpert(false);
0861:                    prop_childCount.setHidden(true);
0862:                    prop_childCount.setPreferred(false);
0863:                    prop_childCount
0864:                            .setValue(
0865:                                    Constants.PropertyDescriptor.CATEGORY,
0866:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0867:
0868:                    PropertyDescriptor prop_children = new PropertyDescriptor(
0869:                            "children", beanClass, "getChildren", null);
0870:                    prop_children.setDisplayName(resources
0871:                            .getString("CheckboxGroup_children_DisplayName"));
0872:                    prop_children.setShortDescription(resources
0873:                            .getString("CheckboxGroup_children_Description"));
0874:                    prop_children.setExpert(false);
0875:                    prop_children.setHidden(true);
0876:                    prop_children.setPreferred(false);
0877:                    prop_children
0878:                            .setValue(
0879:                                    Constants.PropertyDescriptor.CATEGORY,
0880:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0881:
0882:                    PropertyDescriptor prop_converter = new PropertyDescriptor(
0883:                            "converter", beanClass, "getConverter",
0884:                            "setConverter");
0885:                    prop_converter.setDisplayName(resources
0886:                            .getString("CheckboxGroup_converter_DisplayName"));
0887:                    prop_converter.setShortDescription(resources
0888:                            .getString("CheckboxGroup_converter_Description"));
0889:                    prop_converter
0890:                            .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.JSF1_1ConverterPropertyEditor"));
0891:                    prop_converter.setExpert(false);
0892:                    prop_converter.setHidden(false);
0893:                    prop_converter.setPreferred(false);
0894:                    attrib = new AttributeDescriptor("converter", false, null,
0895:                            true);
0896:                    prop_converter.setValue(
0897:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0898:                            attrib);
0899:                    prop_converter
0900:                            .setValue(
0901:                                    Constants.PropertyDescriptor.CATEGORY,
0902:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0903:
0904:                    PropertyDescriptor prop_facets = new PropertyDescriptor(
0905:                            "facets", beanClass, "getFacets", null);
0906:                    prop_facets.setDisplayName(resources
0907:                            .getString("CheckboxGroup_facets_DisplayName"));
0908:                    prop_facets.setShortDescription(resources
0909:                            .getString("CheckboxGroup_facets_Description"));
0910:                    prop_facets.setExpert(false);
0911:                    prop_facets.setHidden(true);
0912:                    prop_facets.setPreferred(false);
0913:                    prop_facets
0914:                            .setValue(
0915:                                    Constants.PropertyDescriptor.CATEGORY,
0916:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0917:
0918:                    PropertyDescriptor prop_family = new PropertyDescriptor(
0919:                            "family", beanClass, "getFamily", null);
0920:                    prop_family.setDisplayName(resources
0921:                            .getString("CheckboxGroup_family_DisplayName"));
0922:                    prop_family.setShortDescription(resources
0923:                            .getString("CheckboxGroup_family_Description"));
0924:                    prop_family.setExpert(false);
0925:                    prop_family.setHidden(true);
0926:                    prop_family.setPreferred(false);
0927:                    prop_family
0928:                            .setValue(
0929:                                    Constants.PropertyDescriptor.CATEGORY,
0930:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0931:
0932:                    PropertyDescriptor prop_id = new PropertyDescriptor("id",
0933:                            beanClass, "getId", "setId");
0934:                    prop_id.setDisplayName(resources
0935:                            .getString("CheckboxGroup_id_DisplayName"));
0936:                    prop_id.setShortDescription(resources
0937:                            .getString("CheckboxGroup_id_Description"));
0938:                    prop_id.setExpert(false);
0939:                    prop_id.setHidden(true);
0940:                    prop_id.setPreferred(false);
0941:                    attrib = new AttributeDescriptor("id", false, null, true);
0942:                    prop_id.setValue(
0943:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0944:                            attrib);
0945:                    prop_id
0946:                            .setValue(
0947:                                    Constants.PropertyDescriptor.CATEGORY,
0948:                                    com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0949:
0950:                    PropertyDescriptor prop_immediate = new PropertyDescriptor(
0951:                            "immediate", beanClass, "isImmediate",
0952:                            "setImmediate");
0953:                    prop_immediate.setDisplayName(resources
0954:                            .getString("CheckboxGroup_immediate_DisplayName"));
0955:                    prop_immediate.setShortDescription(resources
0956:                            .getString("CheckboxGroup_immediate_Description"));
0957:                    prop_immediate.setExpert(false);
0958:                    prop_immediate.setHidden(false);
0959:                    prop_immediate.setPreferred(false);
0960:                    attrib = new AttributeDescriptor("immediate", false, null,
0961:                            true);
0962:                    prop_immediate.setValue(
0963:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0964:                            attrib);
0965:                    prop_immediate
0966:                            .setValue(
0967:                                    Constants.PropertyDescriptor.CATEGORY,
0968:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0969:
0970:                    PropertyDescriptor prop_localValue = new PropertyDescriptor(
0971:                            "localValue", beanClass, "getLocalValue", null);
0972:                    prop_localValue.setDisplayName(resources
0973:                            .getString("CheckboxGroup_localValue_DisplayName"));
0974:                    prop_localValue.setShortDescription(resources
0975:                            .getString("CheckboxGroup_localValue_Description"));
0976:                    prop_localValue.setExpert(false);
0977:                    prop_localValue.setHidden(true);
0978:                    prop_localValue.setPreferred(false);
0979:                    prop_localValue
0980:                            .setValue(
0981:                                    Constants.PropertyDescriptor.CATEGORY,
0982:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0983:
0984:                    PropertyDescriptor prop_localValueSet = new PropertyDescriptor(
0985:                            "localValueSet", beanClass, "isLocalValueSet",
0986:                            "setLocalValueSet");
0987:                    prop_localValueSet
0988:                            .setDisplayName(resources
0989:                                    .getString("CheckboxGroup_localValueSet_DisplayName"));
0990:                    prop_localValueSet
0991:                            .setShortDescription(resources
0992:                                    .getString("CheckboxGroup_localValueSet_Description"));
0993:                    prop_localValueSet.setExpert(false);
0994:                    prop_localValueSet.setHidden(true);
0995:                    prop_localValueSet.setPreferred(false);
0996:                    prop_localValueSet
0997:                            .setValue(
0998:                                    Constants.PropertyDescriptor.CATEGORY,
0999:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1000:
1001:                    PropertyDescriptor prop_parent = new PropertyDescriptor(
1002:                            "parent", beanClass, "getParent", null);
1003:                    prop_parent.setDisplayName(resources
1004:                            .getString("CheckboxGroup_parent_DisplayName"));
1005:                    prop_parent.setShortDescription(resources
1006:                            .getString("CheckboxGroup_parent_Description"));
1007:                    prop_parent.setExpert(false);
1008:                    prop_parent.setHidden(true);
1009:                    prop_parent.setPreferred(false);
1010:                    prop_parent
1011:                            .setValue(
1012:                                    Constants.PropertyDescriptor.CATEGORY,
1013:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1014:
1015:                    PropertyDescriptor prop_rendered = new PropertyDescriptor(
1016:                            "rendered", beanClass, "isRendered", "setRendered");
1017:                    prop_rendered.setDisplayName(resources
1018:                            .getString("CheckboxGroup_rendered_DisplayName"));
1019:                    prop_rendered.setShortDescription(resources
1020:                            .getString("CheckboxGroup_rendered_Description"));
1021:                    prop_rendered.setExpert(false);
1022:                    prop_rendered.setHidden(false);
1023:                    prop_rendered.setPreferred(false);
1024:                    attrib = new AttributeDescriptor("rendered", false, null,
1025:                            true);
1026:                    prop_rendered.setValue(
1027:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1028:                            attrib);
1029:                    prop_rendered
1030:                            .setValue(
1031:                                    Constants.PropertyDescriptor.CATEGORY,
1032:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1033:
1034:                    PropertyDescriptor prop_rendererType = new PropertyDescriptor(
1035:                            "rendererType", beanClass, "getRendererType",
1036:                            "setRendererType");
1037:                    prop_rendererType
1038:                            .setDisplayName(resources
1039:                                    .getString("CheckboxGroup_rendererType_DisplayName"));
1040:                    prop_rendererType
1041:                            .setShortDescription(resources
1042:                                    .getString("CheckboxGroup_rendererType_Description"));
1043:                    prop_rendererType.setExpert(false);
1044:                    prop_rendererType.setHidden(true);
1045:                    prop_rendererType.setPreferred(false);
1046:                    prop_rendererType
1047:                            .setValue(
1048:                                    Constants.PropertyDescriptor.CATEGORY,
1049:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1050:
1051:                    PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
1052:                            "rendersChildren", beanClass, "getRendersChildren",
1053:                            null);
1054:                    prop_rendersChildren
1055:                            .setDisplayName(resources
1056:                                    .getString("CheckboxGroup_rendersChildren_DisplayName"));
1057:                    prop_rendersChildren
1058:                            .setShortDescription(resources
1059:                                    .getString("CheckboxGroup_rendersChildren_Description"));
1060:                    prop_rendersChildren.setExpert(false);
1061:                    prop_rendersChildren.setHidden(true);
1062:                    prop_rendersChildren.setPreferred(false);
1063:                    prop_rendersChildren
1064:                            .setValue(
1065:                                    Constants.PropertyDescriptor.CATEGORY,
1066:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1067:
1068:                    PropertyDescriptor prop_required = new PropertyDescriptor(
1069:                            "required", beanClass, "isRequired", "setRequired");
1070:                    prop_required.setDisplayName(resources
1071:                            .getString("CheckboxGroup_required_DisplayName"));
1072:                    prop_required.setShortDescription(resources
1073:                            .getString("CheckboxGroup_required_Description"));
1074:                    prop_required.setExpert(false);
1075:                    prop_required.setHidden(false);
1076:                    prop_required.setPreferred(false);
1077:                    attrib = new AttributeDescriptor("required", false, null,
1078:                            true);
1079:                    prop_required.setValue(
1080:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1081:                            attrib);
1082:                    prop_required
1083:                            .setValue(
1084:                                    Constants.PropertyDescriptor.CATEGORY,
1085:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1086:
1087:                    PropertyDescriptor prop_submittedValue = new PropertyDescriptor(
1088:                            "submittedValue", beanClass, "getSubmittedValue",
1089:                            "setSubmittedValue");
1090:                    prop_submittedValue
1091:                            .setDisplayName(resources
1092:                                    .getString("CheckboxGroup_submittedValue_DisplayName"));
1093:                    prop_submittedValue
1094:                            .setShortDescription(resources
1095:                                    .getString("CheckboxGroup_submittedValue_Description"));
1096:                    prop_submittedValue.setExpert(false);
1097:                    prop_submittedValue.setHidden(true);
1098:                    prop_submittedValue.setPreferred(false);
1099:                    prop_submittedValue
1100:                            .setValue(
1101:                                    Constants.PropertyDescriptor.CATEGORY,
1102:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1103:
1104:                    PropertyDescriptor prop_validator = new PropertyDescriptor(
1105:                            "validator", beanClass, "getValidator",
1106:                            "setValidator");
1107:                    prop_validator.setDisplayName(resources
1108:                            .getString("CheckboxGroup_validator_DisplayName"));
1109:                    prop_validator.setShortDescription(resources
1110:                            .getString("CheckboxGroup_validator_Description"));
1111:                    prop_validator
1112:                            .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.JSF1_1ValidatorPropertyEditor"));
1113:                    prop_validator.setExpert(false);
1114:                    prop_validator.setHidden(false);
1115:                    prop_validator.setPreferred(false);
1116:                    attrib = new AttributeDescriptor("validator", false, null,
1117:                            true);
1118:                    prop_validator.setValue(
1119:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1120:                            attrib);
1121:                    prop_validator
1122:                            .setValue(
1123:                                    Constants.PropertyDescriptor.CATEGORY,
1124:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1125:
1126:                    PropertyDescriptor prop_value = new PropertyDescriptor(
1127:                            "value", beanClass, "getValue", "setValue");
1128:                    prop_value.setDisplayName(resources
1129:                            .getString("CheckboxGroup_value_DisplayName"));
1130:                    prop_value.setShortDescription(resources
1131:                            .getString("CheckboxGroup_value_Description"));
1132:                    prop_value.setExpert(false);
1133:                    prop_value.setHidden(true);
1134:                    prop_value.setPreferred(false);
1135:                    prop_value
1136:                            .setValue(
1137:                                    Constants.PropertyDescriptor.CATEGORY,
1138:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1139:
1140:                    PropertyDescriptor prop_valueChangeListener = new PropertyDescriptor(
1141:                            "valueChangeListener", beanClass,
1142:                            "getValueChangeListener", "setValueChangeListener");
1143:                    prop_valueChangeListener
1144:                            .setDisplayName(resources
1145:                                    .getString("CheckboxGroup_valueChangeListener_DisplayName"));
1146:                    prop_valueChangeListener
1147:                            .setShortDescription(resources
1148:                                    .getString("CheckboxGroup_valueChangeListener_Description"));
1149:                    prop_valueChangeListener
1150:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.MethodBindingPropertyEditor"));
1151:                    prop_valueChangeListener.setExpert(false);
1152:                    prop_valueChangeListener.setHidden(false);
1153:                    prop_valueChangeListener.setPreferred(false);
1154:                    attrib = new AttributeDescriptor("valueChangeListener",
1155:                            false, null, true);
1156:                    prop_valueChangeListener.setValue(
1157:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1158:                            attrib);
1159:                    prop_valueChangeListener
1160:                            .setValue(
1161:                                    Constants.PropertyDescriptor.CATEGORY,
1162:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1163:
1164:                    propDescriptors = new PropertyDescriptor[] {
1165:                            prop_attributes, prop_childCount, prop_children,
1166:                            prop_columns, prop_converter, prop_disabled,
1167:                            prop_facets, prop_family, prop_id, prop_immediate,
1168:                            prop_items, prop_label, prop_labelLevel,
1169:                            prop_localValue, prop_localValueSet, prop_onBlur,
1170:                            prop_onChange, prop_onClick, prop_onDblClick,
1171:                            prop_onFocus, prop_onKeyDown, prop_onKeyPress,
1172:                            prop_onKeyUp, prop_onMouseDown, prop_onMouseMove,
1173:                            prop_onMouseOut, prop_onMouseOver, prop_onMouseUp,
1174:                            prop_onSelect, prop_parent, prop_readOnly,
1175:                            prop_rendered, prop_rendererType,
1176:                            prop_rendersChildren, prop_required, prop_selected,
1177:                            prop_style, prop_styleClass, prop_submittedValue,
1178:                            prop_tabIndex, prop_toolTip, prop_validator,
1179:                            prop_value, prop_valueChangeListener, prop_visible, };
1180:                    return propDescriptors;
1181:
1182:                } catch (IntrospectionException e) {
1183:                    e.printStackTrace();
1184:                    return null;
1185:                }
1186:
1187:            }
1188:
1189:        }
1190:        //GEN-END:BeanInfo
w___w___w.___j_a_v__a___2__s_.c__o__m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.