Source Code Cross Referenced for AlarmBeanInfoBase.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 AlarmBeanInfoBase 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(), AlarmBeanInfoBase.class
0071:                                    .getClassLoader());
0072:
0073:            /**
0074:             * <p>Construct a new <code>AlarmBeanInfoBase</code>.</p>
0075:             */
0076:            public AlarmBeanInfoBase() {
0077:
0078:                beanClass = com.sun.rave.web.ui.component.Alarm.class;
0079:                defaultPropertyName = "severity";
0080:                iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Alarm_C16";
0081:                iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Alarm_C32";
0082:                iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Alarm_M16";
0083:                iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/Alarm_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("Alarm_DisplayName"));
0144:                beanDescriptor.setShortDescription(resources
0145:                        .getString("Alarm_Description"));
0146:                beanDescriptor.setExpert(false);
0147:                beanDescriptor.setHidden(false);
0148:                beanDescriptor.setPreferred(false);
0149:                beanDescriptor.setValue(
0150:                        Constants.BeanDescriptor.FACET_DESCRIPTORS,
0151:                        getFacetDescriptors());
0152:                beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME,
0153:                        "alarm");
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:                        "alarm");
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_alt = new PropertyDescriptor("alt",
0284:                            beanClass, "getAlt", "setAlt");
0285:                    prop_alt.setDisplayName(resources
0286:                            .getString("Alarm_alt_DisplayName"));
0287:                    prop_alt.setShortDescription(resources
0288:                            .getString("Alarm_alt_Description"));
0289:                    prop_alt
0290:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0291:                    prop_alt.setExpert(false);
0292:                    prop_alt.setHidden(false);
0293:                    prop_alt.setPreferred(false);
0294:                    attrib = new AttributeDescriptor("alt", false, null, true);
0295:                    prop_alt.setValue(
0296:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0297:                            attrib);
0298:                    prop_alt
0299:                            .setValue(
0300:                                    Constants.PropertyDescriptor.CATEGORY,
0301:                                    com.sun.rave.designtime.base.CategoryDescriptors.ACCESSIBILITY);
0302:
0303:                    PropertyDescriptor prop_onClick = new PropertyDescriptor(
0304:                            "onClick", beanClass, "getOnClick", "setOnClick");
0305:                    prop_onClick.setDisplayName(resources
0306:                            .getString("Alarm_onClick_DisplayName"));
0307:                    prop_onClick.setShortDescription(resources
0308:                            .getString("Alarm_onClick_Description"));
0309:                    prop_onClick
0310:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0311:                    prop_onClick.setExpert(false);
0312:                    prop_onClick.setHidden(false);
0313:                    prop_onClick.setPreferred(false);
0314:                    attrib = new AttributeDescriptor("onClick", false, null,
0315:                            true);
0316:                    prop_onClick.setValue(
0317:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0318:                            attrib);
0319:                    prop_onClick
0320:                            .setValue(
0321:                                    Constants.PropertyDescriptor.CATEGORY,
0322:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0323:
0324:                    PropertyDescriptor prop_onDblClick = new PropertyDescriptor(
0325:                            "onDblClick", beanClass, "getOnDblClick",
0326:                            "setOnDblClick");
0327:                    prop_onDblClick.setDisplayName(resources
0328:                            .getString("Alarm_onDblClick_DisplayName"));
0329:                    prop_onDblClick.setShortDescription(resources
0330:                            .getString("Alarm_onDblClick_Description"));
0331:                    prop_onDblClick
0332:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0333:                    prop_onDblClick.setExpert(false);
0334:                    prop_onDblClick.setHidden(false);
0335:                    prop_onDblClick.setPreferred(false);
0336:                    attrib = new AttributeDescriptor("onDblClick", false, null,
0337:                            true);
0338:                    prop_onDblClick.setValue(
0339:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0340:                            attrib);
0341:                    prop_onDblClick
0342:                            .setValue(
0343:                                    Constants.PropertyDescriptor.CATEGORY,
0344:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0345:
0346:                    PropertyDescriptor prop_onKeyDown = new PropertyDescriptor(
0347:                            "onKeyDown", beanClass, "getOnKeyDown",
0348:                            "setOnKeyDown");
0349:                    prop_onKeyDown.setDisplayName(resources
0350:                            .getString("Alarm_onKeyDown_DisplayName"));
0351:                    prop_onKeyDown.setShortDescription(resources
0352:                            .getString("Alarm_onKeyDown_Description"));
0353:                    prop_onKeyDown
0354:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0355:                    prop_onKeyDown.setExpert(false);
0356:                    prop_onKeyDown.setHidden(false);
0357:                    prop_onKeyDown.setPreferred(false);
0358:                    attrib = new AttributeDescriptor("onKeyDown", false, null,
0359:                            true);
0360:                    prop_onKeyDown.setValue(
0361:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0362:                            attrib);
0363:                    prop_onKeyDown
0364:                            .setValue(
0365:                                    Constants.PropertyDescriptor.CATEGORY,
0366:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0367:
0368:                    PropertyDescriptor prop_onKeyPress = new PropertyDescriptor(
0369:                            "onKeyPress", beanClass, "getOnKeyPress",
0370:                            "setOnKeyPress");
0371:                    prop_onKeyPress.setDisplayName(resources
0372:                            .getString("Alarm_onKeyPress_DisplayName"));
0373:                    prop_onKeyPress.setShortDescription(resources
0374:                            .getString("Alarm_onKeyPress_Description"));
0375:                    prop_onKeyPress
0376:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0377:                    prop_onKeyPress.setExpert(false);
0378:                    prop_onKeyPress.setHidden(false);
0379:                    prop_onKeyPress.setPreferred(false);
0380:                    attrib = new AttributeDescriptor("onKeyPress", false, null,
0381:                            true);
0382:                    prop_onKeyPress.setValue(
0383:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0384:                            attrib);
0385:                    prop_onKeyPress
0386:                            .setValue(
0387:                                    Constants.PropertyDescriptor.CATEGORY,
0388:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0389:
0390:                    PropertyDescriptor prop_onKeyUp = new PropertyDescriptor(
0391:                            "onKeyUp", beanClass, "getOnKeyUp", "setOnKeyUp");
0392:                    prop_onKeyUp.setDisplayName(resources
0393:                            .getString("Alarm_onKeyUp_DisplayName"));
0394:                    prop_onKeyUp.setShortDescription(resources
0395:                            .getString("Alarm_onKeyUp_Description"));
0396:                    prop_onKeyUp
0397:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0398:                    prop_onKeyUp.setExpert(false);
0399:                    prop_onKeyUp.setHidden(false);
0400:                    prop_onKeyUp.setPreferred(false);
0401:                    attrib = new AttributeDescriptor("onKeyUp", false, null,
0402:                            true);
0403:                    prop_onKeyUp.setValue(
0404:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0405:                            attrib);
0406:                    prop_onKeyUp
0407:                            .setValue(
0408:                                    Constants.PropertyDescriptor.CATEGORY,
0409:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0410:
0411:                    PropertyDescriptor prop_onMouseDown = new PropertyDescriptor(
0412:                            "onMouseDown", beanClass, "getOnMouseDown",
0413:                            "setOnMouseDown");
0414:                    prop_onMouseDown.setDisplayName(resources
0415:                            .getString("Alarm_onMouseDown_DisplayName"));
0416:                    prop_onMouseDown.setShortDescription(resources
0417:                            .getString("Alarm_onMouseDown_Description"));
0418:                    prop_onMouseDown
0419:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0420:                    prop_onMouseDown.setExpert(false);
0421:                    prop_onMouseDown.setHidden(false);
0422:                    prop_onMouseDown.setPreferred(false);
0423:                    attrib = new AttributeDescriptor("onMouseDown", false,
0424:                            null, true);
0425:                    prop_onMouseDown.setValue(
0426:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0427:                            attrib);
0428:                    prop_onMouseDown
0429:                            .setValue(
0430:                                    Constants.PropertyDescriptor.CATEGORY,
0431:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0432:
0433:                    PropertyDescriptor prop_onMouseMove = new PropertyDescriptor(
0434:                            "onMouseMove", beanClass, "getOnMouseMove",
0435:                            "setOnMouseMove");
0436:                    prop_onMouseMove.setDisplayName(resources
0437:                            .getString("Alarm_onMouseMove_DisplayName"));
0438:                    prop_onMouseMove.setShortDescription(resources
0439:                            .getString("Alarm_onMouseMove_Description"));
0440:                    prop_onMouseMove
0441:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0442:                    prop_onMouseMove.setExpert(false);
0443:                    prop_onMouseMove.setHidden(false);
0444:                    prop_onMouseMove.setPreferred(false);
0445:                    attrib = new AttributeDescriptor("onMouseMove", false,
0446:                            null, true);
0447:                    prop_onMouseMove.setValue(
0448:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0449:                            attrib);
0450:                    prop_onMouseMove
0451:                            .setValue(
0452:                                    Constants.PropertyDescriptor.CATEGORY,
0453:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0454:
0455:                    PropertyDescriptor prop_onMouseOut = new PropertyDescriptor(
0456:                            "onMouseOut", beanClass, "getOnMouseOut",
0457:                            "setOnMouseOut");
0458:                    prop_onMouseOut.setDisplayName(resources
0459:                            .getString("Alarm_onMouseOut_DisplayName"));
0460:                    prop_onMouseOut.setShortDescription(resources
0461:                            .getString("Alarm_onMouseOut_Description"));
0462:                    prop_onMouseOut
0463:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0464:                    prop_onMouseOut.setExpert(false);
0465:                    prop_onMouseOut.setHidden(false);
0466:                    prop_onMouseOut.setPreferred(false);
0467:                    attrib = new AttributeDescriptor("onMouseOut", false, null,
0468:                            true);
0469:                    prop_onMouseOut.setValue(
0470:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0471:                            attrib);
0472:                    prop_onMouseOut
0473:                            .setValue(
0474:                                    Constants.PropertyDescriptor.CATEGORY,
0475:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0476:
0477:                    PropertyDescriptor prop_onMouseOver = new PropertyDescriptor(
0478:                            "onMouseOver", beanClass, "getOnMouseOver",
0479:                            "setOnMouseOver");
0480:                    prop_onMouseOver.setDisplayName(resources
0481:                            .getString("Alarm_onMouseOver_DisplayName"));
0482:                    prop_onMouseOver.setShortDescription(resources
0483:                            .getString("Alarm_onMouseOver_Description"));
0484:                    prop_onMouseOver
0485:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0486:                    prop_onMouseOver.setExpert(false);
0487:                    prop_onMouseOver.setHidden(false);
0488:                    prop_onMouseOver.setPreferred(false);
0489:                    attrib = new AttributeDescriptor("onMouseOver", false,
0490:                            null, true);
0491:                    prop_onMouseOver.setValue(
0492:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0493:                            attrib);
0494:                    prop_onMouseOver
0495:                            .setValue(
0496:                                    Constants.PropertyDescriptor.CATEGORY,
0497:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0498:
0499:                    PropertyDescriptor prop_onMouseUp = new PropertyDescriptor(
0500:                            "onMouseUp", beanClass, "getOnMouseUp",
0501:                            "setOnMouseUp");
0502:                    prop_onMouseUp.setDisplayName(resources
0503:                            .getString("Alarm_onMouseUp_DisplayName"));
0504:                    prop_onMouseUp.setShortDescription(resources
0505:                            .getString("Alarm_onMouseUp_Description"));
0506:                    prop_onMouseUp
0507:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0508:                    prop_onMouseUp.setExpert(false);
0509:                    prop_onMouseUp.setHidden(false);
0510:                    prop_onMouseUp.setPreferred(false);
0511:                    attrib = new AttributeDescriptor("onMouseUp", false, null,
0512:                            true);
0513:                    prop_onMouseUp.setValue(
0514:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0515:                            attrib);
0516:                    prop_onMouseUp
0517:                            .setValue(
0518:                                    Constants.PropertyDescriptor.CATEGORY,
0519:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0520:
0521:                    PropertyDescriptor prop_severity = new PropertyDescriptor(
0522:                            "severity", beanClass, "getSeverity", "setSeverity");
0523:                    prop_severity.setDisplayName(resources
0524:                            .getString("Alarm_severity_DisplayName"));
0525:                    prop_severity.setShortDescription(resources
0526:                            .getString("Alarm_severity_Description"));
0527:                    prop_severity
0528:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0529:                    prop_severity.setExpert(false);
0530:                    prop_severity.setHidden(false);
0531:                    prop_severity.setPreferred(false);
0532:                    attrib = new AttributeDescriptor("severity", false, null,
0533:                            true);
0534:                    prop_severity.setValue(
0535:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0536:                            attrib);
0537:                    prop_severity
0538:                            .setValue(
0539:                                    Constants.PropertyDescriptor.CATEGORY,
0540:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0541:                    prop_severity
0542:                            .setValue(
0543:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0544:                                    com.sun.rave.propertyeditors.domains.StringTokensDomain.class);
0545:                    prop_severity
0546:                            .setValue(
0547:                                    "com.sun.rave.propertyeditors.domains.TOKEN_STRING",
0548:                                    "critical,major,minor,down,ok");
0549:
0550:                    PropertyDescriptor prop_style = new PropertyDescriptor(
0551:                            "style", beanClass, "getStyle", "setStyle");
0552:                    prop_style.setDisplayName(resources
0553:                            .getString("Alarm_style_DisplayName"));
0554:                    prop_style.setShortDescription(resources
0555:                            .getString("Alarm_style_Description"));
0556:                    prop_style
0557:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.css.CssStylePropertyEditor"));
0558:                    prop_style.setExpert(false);
0559:                    prop_style.setHidden(false);
0560:                    prop_style.setPreferred(false);
0561:                    attrib = new AttributeDescriptor("style", false, null, true);
0562:                    prop_style.setValue(
0563:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0564:                            attrib);
0565:                    prop_style
0566:                            .setValue(
0567:                                    Constants.PropertyDescriptor.CATEGORY,
0568:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0569:
0570:                    PropertyDescriptor prop_styleClass = new PropertyDescriptor(
0571:                            "styleClass", beanClass, "getStyleClass",
0572:                            "setStyleClass");
0573:                    prop_styleClass.setDisplayName(resources
0574:                            .getString("Alarm_styleClass_DisplayName"));
0575:                    prop_styleClass.setShortDescription(resources
0576:                            .getString("Alarm_styleClass_Description"));
0577:                    prop_styleClass
0578:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
0579:                    prop_styleClass.setExpert(false);
0580:                    prop_styleClass.setHidden(false);
0581:                    prop_styleClass.setPreferred(false);
0582:                    attrib = new AttributeDescriptor("styleClass", false, null,
0583:                            true);
0584:                    prop_styleClass.setValue(
0585:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0586:                            attrib);
0587:                    prop_styleClass
0588:                            .setValue(
0589:                                    Constants.PropertyDescriptor.CATEGORY,
0590:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0591:
0592:                    PropertyDescriptor prop_toolTip = new PropertyDescriptor(
0593:                            "toolTip", beanClass, "getToolTip", "setToolTip");
0594:                    prop_toolTip.setDisplayName(resources
0595:                            .getString("Alarm_toolTip_DisplayName"));
0596:                    prop_toolTip.setShortDescription(resources
0597:                            .getString("Alarm_toolTip_Description"));
0598:                    prop_toolTip
0599:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0600:                    prop_toolTip.setExpert(false);
0601:                    prop_toolTip.setHidden(false);
0602:                    prop_toolTip.setPreferred(false);
0603:                    attrib = new AttributeDescriptor("toolTip", false, null,
0604:                            true);
0605:                    prop_toolTip.setValue(
0606:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0607:                            attrib);
0608:                    prop_toolTip
0609:                            .setValue(
0610:                                    Constants.PropertyDescriptor.CATEGORY,
0611:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0612:
0613:                    PropertyDescriptor prop_visible = new PropertyDescriptor(
0614:                            "visible", beanClass, "isVisible", "setVisible");
0615:                    prop_visible.setDisplayName(resources
0616:                            .getString("Alarm_visible_DisplayName"));
0617:                    prop_visible.setShortDescription(resources
0618:                            .getString("Alarm_visible_Description"));
0619:                    prop_visible.setExpert(false);
0620:                    prop_visible.setHidden(false);
0621:                    prop_visible.setPreferred(false);
0622:                    attrib = new AttributeDescriptor("visible", false, "true",
0623:                            true);
0624:                    prop_visible.setValue(
0625:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0626:                            attrib);
0627:                    prop_visible
0628:                            .setValue(
0629:                                    Constants.PropertyDescriptor.CATEGORY,
0630:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0631:
0632:                    PropertyDescriptor prop_align = new PropertyDescriptor(
0633:                            "align", beanClass, "getAlign", "setAlign");
0634:                    prop_align.setDisplayName(resources
0635:                            .getString("Alarm_align_DisplayName"));
0636:                    prop_align.setShortDescription(resources
0637:                            .getString("Alarm_align_Description"));
0638:                    prop_align
0639:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0640:                    prop_align.setExpert(false);
0641:                    prop_align.setHidden(false);
0642:                    prop_align.setPreferred(false);
0643:                    attrib = new AttributeDescriptor("align", false, null, true);
0644:                    prop_align.setValue(
0645:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0646:                            attrib);
0647:                    prop_align
0648:                            .setValue(
0649:                                    Constants.PropertyDescriptor.CATEGORY,
0650:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0651:                    prop_align
0652:                            .setValue(
0653:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0654:                                    com.sun.rave.propertyeditors.domains.HtmlAlignDomain.class);
0655:
0656:                    PropertyDescriptor prop_border = new PropertyDescriptor(
0657:                            "border", beanClass, "getBorder", "setBorder");
0658:                    prop_border.setDisplayName(resources
0659:                            .getString("Alarm_border_DisplayName"));
0660:                    prop_border.setShortDescription(resources
0661:                            .getString("Alarm_border_Description"));
0662:                    prop_border
0663:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0664:                    prop_border.setExpert(false);
0665:                    prop_border.setHidden(false);
0666:                    prop_border.setPreferred(false);
0667:                    attrib = new AttributeDescriptor("border", false, "0", true);
0668:                    prop_border.setValue(
0669:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0670:                            attrib);
0671:                    prop_border
0672:                            .setValue(
0673:                                    Constants.PropertyDescriptor.CATEGORY,
0674:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0675:                    prop_border.setValue(
0676:                            "com.sun.rave.propertyeditors.MIN_VALUE", "0");
0677:
0678:                    PropertyDescriptor prop_height = new PropertyDescriptor(
0679:                            "height", beanClass, "getHeight", "setHeight");
0680:                    prop_height.setDisplayName(resources
0681:                            .getString("Alarm_height_DisplayName"));
0682:                    prop_height.setShortDescription(resources
0683:                            .getString("Alarm_height_Description"));
0684:                    prop_height
0685:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0686:                    prop_height.setExpert(false);
0687:                    prop_height.setHidden(false);
0688:                    prop_height.setPreferred(false);
0689:                    attrib = new AttributeDescriptor("height", false, null,
0690:                            true);
0691:                    prop_height.setValue(
0692:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0693:                            attrib);
0694:                    prop_height
0695:                            .setValue(
0696:                                    Constants.PropertyDescriptor.CATEGORY,
0697:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0698:                    prop_height.setValue(
0699:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0700:
0701:                    PropertyDescriptor prop_hspace = new PropertyDescriptor(
0702:                            "hspace", beanClass, "getHspace", "setHspace");
0703:                    prop_hspace.setDisplayName(resources
0704:                            .getString("Alarm_hspace_DisplayName"));
0705:                    prop_hspace.setShortDescription(resources
0706:                            .getString("Alarm_hspace_Description"));
0707:                    prop_hspace
0708:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0709:                    prop_hspace.setExpert(false);
0710:                    prop_hspace.setHidden(false);
0711:                    prop_hspace.setPreferred(false);
0712:                    attrib = new AttributeDescriptor("hspace", false, null,
0713:                            true);
0714:                    prop_hspace.setValue(
0715:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0716:                            attrib);
0717:                    prop_hspace
0718:                            .setValue(
0719:                                    Constants.PropertyDescriptor.CATEGORY,
0720:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0721:                    prop_hspace.setValue(
0722:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0723:
0724:                    PropertyDescriptor prop_icon = new PropertyDescriptor(
0725:                            "icon", beanClass, "getIcon", "setIcon");
0726:                    prop_icon.setDisplayName(resources
0727:                            .getString("Alarm_icon_DisplayName"));
0728:                    prop_icon.setShortDescription(resources
0729:                            .getString("Alarm_icon_Description"));
0730:                    prop_icon
0731:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0732:                    prop_icon.setExpert(false);
0733:                    prop_icon.setHidden(false);
0734:                    prop_icon.setPreferred(false);
0735:                    attrib = new AttributeDescriptor("icon", false, null, true);
0736:                    prop_icon.setValue(
0737:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0738:                            attrib);
0739:                    prop_icon
0740:                            .setValue(
0741:                                    Constants.PropertyDescriptor.CATEGORY,
0742:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0743:                    prop_icon
0744:                            .setValue(
0745:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0746:                                    org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.ThemeIconsDomain.class);
0747:
0748:                    PropertyDescriptor prop_longDesc = new PropertyDescriptor(
0749:                            "longDesc", beanClass, "getLongDesc", "setLongDesc");
0750:                    prop_longDesc.setDisplayName(resources
0751:                            .getString("Alarm_longDesc_DisplayName"));
0752:                    prop_longDesc.setShortDescription(resources
0753:                            .getString("Alarm_longDesc_Description"));
0754:                    prop_longDesc
0755:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0756:                    prop_longDesc.setExpert(false);
0757:                    prop_longDesc.setHidden(false);
0758:                    prop_longDesc.setPreferred(false);
0759:                    attrib = new AttributeDescriptor("longDesc", false, null,
0760:                            true);
0761:                    prop_longDesc.setValue(
0762:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0763:                            attrib);
0764:                    prop_longDesc
0765:                            .setValue(
0766:                                    Constants.PropertyDescriptor.CATEGORY,
0767:                                    com.sun.rave.designtime.base.CategoryDescriptors.ACCESSIBILITY);
0768:
0769:                    PropertyDescriptor prop_url = new PropertyDescriptor("url",
0770:                            beanClass, "getUrl", "setUrl");
0771:                    prop_url.setDisplayName(resources
0772:                            .getString("Alarm_url_DisplayName"));
0773:                    prop_url.setShortDescription(resources
0774:                            .getString("Alarm_url_Description"));
0775:                    prop_url
0776:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.ImageUrlPropertyEditor"));
0777:                    prop_url.setExpert(false);
0778:                    prop_url.setHidden(false);
0779:                    prop_url.setPreferred(false);
0780:                    attrib = new AttributeDescriptor("url", false, null, true);
0781:                    prop_url.setValue(
0782:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0783:                            attrib);
0784:                    prop_url
0785:                            .setValue(
0786:                                    Constants.PropertyDescriptor.CATEGORY,
0787:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0788:
0789:                    PropertyDescriptor prop_vspace = new PropertyDescriptor(
0790:                            "vspace", beanClass, "getVspace", "setVspace");
0791:                    prop_vspace.setDisplayName(resources
0792:                            .getString("Alarm_vspace_DisplayName"));
0793:                    prop_vspace.setShortDescription(resources
0794:                            .getString("Alarm_vspace_Description"));
0795:                    prop_vspace
0796:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0797:                    prop_vspace.setExpert(false);
0798:                    prop_vspace.setHidden(false);
0799:                    prop_vspace.setPreferred(false);
0800:                    attrib = new AttributeDescriptor("vspace", false, null,
0801:                            true);
0802:                    prop_vspace.setValue(
0803:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0804:                            attrib);
0805:                    prop_vspace
0806:                            .setValue(
0807:                                    Constants.PropertyDescriptor.CATEGORY,
0808:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0809:                    prop_vspace.setValue(
0810:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0811:
0812:                    PropertyDescriptor prop_width = new PropertyDescriptor(
0813:                            "width", beanClass, "getWidth", "setWidth");
0814:                    prop_width.setDisplayName(resources
0815:                            .getString("Alarm_width_DisplayName"));
0816:                    prop_width.setShortDescription(resources
0817:                            .getString("Alarm_width_Description"));
0818:                    prop_width
0819:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0820:                    prop_width.setExpert(false);
0821:                    prop_width.setHidden(false);
0822:                    prop_width.setPreferred(false);
0823:                    attrib = new AttributeDescriptor("width", false, null, true);
0824:                    prop_width.setValue(
0825:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0826:                            attrib);
0827:                    prop_width
0828:                            .setValue(
0829:                                    Constants.PropertyDescriptor.CATEGORY,
0830:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0831:                    prop_width.setValue(
0832:                            "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0833:
0834:                    PropertyDescriptor prop_attributes = new PropertyDescriptor(
0835:                            "attributes", beanClass, "getAttributes", null);
0836:                    prop_attributes.setDisplayName(resources
0837:                            .getString("Alarm_attributes_DisplayName"));
0838:                    prop_attributes.setShortDescription(resources
0839:                            .getString("Alarm_attributes_Description"));
0840:                    prop_attributes.setExpert(false);
0841:                    prop_attributes.setHidden(true);
0842:                    prop_attributes.setPreferred(false);
0843:                    prop_attributes
0844:                            .setValue(
0845:                                    Constants.PropertyDescriptor.CATEGORY,
0846:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0847:
0848:                    PropertyDescriptor prop_childCount = new PropertyDescriptor(
0849:                            "childCount", beanClass, "getChildCount", null);
0850:                    prop_childCount.setDisplayName(resources
0851:                            .getString("Alarm_childCount_DisplayName"));
0852:                    prop_childCount.setShortDescription(resources
0853:                            .getString("Alarm_childCount_Description"));
0854:                    prop_childCount.setExpert(false);
0855:                    prop_childCount.setHidden(true);
0856:                    prop_childCount.setPreferred(false);
0857:                    prop_childCount
0858:                            .setValue(
0859:                                    Constants.PropertyDescriptor.CATEGORY,
0860:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0861:
0862:                    PropertyDescriptor prop_children = new PropertyDescriptor(
0863:                            "children", beanClass, "getChildren", null);
0864:                    prop_children.setDisplayName(resources
0865:                            .getString("Alarm_children_DisplayName"));
0866:                    prop_children.setShortDescription(resources
0867:                            .getString("Alarm_children_Description"));
0868:                    prop_children.setExpert(false);
0869:                    prop_children.setHidden(true);
0870:                    prop_children.setPreferred(false);
0871:                    prop_children
0872:                            .setValue(
0873:                                    Constants.PropertyDescriptor.CATEGORY,
0874:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0875:
0876:                    PropertyDescriptor prop_facets = new PropertyDescriptor(
0877:                            "facets", beanClass, "getFacets", null);
0878:                    prop_facets.setDisplayName(resources
0879:                            .getString("Alarm_facets_DisplayName"));
0880:                    prop_facets.setShortDescription(resources
0881:                            .getString("Alarm_facets_Description"));
0882:                    prop_facets.setExpert(false);
0883:                    prop_facets.setHidden(true);
0884:                    prop_facets.setPreferred(false);
0885:                    prop_facets
0886:                            .setValue(
0887:                                    Constants.PropertyDescriptor.CATEGORY,
0888:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0889:
0890:                    PropertyDescriptor prop_family = new PropertyDescriptor(
0891:                            "family", beanClass, "getFamily", null);
0892:                    prop_family.setDisplayName(resources
0893:                            .getString("Alarm_family_DisplayName"));
0894:                    prop_family.setShortDescription(resources
0895:                            .getString("Alarm_family_Description"));
0896:                    prop_family.setExpert(false);
0897:                    prop_family.setHidden(true);
0898:                    prop_family.setPreferred(false);
0899:                    prop_family
0900:                            .setValue(
0901:                                    Constants.PropertyDescriptor.CATEGORY,
0902:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0903:
0904:                    PropertyDescriptor prop_id = new PropertyDescriptor("id",
0905:                            beanClass, "getId", "setId");
0906:                    prop_id.setDisplayName(resources
0907:                            .getString("Alarm_id_DisplayName"));
0908:                    prop_id.setShortDescription(resources
0909:                            .getString("Alarm_id_Description"));
0910:                    prop_id.setExpert(false);
0911:                    prop_id.setHidden(true);
0912:                    prop_id.setPreferred(false);
0913:                    attrib = new AttributeDescriptor("id", false, null, true);
0914:                    prop_id.setValue(
0915:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0916:                            attrib);
0917:                    prop_id
0918:                            .setValue(
0919:                                    Constants.PropertyDescriptor.CATEGORY,
0920:                                    com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0921:
0922:                    PropertyDescriptor prop_parent = new PropertyDescriptor(
0923:                            "parent", beanClass, "getParent", null);
0924:                    prop_parent.setDisplayName(resources
0925:                            .getString("Alarm_parent_DisplayName"));
0926:                    prop_parent.setShortDescription(resources
0927:                            .getString("Alarm_parent_Description"));
0928:                    prop_parent.setExpert(false);
0929:                    prop_parent.setHidden(true);
0930:                    prop_parent.setPreferred(false);
0931:                    prop_parent
0932:                            .setValue(
0933:                                    Constants.PropertyDescriptor.CATEGORY,
0934:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0935:
0936:                    PropertyDescriptor prop_rendered = new PropertyDescriptor(
0937:                            "rendered", beanClass, "isRendered", "setRendered");
0938:                    prop_rendered.setDisplayName(resources
0939:                            .getString("Alarm_rendered_DisplayName"));
0940:                    prop_rendered.setShortDescription(resources
0941:                            .getString("Alarm_rendered_Description"));
0942:                    prop_rendered.setExpert(false);
0943:                    prop_rendered.setHidden(false);
0944:                    prop_rendered.setPreferred(false);
0945:                    attrib = new AttributeDescriptor("rendered", false, null,
0946:                            true);
0947:                    prop_rendered.setValue(
0948:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0949:                            attrib);
0950:                    prop_rendered
0951:                            .setValue(
0952:                                    Constants.PropertyDescriptor.CATEGORY,
0953:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0954:
0955:                    PropertyDescriptor prop_rendererType = new PropertyDescriptor(
0956:                            "rendererType", beanClass, "getRendererType",
0957:                            "setRendererType");
0958:                    prop_rendererType.setDisplayName(resources
0959:                            .getString("Alarm_rendererType_DisplayName"));
0960:                    prop_rendererType.setShortDescription(resources
0961:                            .getString("Alarm_rendererType_Description"));
0962:                    prop_rendererType.setExpert(false);
0963:                    prop_rendererType.setHidden(true);
0964:                    prop_rendererType.setPreferred(false);
0965:                    prop_rendererType
0966:                            .setValue(
0967:                                    Constants.PropertyDescriptor.CATEGORY,
0968:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0969:
0970:                    PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
0971:                            "rendersChildren", beanClass, "getRendersChildren",
0972:                            null);
0973:                    prop_rendersChildren.setDisplayName(resources
0974:                            .getString("Alarm_rendersChildren_DisplayName"));
0975:                    prop_rendersChildren.setShortDescription(resources
0976:                            .getString("Alarm_rendersChildren_Description"));
0977:                    prop_rendersChildren.setExpert(false);
0978:                    prop_rendersChildren.setHidden(true);
0979:                    prop_rendersChildren.setPreferred(false);
0980:                    prop_rendersChildren
0981:                            .setValue(
0982:                                    Constants.PropertyDescriptor.CATEGORY,
0983:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0984:
0985:                    PropertyDescriptor prop_value = new PropertyDescriptor(
0986:                            "value", beanClass, "getValue", "setValue");
0987:                    prop_value.setDisplayName(resources
0988:                            .getString("Alarm_value_DisplayName"));
0989:                    prop_value.setShortDescription(resources
0990:                            .getString("Alarm_value_Description"));
0991:                    prop_value
0992:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.binding.ValueBindingPropertyEditor"));
0993:                    prop_value.setExpert(false);
0994:                    prop_value.setHidden(true);
0995:                    prop_value.setPreferred(false);
0996:                    prop_value
0997:                            .setValue(
0998:                                    Constants.PropertyDescriptor.CATEGORY,
0999:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1000:                    prop_value.setValue("ignoreIsBound", "true");
1001:
1002:                    propDescriptors = new PropertyDescriptor[] { prop_align,
1003:                            prop_alt, prop_attributes, prop_border,
1004:                            prop_childCount, prop_children, prop_facets,
1005:                            prop_family, prop_height, prop_hspace, prop_icon,
1006:                            prop_id, prop_longDesc, prop_onClick,
1007:                            prop_onDblClick, prop_onKeyDown, prop_onKeyPress,
1008:                            prop_onKeyUp, prop_onMouseDown, prop_onMouseMove,
1009:                            prop_onMouseOut, prop_onMouseOver, prop_onMouseUp,
1010:                            prop_parent, prop_rendered, prop_rendererType,
1011:                            prop_rendersChildren, prop_severity, prop_style,
1012:                            prop_styleClass, prop_toolTip, prop_url,
1013:                            prop_value, prop_visible, prop_vspace, prop_width, };
1014:                    return propDescriptors;
1015:
1016:                } catch (IntrospectionException e) {
1017:                    e.printStackTrace();
1018:                    return null;
1019:                }
1020:
1021:            }
1022:
1023:        }
1024:        //GEN-END:BeanInfo
w___w__w.j___a_va___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.