Source Code Cross Referenced for TabBeanInfoBase.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 TabBeanInfoBase 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(), TabBeanInfoBase.class
0071:                                    .getClassLoader());
0072:
0073:            /**
0074:             * <p>Construct a new <code>TabBeanInfoBase</code>.</p>
0075:             */
0076:            public TabBeanInfoBase() {
0077:
0078:                beanClass = com.sun.rave.web.ui.component.Tab.class;
0079:                iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Tab_C16";
0080:                iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Tab_C32";
0081:                iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Tab_M16";
0082:                iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Tab_M32";
0083:
0084:            }
0085:
0086:            /**
0087:             * <p>The bean class that this BeanInfo represents.
0088:             */
0089:            protected Class beanClass;
0090:
0091:            /**
0092:             * <p>The cached BeanDescriptor.</p>
0093:             */
0094:            protected BeanDescriptor beanDescriptor;
0095:
0096:            /**
0097:             * <p>The index of the default property.</p>
0098:             */
0099:            protected int defaultPropertyIndex = -2;
0100:
0101:            /**
0102:             * <p>The name of the default property.</p>
0103:             */
0104:            protected String defaultPropertyName;
0105:
0106:            /**
0107:             * <p>The 16x16 color icon.</p>
0108:             */
0109:            protected String iconFileName_C16;
0110:
0111:            /**
0112:             * <p>The 32x32 color icon.</p>
0113:             */
0114:            protected String iconFileName_C32;
0115:
0116:            /**
0117:             * <p>The 16x16 monochrome icon.</p>
0118:             */
0119:            protected String iconFileName_M16;
0120:
0121:            /**
0122:             * <p>The 32x32 monochrome icon.</p>
0123:             */
0124:            protected String iconFileName_M32;
0125:
0126:            /**
0127:             * <p>The cached property descriptors.</p>
0128:             */
0129:            protected PropertyDescriptor[] propDescriptors;
0130:
0131:            /**
0132:             * <p>Return the <code>BeanDescriptor</code> for this bean.</p>
0133:             */
0134:            public BeanDescriptor getBeanDescriptor() {
0135:
0136:                if (beanDescriptor != null) {
0137:                    return beanDescriptor;
0138:                }
0139:
0140:                beanDescriptor = new BeanDescriptor(beanClass);
0141:                beanDescriptor.setDisplayName(resources
0142:                        .getString("Tab_DisplayName"));
0143:                beanDescriptor.setShortDescription(resources
0144:                        .getString("Tab_Description"));
0145:                beanDescriptor.setExpert(false);
0146:                beanDescriptor.setHidden(false);
0147:                beanDescriptor.setPreferred(false);
0148:                beanDescriptor.setValue(
0149:                        Constants.BeanDescriptor.FACET_DESCRIPTORS,
0150:                        getFacetDescriptors());
0151:                beanDescriptor.setValue(Constants.BeanDescriptor.HELP_KEY,
0152:                        "projrave_ui_elements_palette_bh_tab");
0153:                beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME,
0154:                        "tab");
0155:                beanDescriptor.setValue(Constants.BeanDescriptor.IS_CONTAINER,
0156:                        Boolean.TRUE);
0157:                beanDescriptor
0158:                        .setValue(Constants.BeanDescriptor.PROPERTIES_HELP_KEY,
0159:                                "projrave_ui_elements_palette_bh_propsheets_bh_tab_props");
0160:                beanDescriptor.setValue(
0161:                        Constants.BeanDescriptor.PROPERTY_CATEGORIES,
0162:                        getCategoryDescriptors());
0163:                beanDescriptor.setValue(Constants.BeanDescriptor.TAG_NAME,
0164:                        "tab");
0165:                beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_PREFIX,
0166:                        "ui");
0167:                beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_URI,
0168:                        "http://www.sun.com/web/ui");
0169:
0170:                return beanDescriptor;
0171:
0172:            }
0173:
0174:            /**
0175:             * <p>Return the <code>CategoryDescriptor</code> array for the property categories of this component.</p>
0176:             */
0177:            private CategoryDescriptor[] getCategoryDescriptors() {
0178:
0179:                return com.sun.rave.designtime.base.CategoryDescriptors
0180:                        .getDefaultCategoryDescriptors();
0181:
0182:            }
0183:
0184:            /**
0185:             * <p>Return the index of the default property, or
0186:             * -1 if there is no default property.</p>
0187:             */
0188:            public int getDefaultPropertyIndex() {
0189:
0190:                if (defaultPropertyIndex > -2) {
0191:                    return defaultPropertyIndex;
0192:                } else {
0193:                    if (defaultPropertyName == null) {
0194:                        defaultPropertyIndex = -1;
0195:                    } else {
0196:                        PropertyDescriptor pd[] = getPropertyDescriptors();
0197:                        for (int i = 0; i < pd.length; i++) {
0198:                            if (defaultPropertyName.equals(pd[i].getName())) {
0199:                                defaultPropertyIndex = i;
0200:                                break;
0201:                            }
0202:                        }
0203:                    }
0204:                }
0205:                return defaultPropertyIndex;
0206:            }
0207:
0208:            /**
0209:             * <p>The cached facet descriptors.</p>
0210:             */
0211:            protected FacetDescriptor[] facetDescriptors;
0212:
0213:            /**
0214:             * <p>Return the <code>FacetDescriptor</code>s for this bean.</p>
0215:             */
0216:            public FacetDescriptor[] getFacetDescriptors() {
0217:
0218:                if (facetDescriptors != null) {
0219:                    return facetDescriptors;
0220:                }
0221:                facetDescriptors = new FacetDescriptor[] {};
0222:                return facetDescriptors;
0223:
0224:            }
0225:
0226:            /**
0227:             * <p>Return the specified image (if any)
0228:             * for this component class.</p>
0229:             */
0230:            public Image getIcon(int kind) {
0231:
0232:                String name;
0233:                switch (kind) {
0234:                case ICON_COLOR_16x16:
0235:                    name = iconFileName_C16;
0236:                    break;
0237:                case ICON_COLOR_32x32:
0238:                    name = iconFileName_C32;
0239:                    break;
0240:                case ICON_MONO_16x16:
0241:                    name = iconFileName_M16;
0242:                    break;
0243:                case ICON_MONO_32x32:
0244:                    name = iconFileName_M32;
0245:                    break;
0246:                default:
0247:                    name = null;
0248:                    break;
0249:                }
0250:                if (name == null) {
0251:                    return null;
0252:                }
0253:
0254:                Image image = loadImage(name + ".png");
0255:                if (image == null) {
0256:                    image = loadImage(name + ".gif");
0257:                }
0258:                return image;
0259:
0260:            }
0261:
0262:            /**
0263:             * <p>Return a class loaded by name via the class loader that loaded this class.</p>
0264:             */
0265:            private java.lang.Class loadClass(java.lang.String name) {
0266:
0267:                try {
0268:                    return Class.forName(name);
0269:                } catch (ClassNotFoundException e) {
0270:                    throw new RuntimeException(e);
0271:                }
0272:
0273:            }
0274:
0275:            /**
0276:             * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
0277:             */
0278:            public PropertyDescriptor[] getPropertyDescriptors() {
0279:
0280:                if (propDescriptors != null) {
0281:                    return propDescriptors;
0282:                }
0283:                AttributeDescriptor attrib = null;
0284:
0285:                try {
0286:
0287:                    PropertyDescriptor prop_selectedChildId = new PropertyDescriptor(
0288:                            "selectedChildId", beanClass, "getSelectedChildId",
0289:                            "setSelectedChildId");
0290:                    prop_selectedChildId.setDisplayName(resources
0291:                            .getString("Tab_selectedChildId_DisplayName"));
0292:                    prop_selectedChildId.setShortDescription(resources
0293:                            .getString("Tab_selectedChildId_Description"));
0294:                    prop_selectedChildId.setExpert(false);
0295:                    prop_selectedChildId.setHidden(true);
0296:                    prop_selectedChildId.setPreferred(false);
0297:                    attrib = new AttributeDescriptor("selectedChildId", false,
0298:                            null, true);
0299:                    prop_selectedChildId.setValue(
0300:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0301:                            attrib);
0302:                    prop_selectedChildId
0303:                            .setValue(
0304:                                    Constants.PropertyDescriptor.CATEGORY,
0305:                                    com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0306:
0307:                    PropertyDescriptor prop_value = new PropertyDescriptor(
0308:                            "value", beanClass, "getValue", "setValue");
0309:                    prop_value.setDisplayName(resources
0310:                            .getString("Tab_value_DisplayName"));
0311:                    prop_value.setShortDescription(resources
0312:                            .getString("Tab_value_Description"));
0313:                    prop_value.setExpert(false);
0314:                    prop_value.setHidden(true);
0315:                    prop_value.setPreferred(false);
0316:                    prop_value
0317:                            .setValue(
0318:                                    Constants.PropertyDescriptor.CATEGORY,
0319:                                    com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0320:
0321:                    PropertyDescriptor prop_action = new PropertyDescriptor(
0322:                            "action", beanClass, "getAction", "setAction");
0323:                    prop_action.setDisplayName(resources
0324:                            .getString("Tab_action_DisplayName"));
0325:                    prop_action.setShortDescription(resources
0326:                            .getString("Tab_action_Description"));
0327:                    prop_action.setExpert(false);
0328:                    prop_action.setHidden(false);
0329:                    prop_action.setPreferred(false);
0330:                    attrib = new AttributeDescriptor("action", false, null,
0331:                            true);
0332:                    prop_action.setValue(
0333:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0334:                            attrib);
0335:                    prop_action
0336:                            .setValue(
0337:                                    Constants.PropertyDescriptor.CATEGORY,
0338:                                    com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0339:
0340:                    PropertyDescriptor prop_actionListener = new PropertyDescriptor(
0341:                            "actionListener", beanClass, "getActionListener",
0342:                            "setActionListener");
0343:                    prop_actionListener.setDisplayName(resources
0344:                            .getString("Tab_actionListener_DisplayName"));
0345:                    prop_actionListener.setShortDescription(resources
0346:                            .getString("Tab_actionListener_Description"));
0347:                    prop_actionListener
0348:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.MethodBindingPropertyEditor"));
0349:                    prop_actionListener.setExpert(false);
0350:                    prop_actionListener.setHidden(false);
0351:                    prop_actionListener.setPreferred(false);
0352:                    attrib = new AttributeDescriptor("actionListener", false,
0353:                            null, true);
0354:                    prop_actionListener.setValue(
0355:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0356:                            attrib);
0357:                    prop_actionListener
0358:                            .setValue(
0359:                                    Constants.PropertyDescriptor.CATEGORY,
0360:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0361:
0362:                    PropertyDescriptor prop_disabled = new PropertyDescriptor(
0363:                            "disabled", beanClass, "isDisabled", "setDisabled");
0364:                    prop_disabled.setDisplayName(resources
0365:                            .getString("Tab_disabled_DisplayName"));
0366:                    prop_disabled.setShortDescription(resources
0367:                            .getString("Tab_disabled_Description"));
0368:                    prop_disabled.setExpert(false);
0369:                    prop_disabled.setHidden(false);
0370:                    prop_disabled.setPreferred(false);
0371:                    attrib = new AttributeDescriptor("disabled", false, null,
0372:                            true);
0373:                    prop_disabled.setValue(
0374:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0375:                            attrib);
0376:                    prop_disabled
0377:                            .setValue(
0378:                                    Constants.PropertyDescriptor.CATEGORY,
0379:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0380:
0381:                    PropertyDescriptor prop_onBlur = new PropertyDescriptor(
0382:                            "onBlur", beanClass, "getOnBlur", "setOnBlur");
0383:                    prop_onBlur.setDisplayName(resources
0384:                            .getString("Tab_onBlur_DisplayName"));
0385:                    prop_onBlur.setShortDescription(resources
0386:                            .getString("Tab_onBlur_Description"));
0387:                    prop_onBlur
0388:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0389:                    prop_onBlur.setExpert(false);
0390:                    prop_onBlur.setHidden(false);
0391:                    prop_onBlur.setPreferred(false);
0392:                    attrib = new AttributeDescriptor("onBlur", false, null,
0393:                            true);
0394:                    prop_onBlur.setValue(
0395:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0396:                            attrib);
0397:                    prop_onBlur
0398:                            .setValue(
0399:                                    Constants.PropertyDescriptor.CATEGORY,
0400:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0401:
0402:                    PropertyDescriptor prop_onClick = new PropertyDescriptor(
0403:                            "onClick", beanClass, "getOnClick", "setOnClick");
0404:                    prop_onClick.setDisplayName(resources
0405:                            .getString("Tab_onClick_DisplayName"));
0406:                    prop_onClick.setShortDescription(resources
0407:                            .getString("Tab_onClick_Description"));
0408:                    prop_onClick
0409:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0410:                    prop_onClick.setExpert(false);
0411:                    prop_onClick.setHidden(false);
0412:                    prop_onClick.setPreferred(false);
0413:                    attrib = new AttributeDescriptor("onClick", false, null,
0414:                            true);
0415:                    prop_onClick.setValue(
0416:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0417:                            attrib);
0418:                    prop_onClick
0419:                            .setValue(
0420:                                    Constants.PropertyDescriptor.CATEGORY,
0421:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0422:
0423:                    PropertyDescriptor prop_onDblClick = new PropertyDescriptor(
0424:                            "onDblClick", beanClass, "getOnDblClick",
0425:                            "setOnDblClick");
0426:                    prop_onDblClick.setDisplayName(resources
0427:                            .getString("Tab_onDblClick_DisplayName"));
0428:                    prop_onDblClick.setShortDescription(resources
0429:                            .getString("Tab_onDblClick_Description"));
0430:                    prop_onDblClick
0431:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0432:                    prop_onDblClick.setExpert(false);
0433:                    prop_onDblClick.setHidden(true);
0434:                    prop_onDblClick.setPreferred(false);
0435:                    attrib = new AttributeDescriptor("onDblClick", false, null,
0436:                            true);
0437:                    prop_onDblClick.setValue(
0438:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0439:                            attrib);
0440:                    prop_onDblClick
0441:                            .setValue(
0442:                                    Constants.PropertyDescriptor.CATEGORY,
0443:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0444:
0445:                    PropertyDescriptor prop_onFocus = new PropertyDescriptor(
0446:                            "onFocus", beanClass, "getOnFocus", "setOnFocus");
0447:                    prop_onFocus.setDisplayName(resources
0448:                            .getString("Tab_onFocus_DisplayName"));
0449:                    prop_onFocus.setShortDescription(resources
0450:                            .getString("Tab_onFocus_Description"));
0451:                    prop_onFocus
0452:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0453:                    prop_onFocus.setExpert(false);
0454:                    prop_onFocus.setHidden(false);
0455:                    prop_onFocus.setPreferred(false);
0456:                    attrib = new AttributeDescriptor("onFocus", false, null,
0457:                            true);
0458:                    prop_onFocus.setValue(
0459:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0460:                            attrib);
0461:                    prop_onFocus
0462:                            .setValue(
0463:                                    Constants.PropertyDescriptor.CATEGORY,
0464:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0465:
0466:                    PropertyDescriptor prop_onKeyDown = new PropertyDescriptor(
0467:                            "onKeyDown", beanClass, "getOnKeyDown",
0468:                            "setOnKeyDown");
0469:                    prop_onKeyDown.setDisplayName(resources
0470:                            .getString("Tab_onKeyDown_DisplayName"));
0471:                    prop_onKeyDown.setShortDescription(resources
0472:                            .getString("Tab_onKeyDown_Description"));
0473:                    prop_onKeyDown
0474:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0475:                    prop_onKeyDown.setExpert(false);
0476:                    prop_onKeyDown.setHidden(false);
0477:                    prop_onKeyDown.setPreferred(false);
0478:                    attrib = new AttributeDescriptor("onKeyDown", false, null,
0479:                            true);
0480:                    prop_onKeyDown.setValue(
0481:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0482:                            attrib);
0483:                    prop_onKeyDown
0484:                            .setValue(
0485:                                    Constants.PropertyDescriptor.CATEGORY,
0486:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0487:
0488:                    PropertyDescriptor prop_onKeyPress = new PropertyDescriptor(
0489:                            "onKeyPress", beanClass, "getOnKeyPress",
0490:                            "setOnKeyPress");
0491:                    prop_onKeyPress.setDisplayName(resources
0492:                            .getString("Tab_onKeyPress_DisplayName"));
0493:                    prop_onKeyPress.setShortDescription(resources
0494:                            .getString("Tab_onKeyPress_Description"));
0495:                    prop_onKeyPress
0496:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0497:                    prop_onKeyPress.setExpert(false);
0498:                    prop_onKeyPress.setHidden(false);
0499:                    prop_onKeyPress.setPreferred(false);
0500:                    attrib = new AttributeDescriptor("onKeyPress", false, null,
0501:                            true);
0502:                    prop_onKeyPress.setValue(
0503:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0504:                            attrib);
0505:                    prop_onKeyPress
0506:                            .setValue(
0507:                                    Constants.PropertyDescriptor.CATEGORY,
0508:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0509:
0510:                    PropertyDescriptor prop_onKeyUp = new PropertyDescriptor(
0511:                            "onKeyUp", beanClass, "getOnKeyUp", "setOnKeyUp");
0512:                    prop_onKeyUp.setDisplayName(resources
0513:                            .getString("Tab_onKeyUp_DisplayName"));
0514:                    prop_onKeyUp.setShortDescription(resources
0515:                            .getString("Tab_onKeyUp_Description"));
0516:                    prop_onKeyUp
0517:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0518:                    prop_onKeyUp.setExpert(false);
0519:                    prop_onKeyUp.setHidden(false);
0520:                    prop_onKeyUp.setPreferred(false);
0521:                    attrib = new AttributeDescriptor("onKeyUp", false, null,
0522:                            true);
0523:                    prop_onKeyUp.setValue(
0524:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0525:                            attrib);
0526:                    prop_onKeyUp
0527:                            .setValue(
0528:                                    Constants.PropertyDescriptor.CATEGORY,
0529:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0530:
0531:                    PropertyDescriptor prop_onMouseDown = new PropertyDescriptor(
0532:                            "onMouseDown", beanClass, "getOnMouseDown",
0533:                            "setOnMouseDown");
0534:                    prop_onMouseDown.setDisplayName(resources
0535:                            .getString("Tab_onMouseDown_DisplayName"));
0536:                    prop_onMouseDown.setShortDescription(resources
0537:                            .getString("Tab_onMouseDown_Description"));
0538:                    prop_onMouseDown
0539:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0540:                    prop_onMouseDown.setExpert(false);
0541:                    prop_onMouseDown.setHidden(false);
0542:                    prop_onMouseDown.setPreferred(false);
0543:                    attrib = new AttributeDescriptor("onMouseDown", false,
0544:                            null, true);
0545:                    prop_onMouseDown.setValue(
0546:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0547:                            attrib);
0548:                    prop_onMouseDown
0549:                            .setValue(
0550:                                    Constants.PropertyDescriptor.CATEGORY,
0551:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0552:
0553:                    PropertyDescriptor prop_onMouseMove = new PropertyDescriptor(
0554:                            "onMouseMove", beanClass, "getOnMouseMove",
0555:                            "setOnMouseMove");
0556:                    prop_onMouseMove.setDisplayName(resources
0557:                            .getString("Tab_onMouseMove_DisplayName"));
0558:                    prop_onMouseMove.setShortDescription(resources
0559:                            .getString("Tab_onMouseMove_Description"));
0560:                    prop_onMouseMove
0561:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0562:                    prop_onMouseMove.setExpert(false);
0563:                    prop_onMouseMove.setHidden(false);
0564:                    prop_onMouseMove.setPreferred(false);
0565:                    attrib = new AttributeDescriptor("onMouseMove", false,
0566:                            null, true);
0567:                    prop_onMouseMove.setValue(
0568:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0569:                            attrib);
0570:                    prop_onMouseMove
0571:                            .setValue(
0572:                                    Constants.PropertyDescriptor.CATEGORY,
0573:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0574:
0575:                    PropertyDescriptor prop_onMouseOut = new PropertyDescriptor(
0576:                            "onMouseOut", beanClass, "getOnMouseOut",
0577:                            "setOnMouseOut");
0578:                    prop_onMouseOut.setDisplayName(resources
0579:                            .getString("Tab_onMouseOut_DisplayName"));
0580:                    prop_onMouseOut.setShortDescription(resources
0581:                            .getString("Tab_onMouseOut_Description"));
0582:                    prop_onMouseOut
0583:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0584:                    prop_onMouseOut.setExpert(false);
0585:                    prop_onMouseOut.setHidden(false);
0586:                    prop_onMouseOut.setPreferred(false);
0587:                    attrib = new AttributeDescriptor("onMouseOut", false, null,
0588:                            true);
0589:                    prop_onMouseOut.setValue(
0590:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0591:                            attrib);
0592:                    prop_onMouseOut
0593:                            .setValue(
0594:                                    Constants.PropertyDescriptor.CATEGORY,
0595:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0596:
0597:                    PropertyDescriptor prop_onMouseOver = new PropertyDescriptor(
0598:                            "onMouseOver", beanClass, "getOnMouseOver",
0599:                            "setOnMouseOver");
0600:                    prop_onMouseOver.setDisplayName(resources
0601:                            .getString("Tab_onMouseOver_DisplayName"));
0602:                    prop_onMouseOver.setShortDescription(resources
0603:                            .getString("Tab_onMouseOver_Description"));
0604:                    prop_onMouseOver
0605:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0606:                    prop_onMouseOver.setExpert(false);
0607:                    prop_onMouseOver.setHidden(false);
0608:                    prop_onMouseOver.setPreferred(false);
0609:                    attrib = new AttributeDescriptor("onMouseOver", false,
0610:                            null, true);
0611:                    prop_onMouseOver.setValue(
0612:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0613:                            attrib);
0614:                    prop_onMouseOver
0615:                            .setValue(
0616:                                    Constants.PropertyDescriptor.CATEGORY,
0617:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0618:
0619:                    PropertyDescriptor prop_onMouseUp = new PropertyDescriptor(
0620:                            "onMouseUp", beanClass, "getOnMouseUp",
0621:                            "setOnMouseUp");
0622:                    prop_onMouseUp.setDisplayName(resources
0623:                            .getString("Tab_onMouseUp_DisplayName"));
0624:                    prop_onMouseUp.setShortDescription(resources
0625:                            .getString("Tab_onMouseUp_Description"));
0626:                    prop_onMouseUp
0627:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0628:                    prop_onMouseUp.setExpert(false);
0629:                    prop_onMouseUp.setHidden(false);
0630:                    prop_onMouseUp.setPreferred(false);
0631:                    attrib = new AttributeDescriptor("onMouseUp", false, null,
0632:                            true);
0633:                    prop_onMouseUp.setValue(
0634:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0635:                            attrib);
0636:                    prop_onMouseUp
0637:                            .setValue(
0638:                                    Constants.PropertyDescriptor.CATEGORY,
0639:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0640:
0641:                    PropertyDescriptor prop_shape = new PropertyDescriptor(
0642:                            "shape", beanClass, "getShape", "setShape");
0643:                    prop_shape.setDisplayName(resources
0644:                            .getString("Tab_shape_DisplayName"));
0645:                    prop_shape.setShortDescription(resources
0646:                            .getString("Tab_shape_Description"));
0647:                    prop_shape.setExpert(false);
0648:                    prop_shape.setHidden(true);
0649:                    prop_shape.setPreferred(false);
0650:                    prop_shape
0651:                            .setValue(
0652:                                    Constants.PropertyDescriptor.CATEGORY,
0653:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0654:
0655:                    PropertyDescriptor prop_style = new PropertyDescriptor(
0656:                            "style", beanClass, "getStyle", "setStyle");
0657:                    prop_style.setDisplayName(resources
0658:                            .getString("Tab_style_DisplayName"));
0659:                    prop_style.setShortDescription(resources
0660:                            .getString("Tab_style_Description"));
0661:                    prop_style
0662:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.css.CssStylePropertyEditor"));
0663:                    prop_style.setExpert(false);
0664:                    prop_style.setHidden(false);
0665:                    prop_style.setPreferred(false);
0666:                    attrib = new AttributeDescriptor("style", false, null, true);
0667:                    prop_style.setValue(
0668:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0669:                            attrib);
0670:                    prop_style
0671:                            .setValue(
0672:                                    Constants.PropertyDescriptor.CATEGORY,
0673:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0674:
0675:                    PropertyDescriptor prop_styleClass = new PropertyDescriptor(
0676:                            "styleClass", beanClass, "getStyleClass",
0677:                            "setStyleClass");
0678:                    prop_styleClass.setDisplayName(resources
0679:                            .getString("Tab_styleClass_DisplayName"));
0680:                    prop_styleClass.setShortDescription(resources
0681:                            .getString("Tab_styleClass_Description"));
0682:                    prop_styleClass
0683:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
0684:                    prop_styleClass.setExpert(false);
0685:                    prop_styleClass.setHidden(false);
0686:                    prop_styleClass.setPreferred(false);
0687:                    attrib = new AttributeDescriptor("styleClass", false, null,
0688:                            true);
0689:                    prop_styleClass.setValue(
0690:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0691:                            attrib);
0692:                    prop_styleClass
0693:                            .setValue(
0694:                                    Constants.PropertyDescriptor.CATEGORY,
0695:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0696:
0697:                    PropertyDescriptor prop_tabIndex = new PropertyDescriptor(
0698:                            "tabIndex", beanClass, "getTabIndex", "setTabIndex");
0699:                    prop_tabIndex.setDisplayName(resources
0700:                            .getString("Tab_tabIndex_DisplayName"));
0701:                    prop_tabIndex.setShortDescription(resources
0702:                            .getString("Tab_tabIndex_Description"));
0703:                    prop_tabIndex
0704:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0705:                    prop_tabIndex.setExpert(false);
0706:                    prop_tabIndex.setHidden(false);
0707:                    prop_tabIndex.setPreferred(false);
0708:                    attrib = new AttributeDescriptor("tabIndex", false, null,
0709:                            true);
0710:                    prop_tabIndex.setValue(
0711:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0712:                            attrib);
0713:                    prop_tabIndex
0714:                            .setValue(
0715:                                    Constants.PropertyDescriptor.CATEGORY,
0716:                                    com.sun.rave.designtime.base.CategoryDescriptors.ACCESSIBILITY);
0717:                    prop_tabIndex.setValue(
0718:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0719:
0720:                    PropertyDescriptor prop_target = new PropertyDescriptor(
0721:                            "target", beanClass, "getTarget", "setTarget");
0722:                    prop_target.setDisplayName(resources
0723:                            .getString("Tab_target_DisplayName"));
0724:                    prop_target.setShortDescription(resources
0725:                            .getString("Tab_target_Description"));
0726:                    prop_target
0727:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0728:                    prop_target.setExpert(false);
0729:                    prop_target.setHidden(false);
0730:                    prop_target.setPreferred(false);
0731:                    attrib = new AttributeDescriptor("target", false, null,
0732:                            true);
0733:                    prop_target.setValue(
0734:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0735:                            attrib);
0736:                    prop_target
0737:                            .setValue(
0738:                                    Constants.PropertyDescriptor.CATEGORY,
0739:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0740:                    prop_target
0741:                            .setValue(
0742:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0743:                                    com.sun.rave.propertyeditors.domains.HtmlFrameTargetsDomain.class);
0744:
0745:                    PropertyDescriptor prop_text = new PropertyDescriptor(
0746:                            "text", beanClass, "getText", "setText");
0747:                    prop_text.setDisplayName(resources
0748:                            .getString("Tab_text_DisplayName"));
0749:                    prop_text.setShortDescription(resources
0750:                            .getString("Tab_text_Description"));
0751:                    prop_text
0752:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0753:                    prop_text.setExpert(false);
0754:                    prop_text.setHidden(false);
0755:                    prop_text.setPreferred(false);
0756:                    attrib = new AttributeDescriptor("text", false, null, true);
0757:                    prop_text.setValue(
0758:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0759:                            attrib);
0760:                    prop_text
0761:                            .setValue(
0762:                                    Constants.PropertyDescriptor.CATEGORY,
0763:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0764:
0765:                    PropertyDescriptor prop_toolTip = new PropertyDescriptor(
0766:                            "toolTip", beanClass, "getToolTip", "setToolTip");
0767:                    prop_toolTip.setDisplayName(resources
0768:                            .getString("Tab_toolTip_DisplayName"));
0769:                    prop_toolTip.setShortDescription(resources
0770:                            .getString("Tab_toolTip_Description"));
0771:                    prop_toolTip
0772:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0773:                    prop_toolTip.setExpert(false);
0774:                    prop_toolTip.setHidden(false);
0775:                    prop_toolTip.setPreferred(false);
0776:                    attrib = new AttributeDescriptor("toolTip", false, null,
0777:                            true);
0778:                    prop_toolTip.setValue(
0779:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0780:                            attrib);
0781:                    prop_toolTip
0782:                            .setValue(
0783:                                    Constants.PropertyDescriptor.CATEGORY,
0784:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0785:
0786:                    PropertyDescriptor prop_type = new PropertyDescriptor(
0787:                            "type", beanClass, "getType", "setType");
0788:                    prop_type.setDisplayName(resources
0789:                            .getString("Tab_type_DisplayName"));
0790:                    prop_type.setShortDescription(resources
0791:                            .getString("Tab_type_Description"));
0792:                    prop_type
0793:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0794:                    prop_type.setExpert(false);
0795:                    prop_type.setHidden(false);
0796:                    prop_type.setPreferred(false);
0797:                    attrib = new AttributeDescriptor("type", false, null, true);
0798:                    prop_type.setValue(
0799:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0800:                            attrib);
0801:                    prop_type
0802:                            .setValue(
0803:                                    Constants.PropertyDescriptor.CATEGORY,
0804:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0805:                    prop_type
0806:                            .setValue(
0807:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0808:                                    com.sun.rave.propertyeditors.domains.MimeTypesDomain.class);
0809:
0810:                    PropertyDescriptor prop_url = new PropertyDescriptor("url",
0811:                            beanClass, "getUrl", "setUrl");
0812:                    prop_url.setDisplayName(resources
0813:                            .getString("Tab_url_DisplayName"));
0814:                    prop_url.setShortDescription(resources
0815:                            .getString("Tab_url_Description"));
0816:                    prop_url
0817:                            .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.SunWebUrlPropertyEditor"));
0818:                    prop_url.setExpert(false);
0819:                    prop_url.setHidden(false);
0820:                    prop_url.setPreferred(false);
0821:                    attrib = new AttributeDescriptor("url", false, null, true);
0822:                    prop_url.setValue(
0823:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0824:                            attrib);
0825:                    prop_url
0826:                            .setValue(
0827:                                    Constants.PropertyDescriptor.CATEGORY,
0828:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0829:
0830:                    PropertyDescriptor prop_urlLang = new PropertyDescriptor(
0831:                            "urlLang", beanClass, "getUrlLang", "setUrlLang");
0832:                    prop_urlLang.setDisplayName(resources
0833:                            .getString("Tab_urlLang_DisplayName"));
0834:                    prop_urlLang.setShortDescription(resources
0835:                            .getString("Tab_urlLang_Description"));
0836:                    prop_urlLang
0837:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0838:                    prop_urlLang.setExpert(false);
0839:                    prop_urlLang.setHidden(false);
0840:                    prop_urlLang.setPreferred(false);
0841:                    attrib = new AttributeDescriptor("urlLang", false, null,
0842:                            true);
0843:                    prop_urlLang.setValue(
0844:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0845:                            attrib);
0846:                    prop_urlLang
0847:                            .setValue(
0848:                                    Constants.PropertyDescriptor.CATEGORY,
0849:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0850:                    prop_urlLang
0851:                            .setValue(
0852:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0853:                                    com.sun.rave.propertyeditors.domains.LanguagesDomain.class);
0854:
0855:                    PropertyDescriptor prop_visible = new PropertyDescriptor(
0856:                            "visible", beanClass, "isVisible", "setVisible");
0857:                    prop_visible.setDisplayName(resources
0858:                            .getString("Tab_visible_DisplayName"));
0859:                    prop_visible.setShortDescription(resources
0860:                            .getString("Tab_visible_Description"));
0861:                    prop_visible.setExpert(false);
0862:                    prop_visible.setHidden(false);
0863:                    prop_visible.setPreferred(false);
0864:                    attrib = new AttributeDescriptor("visible", false, "true",
0865:                            true);
0866:                    prop_visible.setValue(
0867:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0868:                            attrib);
0869:                    prop_visible
0870:                            .setValue(
0871:                                    Constants.PropertyDescriptor.CATEGORY,
0872:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0873:
0874:                    PropertyDescriptor prop_attributes = new PropertyDescriptor(
0875:                            "attributes", beanClass, "getAttributes", null);
0876:                    prop_attributes.setDisplayName(resources
0877:                            .getString("Tab_attributes_DisplayName"));
0878:                    prop_attributes.setShortDescription(resources
0879:                            .getString("Tab_attributes_Description"));
0880:                    prop_attributes.setExpert(false);
0881:                    prop_attributes.setHidden(true);
0882:                    prop_attributes.setPreferred(false);
0883:                    prop_attributes
0884:                            .setValue(
0885:                                    Constants.PropertyDescriptor.CATEGORY,
0886:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0887:
0888:                    PropertyDescriptor prop_childCount = new PropertyDescriptor(
0889:                            "childCount", beanClass, "getChildCount", null);
0890:                    prop_childCount.setDisplayName(resources
0891:                            .getString("Tab_childCount_DisplayName"));
0892:                    prop_childCount.setShortDescription(resources
0893:                            .getString("Tab_childCount_Description"));
0894:                    prop_childCount.setExpert(false);
0895:                    prop_childCount.setHidden(true);
0896:                    prop_childCount.setPreferred(false);
0897:                    prop_childCount
0898:                            .setValue(
0899:                                    Constants.PropertyDescriptor.CATEGORY,
0900:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0901:
0902:                    PropertyDescriptor prop_children = new PropertyDescriptor(
0903:                            "children", beanClass, "getChildren", null);
0904:                    prop_children.setDisplayName(resources
0905:                            .getString("Tab_children_DisplayName"));
0906:                    prop_children.setShortDescription(resources
0907:                            .getString("Tab_children_Description"));
0908:                    prop_children.setExpert(false);
0909:                    prop_children.setHidden(true);
0910:                    prop_children.setPreferred(false);
0911:                    prop_children
0912:                            .setValue(
0913:                                    Constants.PropertyDescriptor.CATEGORY,
0914:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0915:
0916:                    PropertyDescriptor prop_facets = new PropertyDescriptor(
0917:                            "facets", beanClass, "getFacets", null);
0918:                    prop_facets.setDisplayName(resources
0919:                            .getString("Tab_facets_DisplayName"));
0920:                    prop_facets.setShortDescription(resources
0921:                            .getString("Tab_facets_Description"));
0922:                    prop_facets.setExpert(false);
0923:                    prop_facets.setHidden(true);
0924:                    prop_facets.setPreferred(false);
0925:                    prop_facets
0926:                            .setValue(
0927:                                    Constants.PropertyDescriptor.CATEGORY,
0928:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0929:
0930:                    PropertyDescriptor prop_family = new PropertyDescriptor(
0931:                            "family", beanClass, "getFamily", null);
0932:                    prop_family.setDisplayName(resources
0933:                            .getString("Tab_family_DisplayName"));
0934:                    prop_family.setShortDescription(resources
0935:                            .getString("Tab_family_Description"));
0936:                    prop_family.setExpert(false);
0937:                    prop_family.setHidden(true);
0938:                    prop_family.setPreferred(false);
0939:                    prop_family
0940:                            .setValue(
0941:                                    Constants.PropertyDescriptor.CATEGORY,
0942:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0943:
0944:                    PropertyDescriptor prop_id = new PropertyDescriptor("id",
0945:                            beanClass, "getId", "setId");
0946:                    prop_id.setDisplayName(resources
0947:                            .getString("Tab_id_DisplayName"));
0948:                    prop_id.setShortDescription(resources
0949:                            .getString("Tab_id_Description"));
0950:                    prop_id.setExpert(false);
0951:                    prop_id.setHidden(true);
0952:                    prop_id.setPreferred(false);
0953:                    attrib = new AttributeDescriptor("id", false, null, true);
0954:                    prop_id.setValue(
0955:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0956:                            attrib);
0957:                    prop_id
0958:                            .setValue(
0959:                                    Constants.PropertyDescriptor.CATEGORY,
0960:                                    com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0961:
0962:                    PropertyDescriptor prop_immediate = new PropertyDescriptor(
0963:                            "immediate", beanClass, "isImmediate",
0964:                            "setImmediate");
0965:                    prop_immediate.setDisplayName(resources
0966:                            .getString("Tab_immediate_DisplayName"));
0967:                    prop_immediate.setShortDescription(resources
0968:                            .getString("Tab_immediate_Description"));
0969:                    prop_immediate.setExpert(false);
0970:                    prop_immediate.setHidden(false);
0971:                    prop_immediate.setPreferred(false);
0972:                    attrib = new AttributeDescriptor("immediate", false, null,
0973:                            true);
0974:                    prop_immediate.setValue(
0975:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0976:                            attrib);
0977:                    prop_immediate
0978:                            .setValue(
0979:                                    Constants.PropertyDescriptor.CATEGORY,
0980:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0981:
0982:                    PropertyDescriptor prop_parent = new PropertyDescriptor(
0983:                            "parent", beanClass, "getParent", null);
0984:                    prop_parent.setDisplayName(resources
0985:                            .getString("Tab_parent_DisplayName"));
0986:                    prop_parent.setShortDescription(resources
0987:                            .getString("Tab_parent_Description"));
0988:                    prop_parent.setExpert(false);
0989:                    prop_parent.setHidden(true);
0990:                    prop_parent.setPreferred(false);
0991:                    prop_parent
0992:                            .setValue(
0993:                                    Constants.PropertyDescriptor.CATEGORY,
0994:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0995:
0996:                    PropertyDescriptor prop_rendered = new PropertyDescriptor(
0997:                            "rendered", beanClass, "isRendered", "setRendered");
0998:                    prop_rendered.setDisplayName(resources
0999:                            .getString("Tab_rendered_DisplayName"));
1000:                    prop_rendered.setShortDescription(resources
1001:                            .getString("Tab_rendered_Description"));
1002:                    prop_rendered.setExpert(false);
1003:                    prop_rendered.setHidden(false);
1004:                    prop_rendered.setPreferred(false);
1005:                    attrib = new AttributeDescriptor("rendered", false, null,
1006:                            true);
1007:                    prop_rendered.setValue(
1008:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1009:                            attrib);
1010:                    prop_rendered
1011:                            .setValue(
1012:                                    Constants.PropertyDescriptor.CATEGORY,
1013:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1014:
1015:                    PropertyDescriptor prop_rendererType = new PropertyDescriptor(
1016:                            "rendererType", beanClass, "getRendererType",
1017:                            "setRendererType");
1018:                    prop_rendererType.setDisplayName(resources
1019:                            .getString("Tab_rendererType_DisplayName"));
1020:                    prop_rendererType.setShortDescription(resources
1021:                            .getString("Tab_rendererType_Description"));
1022:                    prop_rendererType.setExpert(false);
1023:                    prop_rendererType.setHidden(true);
1024:                    prop_rendererType.setPreferred(false);
1025:                    prop_rendererType
1026:                            .setValue(
1027:                                    Constants.PropertyDescriptor.CATEGORY,
1028:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1029:
1030:                    PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
1031:                            "rendersChildren", beanClass, "getRendersChildren",
1032:                            null);
1033:                    prop_rendersChildren.setDisplayName(resources
1034:                            .getString("Tab_rendersChildren_DisplayName"));
1035:                    prop_rendersChildren.setShortDescription(resources
1036:                            .getString("Tab_rendersChildren_Description"));
1037:                    prop_rendersChildren.setExpert(false);
1038:                    prop_rendersChildren.setHidden(true);
1039:                    prop_rendersChildren.setPreferred(false);
1040:                    prop_rendersChildren
1041:                            .setValue(
1042:                                    Constants.PropertyDescriptor.CATEGORY,
1043:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1044:
1045:                    propDescriptors = new PropertyDescriptor[] { prop_action,
1046:                            prop_actionListener, prop_attributes,
1047:                            prop_childCount, prop_children, prop_disabled,
1048:                            prop_facets, prop_family, prop_id, prop_immediate,
1049:                            prop_onBlur, prop_onClick, prop_onDblClick,
1050:                            prop_onFocus, prop_onKeyDown, prop_onKeyPress,
1051:                            prop_onKeyUp, prop_onMouseDown, prop_onMouseMove,
1052:                            prop_onMouseOut, prop_onMouseOver, prop_onMouseUp,
1053:                            prop_parent, prop_rendered, prop_rendererType,
1054:                            prop_rendersChildren, prop_selectedChildId,
1055:                            prop_shape, prop_style, prop_styleClass,
1056:                            prop_tabIndex, prop_target, prop_text,
1057:                            prop_toolTip, prop_type, prop_url, prop_urlLang,
1058:                            prop_value, prop_visible, };
1059:                    return propDescriptors;
1060:
1061:                } catch (IntrospectionException e) {
1062:                    e.printStackTrace();
1063:                    return null;
1064:                }
1065:
1066:            }
1067:
1068:        }
1069:        //GEN-END:BeanInfo
w___ww__.__j_av___a2s_.___c__o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.