Source Code Cross Referenced for FieldBeanInfoBase.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 FieldBeanInfoBase 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(), FieldBeanInfoBase.class
0071:                                    .getClassLoader());
0072:
0073:            /**
0074:             * <p>Construct a new <code>FieldBeanInfoBase</code>.</p>
0075:             */
0076:            public FieldBeanInfoBase() {
0077:
0078:                beanClass = com.sun.rave.web.ui.component.Field.class;
0079:                defaultPropertyName = "";
0080:                iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Field_C16";
0081:                iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Field_C32";
0082:                iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Field_M16";
0083:                iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Field_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("Field_DisplayName"));
0144:                beanDescriptor.setShortDescription(resources
0145:                        .getString("Field_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:                        "field");
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:                        "field");
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_label = new FacetDescriptor("label");
0220:                    facet_label.setDisplayName(resources
0221:                            .getString("Field_label_DisplayName"));
0222:                    facet_label.setShortDescription(resources
0223:                            .getString("Field_label_Description"));
0224:
0225:                    FacetDescriptor facet_readOnly = new FacetDescriptor(
0226:                            "readOnly");
0227:                    facet_readOnly.setDisplayName(resources
0228:                            .getString("Field_readOnly_DisplayName"));
0229:                    facet_readOnly.setShortDescription(resources
0230:                            .getString("Field_readOnly_Description"));
0231:
0232:                    facetDescriptors = new FacetDescriptor[] { facet_label,
0233:                            facet_readOnly, };
0234:                    return facetDescriptors;
0235:
0236:                } catch (RuntimeException e) {
0237:                    System.out.println(e.getMessage());
0238:                    e.printStackTrace(System.out);
0239:                    throw e;
0240:                }
0241:
0242:            }
0243:
0244:            /**
0245:             * <p>Return the specified image (if any)
0246:             * for this component class.</p>
0247:             */
0248:            public Image getIcon(int kind) {
0249:
0250:                String name;
0251:                switch (kind) {
0252:                case ICON_COLOR_16x16:
0253:                    name = iconFileName_C16;
0254:                    break;
0255:                case ICON_COLOR_32x32:
0256:                    name = iconFileName_C32;
0257:                    break;
0258:                case ICON_MONO_16x16:
0259:                    name = iconFileName_M16;
0260:                    break;
0261:                case ICON_MONO_32x32:
0262:                    name = iconFileName_M32;
0263:                    break;
0264:                default:
0265:                    name = null;
0266:                    break;
0267:                }
0268:                if (name == null) {
0269:                    return null;
0270:                }
0271:
0272:                Image image = loadImage(name + ".png");
0273:                if (image == null) {
0274:                    image = loadImage(name + ".gif");
0275:                }
0276:                return image;
0277:
0278:            }
0279:
0280:            /**
0281:             * <p>Return a class loaded by name via the class loader that loaded this class.</p>
0282:             */
0283:            private java.lang.Class loadClass(java.lang.String name) {
0284:
0285:                try {
0286:                    return Class.forName(name);
0287:                } catch (ClassNotFoundException e) {
0288:                    throw new RuntimeException(e);
0289:                }
0290:
0291:            }
0292:
0293:            /**
0294:             * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
0295:             */
0296:            public PropertyDescriptor[] getPropertyDescriptors() {
0297:
0298:                if (propDescriptors != null) {
0299:                    return propDescriptors;
0300:                }
0301:                AttributeDescriptor attrib = null;
0302:
0303:                try {
0304:
0305:                    PropertyDescriptor prop_columns = new PropertyDescriptor(
0306:                            "columns", beanClass, "getColumns", "setColumns");
0307:                    prop_columns.setDisplayName(resources
0308:                            .getString("Field_columns_DisplayName"));
0309:                    prop_columns.setShortDescription(resources
0310:                            .getString("Field_columns_Description"));
0311:                    prop_columns
0312:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0313:                    prop_columns.setExpert(false);
0314:                    prop_columns.setHidden(false);
0315:                    prop_columns.setPreferred(false);
0316:                    attrib = new AttributeDescriptor("columns", false, "20",
0317:                            true);
0318:                    prop_columns.setValue(
0319:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0320:                            attrib);
0321:                    prop_columns
0322:                            .setValue(
0323:                                    Constants.PropertyDescriptor.CATEGORY,
0324:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0325:                    prop_columns.setValue(
0326:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0327:
0328:                    PropertyDescriptor prop_disabled = new PropertyDescriptor(
0329:                            "disabled", beanClass, "isDisabled", "setDisabled");
0330:                    prop_disabled.setDisplayName(resources
0331:                            .getString("Field_disabled_DisplayName"));
0332:                    prop_disabled.setShortDescription(resources
0333:                            .getString("Field_disabled_Description"));
0334:                    prop_disabled.setExpert(false);
0335:                    prop_disabled.setHidden(false);
0336:                    prop_disabled.setPreferred(false);
0337:                    attrib = new AttributeDescriptor("disabled", false, null,
0338:                            true);
0339:                    prop_disabled.setValue(
0340:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0341:                            attrib);
0342:                    prop_disabled
0343:                            .setValue(
0344:                                    Constants.PropertyDescriptor.CATEGORY,
0345:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0346:
0347:                    PropertyDescriptor prop_label = new PropertyDescriptor(
0348:                            "label", beanClass, "getLabel", "setLabel");
0349:                    prop_label.setDisplayName(resources
0350:                            .getString("Field_label_DisplayName"));
0351:                    prop_label.setShortDescription(resources
0352:                            .getString("Field_label_Description"));
0353:                    prop_label
0354:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0355:                    prop_label.setExpert(false);
0356:                    prop_label.setHidden(false);
0357:                    prop_label.setPreferred(false);
0358:                    attrib = new AttributeDescriptor("label", false, null, true);
0359:                    prop_label.setValue(
0360:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0361:                            attrib);
0362:                    prop_label
0363:                            .setValue(
0364:                                    Constants.PropertyDescriptor.CATEGORY,
0365:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0366:
0367:                    PropertyDescriptor prop_labelLevel = new PropertyDescriptor(
0368:                            "labelLevel", beanClass, "getLabelLevel",
0369:                            "setLabelLevel");
0370:                    prop_labelLevel.setDisplayName(resources
0371:                            .getString("Field_labelLevel_DisplayName"));
0372:                    prop_labelLevel.setShortDescription(resources
0373:                            .getString("Field_labelLevel_Description"));
0374:                    prop_labelLevel
0375:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0376:                    prop_labelLevel.setExpert(false);
0377:                    prop_labelLevel.setHidden(false);
0378:                    prop_labelLevel.setPreferred(false);
0379:                    attrib = new AttributeDescriptor("labelLevel", false, "2",
0380:                            true);
0381:                    prop_labelLevel.setValue(
0382:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0383:                            attrib);
0384:                    prop_labelLevel
0385:                            .setValue(
0386:                                    Constants.PropertyDescriptor.CATEGORY,
0387:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0388:                    prop_labelLevel
0389:                            .setValue(
0390:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0391:                                    org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.LabelLevelsDomain.class);
0392:
0393:                    PropertyDescriptor prop_maxLength = new PropertyDescriptor(
0394:                            "maxLength", beanClass, "getMaxLength",
0395:                            "setMaxLength");
0396:                    prop_maxLength.setDisplayName(resources
0397:                            .getString("Field_maxLength_DisplayName"));
0398:                    prop_maxLength.setShortDescription(resources
0399:                            .getString("Field_maxLength_Description"));
0400:                    prop_maxLength
0401:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0402:                    prop_maxLength.setExpert(false);
0403:                    prop_maxLength.setHidden(false);
0404:                    prop_maxLength.setPreferred(false);
0405:                    attrib = new AttributeDescriptor("maxLength", false, null,
0406:                            true);
0407:                    prop_maxLength.setValue(
0408:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0409:                            attrib);
0410:                    prop_maxLength
0411:                            .setValue(
0412:                                    Constants.PropertyDescriptor.CATEGORY,
0413:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0414:                    prop_maxLength.setValue(
0415:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0416:
0417:                    PropertyDescriptor prop_onBlur = new PropertyDescriptor(
0418:                            "onBlur", beanClass, "getOnBlur", "setOnBlur");
0419:                    prop_onBlur.setDisplayName(resources
0420:                            .getString("Field_onBlur_DisplayName"));
0421:                    prop_onBlur.setShortDescription(resources
0422:                            .getString("Field_onBlur_Description"));
0423:                    prop_onBlur
0424:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0425:                    prop_onBlur.setExpert(false);
0426:                    prop_onBlur.setHidden(false);
0427:                    prop_onBlur.setPreferred(false);
0428:                    attrib = new AttributeDescriptor("onBlur", false, null,
0429:                            true);
0430:                    prop_onBlur.setValue(
0431:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0432:                            attrib);
0433:                    prop_onBlur
0434:                            .setValue(
0435:                                    Constants.PropertyDescriptor.CATEGORY,
0436:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0437:
0438:                    PropertyDescriptor prop_onChange = new PropertyDescriptor(
0439:                            "onChange", beanClass, "getOnChange", "setOnChange");
0440:                    prop_onChange.setDisplayName(resources
0441:                            .getString("Field_onChange_DisplayName"));
0442:                    prop_onChange.setShortDescription(resources
0443:                            .getString("Field_onChange_Description"));
0444:                    prop_onChange
0445:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0446:                    prop_onChange.setExpert(false);
0447:                    prop_onChange.setHidden(false);
0448:                    prop_onChange.setPreferred(false);
0449:                    attrib = new AttributeDescriptor("onChange", false, null,
0450:                            true);
0451:                    prop_onChange.setValue(
0452:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0453:                            attrib);
0454:                    prop_onChange
0455:                            .setValue(
0456:                                    Constants.PropertyDescriptor.CATEGORY,
0457:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0458:
0459:                    PropertyDescriptor prop_onClick = new PropertyDescriptor(
0460:                            "onClick", beanClass, "getOnClick", "setOnClick");
0461:                    prop_onClick.setDisplayName(resources
0462:                            .getString("Field_onClick_DisplayName"));
0463:                    prop_onClick.setShortDescription(resources
0464:                            .getString("Field_onClick_Description"));
0465:                    prop_onClick
0466:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0467:                    prop_onClick.setExpert(false);
0468:                    prop_onClick.setHidden(false);
0469:                    prop_onClick.setPreferred(false);
0470:                    attrib = new AttributeDescriptor("onClick", false, null,
0471:                            true);
0472:                    prop_onClick.setValue(
0473:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0474:                            attrib);
0475:                    prop_onClick
0476:                            .setValue(
0477:                                    Constants.PropertyDescriptor.CATEGORY,
0478:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0479:
0480:                    PropertyDescriptor prop_onDblClick = new PropertyDescriptor(
0481:                            "onDblClick", beanClass, "getOnDblClick",
0482:                            "setOnDblClick");
0483:                    prop_onDblClick.setDisplayName(resources
0484:                            .getString("Field_onDblClick_DisplayName"));
0485:                    prop_onDblClick.setShortDescription(resources
0486:                            .getString("Field_onDblClick_Description"));
0487:                    prop_onDblClick
0488:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0489:                    prop_onDblClick.setExpert(false);
0490:                    prop_onDblClick.setHidden(false);
0491:                    prop_onDblClick.setPreferred(false);
0492:                    attrib = new AttributeDescriptor("onDblClick", false, null,
0493:                            true);
0494:                    prop_onDblClick.setValue(
0495:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0496:                            attrib);
0497:                    prop_onDblClick
0498:                            .setValue(
0499:                                    Constants.PropertyDescriptor.CATEGORY,
0500:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0501:
0502:                    PropertyDescriptor prop_onFocus = new PropertyDescriptor(
0503:                            "onFocus", beanClass, "getOnFocus", "setOnFocus");
0504:                    prop_onFocus.setDisplayName(resources
0505:                            .getString("Field_onFocus_DisplayName"));
0506:                    prop_onFocus.setShortDescription(resources
0507:                            .getString("Field_onFocus_Description"));
0508:                    prop_onFocus
0509:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0510:                    prop_onFocus.setExpert(false);
0511:                    prop_onFocus.setHidden(false);
0512:                    prop_onFocus.setPreferred(false);
0513:                    attrib = new AttributeDescriptor("onFocus", false, null,
0514:                            true);
0515:                    prop_onFocus.setValue(
0516:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0517:                            attrib);
0518:                    prop_onFocus
0519:                            .setValue(
0520:                                    Constants.PropertyDescriptor.CATEGORY,
0521:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0522:
0523:                    PropertyDescriptor prop_onKeyDown = new PropertyDescriptor(
0524:                            "onKeyDown", beanClass, "getOnKeyDown",
0525:                            "setOnKeyDown");
0526:                    prop_onKeyDown.setDisplayName(resources
0527:                            .getString("Field_onKeyDown_DisplayName"));
0528:                    prop_onKeyDown.setShortDescription(resources
0529:                            .getString("Field_onKeyDown_Description"));
0530:                    prop_onKeyDown
0531:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0532:                    prop_onKeyDown.setExpert(false);
0533:                    prop_onKeyDown.setHidden(false);
0534:                    prop_onKeyDown.setPreferred(false);
0535:                    attrib = new AttributeDescriptor("onKeyDown", false, null,
0536:                            true);
0537:                    prop_onKeyDown.setValue(
0538:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0539:                            attrib);
0540:                    prop_onKeyDown
0541:                            .setValue(
0542:                                    Constants.PropertyDescriptor.CATEGORY,
0543:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0544:
0545:                    PropertyDescriptor prop_onKeyPress = new PropertyDescriptor(
0546:                            "onKeyPress", beanClass, "getOnKeyPress",
0547:                            "setOnKeyPress");
0548:                    prop_onKeyPress.setDisplayName(resources
0549:                            .getString("Field_onKeyPress_DisplayName"));
0550:                    prop_onKeyPress.setShortDescription(resources
0551:                            .getString("Field_onKeyPress_Description"));
0552:                    prop_onKeyPress
0553:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0554:                    prop_onKeyPress.setExpert(false);
0555:                    prop_onKeyPress.setHidden(false);
0556:                    prop_onKeyPress.setPreferred(false);
0557:                    attrib = new AttributeDescriptor("onKeyPress", false, null,
0558:                            true);
0559:                    prop_onKeyPress.setValue(
0560:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0561:                            attrib);
0562:                    prop_onKeyPress
0563:                            .setValue(
0564:                                    Constants.PropertyDescriptor.CATEGORY,
0565:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0566:
0567:                    PropertyDescriptor prop_onKeyUp = new PropertyDescriptor(
0568:                            "onKeyUp", beanClass, "getOnKeyUp", "setOnKeyUp");
0569:                    prop_onKeyUp.setDisplayName(resources
0570:                            .getString("Field_onKeyUp_DisplayName"));
0571:                    prop_onKeyUp.setShortDescription(resources
0572:                            .getString("Field_onKeyUp_Description"));
0573:                    prop_onKeyUp
0574:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0575:                    prop_onKeyUp.setExpert(false);
0576:                    prop_onKeyUp.setHidden(false);
0577:                    prop_onKeyUp.setPreferred(false);
0578:                    attrib = new AttributeDescriptor("onKeyUp", false, null,
0579:                            true);
0580:                    prop_onKeyUp.setValue(
0581:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0582:                            attrib);
0583:                    prop_onKeyUp
0584:                            .setValue(
0585:                                    Constants.PropertyDescriptor.CATEGORY,
0586:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0587:
0588:                    PropertyDescriptor prop_onMouseDown = new PropertyDescriptor(
0589:                            "onMouseDown", beanClass, "getOnMouseDown",
0590:                            "setOnMouseDown");
0591:                    prop_onMouseDown.setDisplayName(resources
0592:                            .getString("Field_onMouseDown_DisplayName"));
0593:                    prop_onMouseDown.setShortDescription(resources
0594:                            .getString("Field_onMouseDown_Description"));
0595:                    prop_onMouseDown
0596:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0597:                    prop_onMouseDown.setExpert(false);
0598:                    prop_onMouseDown.setHidden(false);
0599:                    prop_onMouseDown.setPreferred(false);
0600:                    attrib = new AttributeDescriptor("onMouseDown", false,
0601:                            null, true);
0602:                    prop_onMouseDown.setValue(
0603:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0604:                            attrib);
0605:                    prop_onMouseDown
0606:                            .setValue(
0607:                                    Constants.PropertyDescriptor.CATEGORY,
0608:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0609:
0610:                    PropertyDescriptor prop_onMouseMove = new PropertyDescriptor(
0611:                            "onMouseMove", beanClass, "getOnMouseMove",
0612:                            "setOnMouseMove");
0613:                    prop_onMouseMove.setDisplayName(resources
0614:                            .getString("Field_onMouseMove_DisplayName"));
0615:                    prop_onMouseMove.setShortDescription(resources
0616:                            .getString("Field_onMouseMove_Description"));
0617:                    prop_onMouseMove
0618:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0619:                    prop_onMouseMove.setExpert(false);
0620:                    prop_onMouseMove.setHidden(false);
0621:                    prop_onMouseMove.setPreferred(false);
0622:                    attrib = new AttributeDescriptor("onMouseMove", false,
0623:                            null, true);
0624:                    prop_onMouseMove.setValue(
0625:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0626:                            attrib);
0627:                    prop_onMouseMove
0628:                            .setValue(
0629:                                    Constants.PropertyDescriptor.CATEGORY,
0630:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0631:
0632:                    PropertyDescriptor prop_onMouseOut = new PropertyDescriptor(
0633:                            "onMouseOut", beanClass, "getOnMouseOut",
0634:                            "setOnMouseOut");
0635:                    prop_onMouseOut.setDisplayName(resources
0636:                            .getString("Field_onMouseOut_DisplayName"));
0637:                    prop_onMouseOut.setShortDescription(resources
0638:                            .getString("Field_onMouseOut_Description"));
0639:                    prop_onMouseOut
0640:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0641:                    prop_onMouseOut.setExpert(false);
0642:                    prop_onMouseOut.setHidden(false);
0643:                    prop_onMouseOut.setPreferred(false);
0644:                    attrib = new AttributeDescriptor("onMouseOut", false, null,
0645:                            true);
0646:                    prop_onMouseOut.setValue(
0647:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0648:                            attrib);
0649:                    prop_onMouseOut
0650:                            .setValue(
0651:                                    Constants.PropertyDescriptor.CATEGORY,
0652:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0653:
0654:                    PropertyDescriptor prop_onMouseOver = new PropertyDescriptor(
0655:                            "onMouseOver", beanClass, "getOnMouseOver",
0656:                            "setOnMouseOver");
0657:                    prop_onMouseOver.setDisplayName(resources
0658:                            .getString("Field_onMouseOver_DisplayName"));
0659:                    prop_onMouseOver.setShortDescription(resources
0660:                            .getString("Field_onMouseOver_Description"));
0661:                    prop_onMouseOver
0662:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0663:                    prop_onMouseOver.setExpert(false);
0664:                    prop_onMouseOver.setHidden(false);
0665:                    prop_onMouseOver.setPreferred(false);
0666:                    attrib = new AttributeDescriptor("onMouseOver", false,
0667:                            null, true);
0668:                    prop_onMouseOver.setValue(
0669:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0670:                            attrib);
0671:                    prop_onMouseOver
0672:                            .setValue(
0673:                                    Constants.PropertyDescriptor.CATEGORY,
0674:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0675:
0676:                    PropertyDescriptor prop_onMouseUp = new PropertyDescriptor(
0677:                            "onMouseUp", beanClass, "getOnMouseUp",
0678:                            "setOnMouseUp");
0679:                    prop_onMouseUp.setDisplayName(resources
0680:                            .getString("Field_onMouseUp_DisplayName"));
0681:                    prop_onMouseUp.setShortDescription(resources
0682:                            .getString("Field_onMouseUp_Description"));
0683:                    prop_onMouseUp
0684:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0685:                    prop_onMouseUp.setExpert(false);
0686:                    prop_onMouseUp.setHidden(false);
0687:                    prop_onMouseUp.setPreferred(false);
0688:                    attrib = new AttributeDescriptor("onMouseUp", false, null,
0689:                            true);
0690:                    prop_onMouseUp.setValue(
0691:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0692:                            attrib);
0693:                    prop_onMouseUp
0694:                            .setValue(
0695:                                    Constants.PropertyDescriptor.CATEGORY,
0696:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0697:
0698:                    PropertyDescriptor prop_onSelect = new PropertyDescriptor(
0699:                            "onSelect", beanClass, "getOnSelect", "setOnSelect");
0700:                    prop_onSelect.setDisplayName(resources
0701:                            .getString("Field_onSelect_DisplayName"));
0702:                    prop_onSelect.setShortDescription(resources
0703:                            .getString("Field_onSelect_Description"));
0704:                    prop_onSelect
0705:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0706:                    prop_onSelect.setExpert(false);
0707:                    prop_onSelect.setHidden(false);
0708:                    prop_onSelect.setPreferred(false);
0709:                    attrib = new AttributeDescriptor("onSelect", false, null,
0710:                            true);
0711:                    prop_onSelect.setValue(
0712:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0713:                            attrib);
0714:                    prop_onSelect
0715:                            .setValue(
0716:                                    Constants.PropertyDescriptor.CATEGORY,
0717:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0718:
0719:                    PropertyDescriptor prop_readOnly = new PropertyDescriptor(
0720:                            "readOnly", beanClass, "isReadOnly", "setReadOnly");
0721:                    prop_readOnly.setDisplayName(resources
0722:                            .getString("Field_readOnly_DisplayName"));
0723:                    prop_readOnly.setShortDescription(resources
0724:                            .getString("Field_readOnly_Description"));
0725:                    prop_readOnly.setExpert(false);
0726:                    prop_readOnly.setHidden(false);
0727:                    prop_readOnly.setPreferred(false);
0728:                    attrib = new AttributeDescriptor("readOnly", false, null,
0729:                            true);
0730:                    prop_readOnly.setValue(
0731:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0732:                            attrib);
0733:                    prop_readOnly
0734:                            .setValue(
0735:                                    Constants.PropertyDescriptor.CATEGORY,
0736:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0737:
0738:                    PropertyDescriptor prop_style = new PropertyDescriptor(
0739:                            "style", beanClass, "getStyle", "setStyle");
0740:                    prop_style.setDisplayName(resources
0741:                            .getString("Field_style_DisplayName"));
0742:                    prop_style.setShortDescription(resources
0743:                            .getString("Field_style_Description"));
0744:                    prop_style
0745:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.css.CssStylePropertyEditor"));
0746:                    prop_style.setExpert(false);
0747:                    prop_style.setHidden(false);
0748:                    prop_style.setPreferred(false);
0749:                    attrib = new AttributeDescriptor("style", false, null, true);
0750:                    prop_style.setValue(
0751:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0752:                            attrib);
0753:                    prop_style
0754:                            .setValue(
0755:                                    Constants.PropertyDescriptor.CATEGORY,
0756:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0757:
0758:                    PropertyDescriptor prop_styleClass = new PropertyDescriptor(
0759:                            "styleClass", beanClass, "getStyleClass",
0760:                            "setStyleClass");
0761:                    prop_styleClass.setDisplayName(resources
0762:                            .getString("Field_styleClass_DisplayName"));
0763:                    prop_styleClass.setShortDescription(resources
0764:                            .getString("Field_styleClass_Description"));
0765:                    prop_styleClass
0766:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
0767:                    prop_styleClass.setExpert(false);
0768:                    prop_styleClass.setHidden(false);
0769:                    prop_styleClass.setPreferred(false);
0770:                    attrib = new AttributeDescriptor("styleClass", false, null,
0771:                            true);
0772:                    prop_styleClass.setValue(
0773:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0774:                            attrib);
0775:                    prop_styleClass
0776:                            .setValue(
0777:                                    Constants.PropertyDescriptor.CATEGORY,
0778:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0779:
0780:                    PropertyDescriptor prop_tabIndex = new PropertyDescriptor(
0781:                            "tabIndex", beanClass, "getTabIndex", "setTabIndex");
0782:                    prop_tabIndex.setDisplayName(resources
0783:                            .getString("Field_tabIndex_DisplayName"));
0784:                    prop_tabIndex.setShortDescription(resources
0785:                            .getString("Field_tabIndex_Description"));
0786:                    prop_tabIndex
0787:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0788:                    prop_tabIndex.setExpert(false);
0789:                    prop_tabIndex.setHidden(false);
0790:                    prop_tabIndex.setPreferred(false);
0791:                    attrib = new AttributeDescriptor("tabIndex", false, null,
0792:                            true);
0793:                    prop_tabIndex.setValue(
0794:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0795:                            attrib);
0796:                    prop_tabIndex
0797:                            .setValue(
0798:                                    Constants.PropertyDescriptor.CATEGORY,
0799:                                    com.sun.rave.designtime.base.CategoryDescriptors.ACCESSIBILITY);
0800:                    prop_tabIndex.setValue(
0801:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0802:
0803:                    PropertyDescriptor prop_text = new PropertyDescriptor(
0804:                            "text", beanClass, "getText", "setText");
0805:                    prop_text.setDisplayName(resources
0806:                            .getString("Field_text_DisplayName"));
0807:                    prop_text.setShortDescription(resources
0808:                            .getString("Field_text_Description"));
0809:                    prop_text
0810:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0811:                    prop_text.setExpert(false);
0812:                    prop_text.setHidden(false);
0813:                    prop_text.setPreferred(false);
0814:                    attrib = new AttributeDescriptor("text", false, null, true);
0815:                    prop_text.setValue(
0816:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0817:                            attrib);
0818:                    prop_text
0819:                            .setValue(
0820:                                    Constants.PropertyDescriptor.CATEGORY,
0821:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0822:
0823:                    PropertyDescriptor prop_toolTip = new PropertyDescriptor(
0824:                            "toolTip", beanClass, "getToolTip", "setToolTip");
0825:                    prop_toolTip.setDisplayName(resources
0826:                            .getString("Field_toolTip_DisplayName"));
0827:                    prop_toolTip.setShortDescription(resources
0828:                            .getString("Field_toolTip_Description"));
0829:                    prop_toolTip
0830:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0831:                    prop_toolTip.setExpert(false);
0832:                    prop_toolTip.setHidden(false);
0833:                    prop_toolTip.setPreferred(false);
0834:                    attrib = new AttributeDescriptor("toolTip", false, null,
0835:                            true);
0836:                    prop_toolTip.setValue(
0837:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0838:                            attrib);
0839:                    prop_toolTip
0840:                            .setValue(
0841:                                    Constants.PropertyDescriptor.CATEGORY,
0842:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0843:
0844:                    PropertyDescriptor prop_trim = new PropertyDescriptor(
0845:                            "trim", beanClass, "isTrim", "setTrim");
0846:                    prop_trim.setDisplayName(resources
0847:                            .getString("Field_trim_DisplayName"));
0848:                    prop_trim.setShortDescription(resources
0849:                            .getString("Field_trim_Description"));
0850:                    prop_trim.setExpert(false);
0851:                    prop_trim.setHidden(false);
0852:                    prop_trim.setPreferred(false);
0853:                    attrib = new AttributeDescriptor("trim", false, "true",
0854:                            true);
0855:                    prop_trim.setValue(
0856:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0857:                            attrib);
0858:                    prop_trim
0859:                            .setValue(
0860:                                    Constants.PropertyDescriptor.CATEGORY,
0861:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0862:
0863:                    PropertyDescriptor prop_visible = new PropertyDescriptor(
0864:                            "visible", beanClass, "isVisible", "setVisible");
0865:                    prop_visible.setDisplayName(resources
0866:                            .getString("Field_visible_DisplayName"));
0867:                    prop_visible.setShortDescription(resources
0868:                            .getString("Field_visible_Description"));
0869:                    prop_visible.setExpert(false);
0870:                    prop_visible.setHidden(false);
0871:                    prop_visible.setPreferred(false);
0872:                    attrib = new AttributeDescriptor("visible", false, "true",
0873:                            true);
0874:                    prop_visible.setValue(
0875:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0876:                            attrib);
0877:                    prop_visible
0878:                            .setValue(
0879:                                    Constants.PropertyDescriptor.CATEGORY,
0880:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0881:
0882:                    PropertyDescriptor prop_attributes = new PropertyDescriptor(
0883:                            "attributes", beanClass, "getAttributes", null);
0884:                    prop_attributes.setDisplayName(resources
0885:                            .getString("Field_attributes_DisplayName"));
0886:                    prop_attributes.setShortDescription(resources
0887:                            .getString("Field_attributes_Description"));
0888:                    prop_attributes.setExpert(false);
0889:                    prop_attributes.setHidden(true);
0890:                    prop_attributes.setPreferred(false);
0891:                    prop_attributes
0892:                            .setValue(
0893:                                    Constants.PropertyDescriptor.CATEGORY,
0894:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0895:
0896:                    PropertyDescriptor prop_childCount = new PropertyDescriptor(
0897:                            "childCount", beanClass, "getChildCount", null);
0898:                    prop_childCount.setDisplayName(resources
0899:                            .getString("Field_childCount_DisplayName"));
0900:                    prop_childCount.setShortDescription(resources
0901:                            .getString("Field_childCount_Description"));
0902:                    prop_childCount.setExpert(false);
0903:                    prop_childCount.setHidden(true);
0904:                    prop_childCount.setPreferred(false);
0905:                    prop_childCount
0906:                            .setValue(
0907:                                    Constants.PropertyDescriptor.CATEGORY,
0908:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0909:
0910:                    PropertyDescriptor prop_children = new PropertyDescriptor(
0911:                            "children", beanClass, "getChildren", null);
0912:                    prop_children.setDisplayName(resources
0913:                            .getString("Field_children_DisplayName"));
0914:                    prop_children.setShortDescription(resources
0915:                            .getString("Field_children_Description"));
0916:                    prop_children.setExpert(false);
0917:                    prop_children.setHidden(true);
0918:                    prop_children.setPreferred(false);
0919:                    prop_children
0920:                            .setValue(
0921:                                    Constants.PropertyDescriptor.CATEGORY,
0922:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0923:
0924:                    PropertyDescriptor prop_converter = new PropertyDescriptor(
0925:                            "converter", beanClass, "getConverter",
0926:                            "setConverter");
0927:                    prop_converter.setDisplayName(resources
0928:                            .getString("Field_converter_DisplayName"));
0929:                    prop_converter.setShortDescription(resources
0930:                            .getString("Field_converter_Description"));
0931:                    prop_converter
0932:                            .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.JSF1_1ConverterPropertyEditor"));
0933:                    prop_converter.setExpert(false);
0934:                    prop_converter.setHidden(false);
0935:                    prop_converter.setPreferred(false);
0936:                    attrib = new AttributeDescriptor("converter", false, null,
0937:                            true);
0938:                    prop_converter.setValue(
0939:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0940:                            attrib);
0941:                    prop_converter
0942:                            .setValue(
0943:                                    Constants.PropertyDescriptor.CATEGORY,
0944:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0945:
0946:                    PropertyDescriptor prop_facets = new PropertyDescriptor(
0947:                            "facets", beanClass, "getFacets", null);
0948:                    prop_facets.setDisplayName(resources
0949:                            .getString("Field_facets_DisplayName"));
0950:                    prop_facets.setShortDescription(resources
0951:                            .getString("Field_facets_Description"));
0952:                    prop_facets.setExpert(false);
0953:                    prop_facets.setHidden(true);
0954:                    prop_facets.setPreferred(false);
0955:                    prop_facets
0956:                            .setValue(
0957:                                    Constants.PropertyDescriptor.CATEGORY,
0958:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0959:
0960:                    PropertyDescriptor prop_family = new PropertyDescriptor(
0961:                            "family", beanClass, "getFamily", null);
0962:                    prop_family.setDisplayName(resources
0963:                            .getString("Field_family_DisplayName"));
0964:                    prop_family.setShortDescription(resources
0965:                            .getString("Field_family_Description"));
0966:                    prop_family.setExpert(false);
0967:                    prop_family.setHidden(true);
0968:                    prop_family.setPreferred(false);
0969:                    prop_family
0970:                            .setValue(
0971:                                    Constants.PropertyDescriptor.CATEGORY,
0972:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0973:
0974:                    PropertyDescriptor prop_id = new PropertyDescriptor("id",
0975:                            beanClass, "getId", "setId");
0976:                    prop_id.setDisplayName(resources
0977:                            .getString("Field_id_DisplayName"));
0978:                    prop_id.setShortDescription(resources
0979:                            .getString("Field_id_Description"));
0980:                    prop_id.setExpert(false);
0981:                    prop_id.setHidden(true);
0982:                    prop_id.setPreferred(false);
0983:                    attrib = new AttributeDescriptor("id", false, null, true);
0984:                    prop_id.setValue(
0985:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0986:                            attrib);
0987:                    prop_id
0988:                            .setValue(
0989:                                    Constants.PropertyDescriptor.CATEGORY,
0990:                                    com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0991:
0992:                    PropertyDescriptor prop_immediate = new PropertyDescriptor(
0993:                            "immediate", beanClass, "isImmediate",
0994:                            "setImmediate");
0995:                    prop_immediate.setDisplayName(resources
0996:                            .getString("Field_immediate_DisplayName"));
0997:                    prop_immediate.setShortDescription(resources
0998:                            .getString("Field_immediate_Description"));
0999:                    prop_immediate.setExpert(false);
1000:                    prop_immediate.setHidden(false);
1001:                    prop_immediate.setPreferred(false);
1002:                    attrib = new AttributeDescriptor("immediate", false, null,
1003:                            true);
1004:                    prop_immediate.setValue(
1005:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1006:                            attrib);
1007:                    prop_immediate
1008:                            .setValue(
1009:                                    Constants.PropertyDescriptor.CATEGORY,
1010:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1011:
1012:                    PropertyDescriptor prop_localValue = new PropertyDescriptor(
1013:                            "localValue", beanClass, "getLocalValue", null);
1014:                    prop_localValue.setDisplayName(resources
1015:                            .getString("Field_localValue_DisplayName"));
1016:                    prop_localValue.setShortDescription(resources
1017:                            .getString("Field_localValue_Description"));
1018:                    prop_localValue.setExpert(false);
1019:                    prop_localValue.setHidden(true);
1020:                    prop_localValue.setPreferred(false);
1021:                    prop_localValue
1022:                            .setValue(
1023:                                    Constants.PropertyDescriptor.CATEGORY,
1024:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1025:
1026:                    PropertyDescriptor prop_localValueSet = new PropertyDescriptor(
1027:                            "localValueSet", beanClass, "isLocalValueSet",
1028:                            "setLocalValueSet");
1029:                    prop_localValueSet.setDisplayName(resources
1030:                            .getString("Field_localValueSet_DisplayName"));
1031:                    prop_localValueSet.setShortDescription(resources
1032:                            .getString("Field_localValueSet_Description"));
1033:                    prop_localValueSet.setExpert(false);
1034:                    prop_localValueSet.setHidden(true);
1035:                    prop_localValueSet.setPreferred(false);
1036:                    prop_localValueSet
1037:                            .setValue(
1038:                                    Constants.PropertyDescriptor.CATEGORY,
1039:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1040:
1041:                    PropertyDescriptor prop_parent = new PropertyDescriptor(
1042:                            "parent", beanClass, "getParent", null);
1043:                    prop_parent.setDisplayName(resources
1044:                            .getString("Field_parent_DisplayName"));
1045:                    prop_parent.setShortDescription(resources
1046:                            .getString("Field_parent_Description"));
1047:                    prop_parent.setExpert(false);
1048:                    prop_parent.setHidden(true);
1049:                    prop_parent.setPreferred(false);
1050:                    prop_parent
1051:                            .setValue(
1052:                                    Constants.PropertyDescriptor.CATEGORY,
1053:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1054:
1055:                    PropertyDescriptor prop_rendered = new PropertyDescriptor(
1056:                            "rendered", beanClass, "isRendered", "setRendered");
1057:                    prop_rendered.setDisplayName(resources
1058:                            .getString("Field_rendered_DisplayName"));
1059:                    prop_rendered.setShortDescription(resources
1060:                            .getString("Field_rendered_Description"));
1061:                    prop_rendered.setExpert(false);
1062:                    prop_rendered.setHidden(false);
1063:                    prop_rendered.setPreferred(false);
1064:                    attrib = new AttributeDescriptor("rendered", false, null,
1065:                            true);
1066:                    prop_rendered.setValue(
1067:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1068:                            attrib);
1069:                    prop_rendered
1070:                            .setValue(
1071:                                    Constants.PropertyDescriptor.CATEGORY,
1072:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1073:
1074:                    PropertyDescriptor prop_rendererType = new PropertyDescriptor(
1075:                            "rendererType", beanClass, "getRendererType",
1076:                            "setRendererType");
1077:                    prop_rendererType.setDisplayName(resources
1078:                            .getString("Field_rendererType_DisplayName"));
1079:                    prop_rendererType.setShortDescription(resources
1080:                            .getString("Field_rendererType_Description"));
1081:                    prop_rendererType.setExpert(false);
1082:                    prop_rendererType.setHidden(true);
1083:                    prop_rendererType.setPreferred(false);
1084:                    prop_rendererType
1085:                            .setValue(
1086:                                    Constants.PropertyDescriptor.CATEGORY,
1087:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1088:
1089:                    PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
1090:                            "rendersChildren", beanClass, "getRendersChildren",
1091:                            null);
1092:                    prop_rendersChildren.setDisplayName(resources
1093:                            .getString("Field_rendersChildren_DisplayName"));
1094:                    prop_rendersChildren.setShortDescription(resources
1095:                            .getString("Field_rendersChildren_Description"));
1096:                    prop_rendersChildren.setExpert(false);
1097:                    prop_rendersChildren.setHidden(true);
1098:                    prop_rendersChildren.setPreferred(false);
1099:                    prop_rendersChildren
1100:                            .setValue(
1101:                                    Constants.PropertyDescriptor.CATEGORY,
1102:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1103:
1104:                    PropertyDescriptor prop_required = new PropertyDescriptor(
1105:                            "required", beanClass, "isRequired", "setRequired");
1106:                    prop_required.setDisplayName(resources
1107:                            .getString("Field_required_DisplayName"));
1108:                    prop_required.setShortDescription(resources
1109:                            .getString("Field_required_Description"));
1110:                    prop_required.setExpert(false);
1111:                    prop_required.setHidden(false);
1112:                    prop_required.setPreferred(false);
1113:                    attrib = new AttributeDescriptor("required", false, null,
1114:                            true);
1115:                    prop_required.setValue(
1116:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1117:                            attrib);
1118:                    prop_required
1119:                            .setValue(
1120:                                    Constants.PropertyDescriptor.CATEGORY,
1121:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1122:
1123:                    PropertyDescriptor prop_submittedValue = new PropertyDescriptor(
1124:                            "submittedValue", beanClass, "getSubmittedValue",
1125:                            "setSubmittedValue");
1126:                    prop_submittedValue.setDisplayName(resources
1127:                            .getString("Field_submittedValue_DisplayName"));
1128:                    prop_submittedValue.setShortDescription(resources
1129:                            .getString("Field_submittedValue_Description"));
1130:                    prop_submittedValue.setExpert(false);
1131:                    prop_submittedValue.setHidden(true);
1132:                    prop_submittedValue.setPreferred(false);
1133:                    prop_submittedValue
1134:                            .setValue(
1135:                                    Constants.PropertyDescriptor.CATEGORY,
1136:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1137:
1138:                    PropertyDescriptor prop_validator = new PropertyDescriptor(
1139:                            "validator", beanClass, "getValidator",
1140:                            "setValidator");
1141:                    prop_validator.setDisplayName(resources
1142:                            .getString("Field_validator_DisplayName"));
1143:                    prop_validator.setShortDescription(resources
1144:                            .getString("Field_validator_Description"));
1145:                    prop_validator
1146:                            .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.JSF1_1ValidatorPropertyEditor"));
1147:                    prop_validator.setExpert(false);
1148:                    prop_validator.setHidden(false);
1149:                    prop_validator.setPreferred(false);
1150:                    attrib = new AttributeDescriptor("validator", false, null,
1151:                            true);
1152:                    prop_validator.setValue(
1153:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1154:                            attrib);
1155:                    prop_validator
1156:                            .setValue(
1157:                                    Constants.PropertyDescriptor.CATEGORY,
1158:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1159:
1160:                    PropertyDescriptor prop_value = new PropertyDescriptor(
1161:                            "value", beanClass, "getValue", "setValue");
1162:                    prop_value.setDisplayName(resources
1163:                            .getString("Field_value_DisplayName"));
1164:                    prop_value.setShortDescription(resources
1165:                            .getString("Field_value_Description"));
1166:                    prop_value.setExpert(false);
1167:                    prop_value.setHidden(false);
1168:                    prop_value.setPreferred(false);
1169:                    attrib = new AttributeDescriptor("value", false, null, true);
1170:                    prop_value.setValue(
1171:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1172:                            attrib);
1173:                    prop_value
1174:                            .setValue(
1175:                                    Constants.PropertyDescriptor.CATEGORY,
1176:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1177:
1178:                    PropertyDescriptor prop_valueChangeListener = new PropertyDescriptor(
1179:                            "valueChangeListener", beanClass,
1180:                            "getValueChangeListener", "setValueChangeListener");
1181:                    prop_valueChangeListener
1182:                            .setDisplayName(resources
1183:                                    .getString("Field_valueChangeListener_DisplayName"));
1184:                    prop_valueChangeListener
1185:                            .setShortDescription(resources
1186:                                    .getString("Field_valueChangeListener_Description"));
1187:                    prop_valueChangeListener
1188:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.MethodBindingPropertyEditor"));
1189:                    prop_valueChangeListener.setExpert(false);
1190:                    prop_valueChangeListener.setHidden(false);
1191:                    prop_valueChangeListener.setPreferred(false);
1192:                    attrib = new AttributeDescriptor("valueChangeListener",
1193:                            false, null, true);
1194:                    prop_valueChangeListener.setValue(
1195:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1196:                            attrib);
1197:                    prop_valueChangeListener
1198:                            .setValue(
1199:                                    Constants.PropertyDescriptor.CATEGORY,
1200:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1201:
1202:                    propDescriptors = new PropertyDescriptor[] {
1203:                            prop_attributes, prop_childCount, prop_children,
1204:                            prop_columns, prop_converter, prop_disabled,
1205:                            prop_facets, prop_family, prop_id, prop_immediate,
1206:                            prop_label, prop_labelLevel, prop_localValue,
1207:                            prop_localValueSet, prop_maxLength, prop_onBlur,
1208:                            prop_onChange, prop_onClick, prop_onDblClick,
1209:                            prop_onFocus, prop_onKeyDown, prop_onKeyPress,
1210:                            prop_onKeyUp, prop_onMouseDown, prop_onMouseMove,
1211:                            prop_onMouseOut, prop_onMouseOver, prop_onMouseUp,
1212:                            prop_onSelect, prop_parent, prop_readOnly,
1213:                            prop_rendered, prop_rendererType,
1214:                            prop_rendersChildren, prop_required, prop_style,
1215:                            prop_styleClass, prop_submittedValue,
1216:                            prop_tabIndex, prop_text, prop_toolTip, prop_trim,
1217:                            prop_validator, prop_value,
1218:                            prop_valueChangeListener, prop_visible, };
1219:                    return propDescriptors;
1220:
1221:                } catch (IntrospectionException e) {
1222:                    e.printStackTrace();
1223:                    return null;
1224:                }
1225:
1226:            }
1227:
1228:        }
1229:        //GEN-END:BeanInfo
w__w__w.___j_a_v__a__2_s.c__om | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.