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