Source Code Cross Referenced for HelpInlineBeanInfoBase.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) 


001:        //GEN-BEGIN:BeanInfo
002:        /*
003:         * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
004:         *
005:         * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
006:         *
007:         * The contents of this file are subject to the terms of either the GNU
008:         * General Public License Version 2 only ("GPL") or the Common
009:         * Development and Distribution License("CDDL") (collectively, the
010:         * "License"). You may not use this file except in compliance with the
011:         * License. You can obtain a copy of the License at
012:         * http://www.netbeans.org/cddl-gplv2.html
013:         * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
014:         * specific language governing permissions and limitations under the
015:         * License.  When distributing the software, include this License Header
016:         * Notice in each file and include the License file at
017:         * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
018:         * particular file as subject to the "Classpath" exception as provided
019:         * by Sun in the GPL Version 2 section of the License file that
020:         * accompanied this code. If applicable, add the following below the
021:         * License Header, with the fields enclosed by brackets [] replaced by
022:         * your own identifying information:
023:         * "Portions Copyrighted [year] [name of copyright owner]"
024:         *
025:         * Contributor(s):
026:         *
027:         * The Original Software is NetBeans. The Initial Developer of the Original
028:         * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
029:         * Microsystems, Inc. All Rights Reserved.
030:         *
031:         * If you wish your version of this file to be governed by only the CDDL
032:         * or only the GPL Version 2, indicate your decision by adding
033:         * "[Contributor] elects to include this software in this distribution
034:         * under the [CDDL or GPL Version 2] license." If you do not indicate a
035:         * single choice of license, a recipient has the option to distribute
036:         * your version of this file under either the CDDL, the GPL Version 2 or
037:         * to extend the choice of license to its licensees as provided above.
038:         * However, if you add GPL Version 2 code and therefore, elected the GPL
039:         * Version 2 license, then the option applies only if the new code is
040:         * made subject to such option by the copyright holder.
041:         */
042:        package org.netbeans.modules.visualweb.web.ui.dt.component;
043:
044:        import java.awt.Image;
045:        import java.beans.BeanDescriptor;
046:        import java.beans.BeanInfo;
047:        import java.beans.IntrospectionException;
048:        import java.beans.PropertyDescriptor;
049:        import java.util.Locale;
050:        import java.util.ResourceBundle;
051:
052:        import com.sun.rave.designtime.CategoryDescriptor;
053:        import com.sun.rave.designtime.Constants;
054:        import com.sun.rave.designtime.faces.FacetDescriptor;
055:        import com.sun.rave.designtime.markup.AttributeDescriptor;
056:
057:        import java.beans.SimpleBeanInfo;
058:
059:        /**
060:         * <p>Auto-generated design time metadata class.
061:         * Do <strong>NOT</strong> modify; all changes
062:         * <strong>will</strong> be lost!</p>
063:         */
064:
065:        abstract class HelpInlineBeanInfoBase extends SimpleBeanInfo {
066:
067:            protected static ResourceBundle resources = ResourceBundle
068:                    .getBundle(
069:                            "org.netbeans.modules.visualweb.web.ui.dt.component.Bundle-JSF",
070:                            Locale.getDefault(), HelpInlineBeanInfoBase.class
071:                                    .getClassLoader());
072:
073:            /**
074:             * <p>Construct a new <code>HelpInlineBeanInfoBase</code>.</p>
075:             */
076:            public HelpInlineBeanInfoBase() {
077:
078:                beanClass = com.sun.rave.web.ui.component.HelpInline.class;
079:                defaultPropertyName = "text";
080:                iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/HelpInline_C16";
081:                iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/HelpInline_C32";
082:                iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/HelpInline_M16";
083:                iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/HelpInline_M32";
084:
085:            }
086:
087:            /**
088:             * <p>The bean class that this BeanInfo represents.
089:             */
090:            protected Class beanClass;
091:
092:            /**
093:             * <p>The cached BeanDescriptor.</p>
094:             */
095:            protected BeanDescriptor beanDescriptor;
096:
097:            /**
098:             * <p>The index of the default property.</p>
099:             */
100:            protected int defaultPropertyIndex = -2;
101:
102:            /**
103:             * <p>The name of the default property.</p>
104:             */
105:            protected String defaultPropertyName;
106:
107:            /**
108:             * <p>The 16x16 color icon.</p>
109:             */
110:            protected String iconFileName_C16;
111:
112:            /**
113:             * <p>The 32x32 color icon.</p>
114:             */
115:            protected String iconFileName_C32;
116:
117:            /**
118:             * <p>The 16x16 monochrome icon.</p>
119:             */
120:            protected String iconFileName_M16;
121:
122:            /**
123:             * <p>The 32x32 monochrome icon.</p>
124:             */
125:            protected String iconFileName_M32;
126:
127:            /**
128:             * <p>The cached property descriptors.</p>
129:             */
130:            protected PropertyDescriptor[] propDescriptors;
131:
132:            /**
133:             * <p>Return the <code>BeanDescriptor</code> for this bean.</p>
134:             */
135:            public BeanDescriptor getBeanDescriptor() {
136:
137:                if (beanDescriptor != null) {
138:                    return beanDescriptor;
139:                }
140:
141:                beanDescriptor = new BeanDescriptor(beanClass);
142:                beanDescriptor.setDisplayName(resources
143:                        .getString("HelpInline_DisplayName"));
144:                beanDescriptor.setShortDescription(resources
145:                        .getString("HelpInline_Description"));
146:                beanDescriptor.setExpert(false);
147:                beanDescriptor.setHidden(false);
148:                beanDescriptor.setPreferred(false);
149:                beanDescriptor.setValue(
150:                        Constants.BeanDescriptor.FACET_DESCRIPTORS,
151:                        getFacetDescriptors());
152:                beanDescriptor.setValue(Constants.BeanDescriptor.HELP_KEY,
153:                        "projrave_ui_elements_palette_bh_inline_help");
154:                beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME,
155:                        "helpInline");
156:                beanDescriptor.setValue(Constants.BeanDescriptor.IS_CONTAINER,
157:                        Boolean.TRUE);
158:                beanDescriptor
159:                        .setValue(Constants.BeanDescriptor.PROPERTIES_HELP_KEY,
160:                                "projrave_ui_elements_palette_bh_propsheets_bh_inline_help_props");
161:                beanDescriptor.setValue(
162:                        Constants.BeanDescriptor.PROPERTY_CATEGORIES,
163:                        getCategoryDescriptors());
164:                beanDescriptor.setValue(Constants.BeanDescriptor.TAG_NAME,
165:                        "helpInline");
166:                beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_PREFIX,
167:                        "ui");
168:                beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_URI,
169:                        "http://www.sun.com/web/ui");
170:
171:                return beanDescriptor;
172:
173:            }
174:
175:            /**
176:             * <p>Return the <code>CategoryDescriptor</code> array for the property categories of this component.</p>
177:             */
178:            private CategoryDescriptor[] getCategoryDescriptors() {
179:
180:                return com.sun.rave.designtime.base.CategoryDescriptors
181:                        .getDefaultCategoryDescriptors();
182:
183:            }
184:
185:            /**
186:             * <p>Return the index of the default property, or
187:             * -1 if there is no default property.</p>
188:             */
189:            public int getDefaultPropertyIndex() {
190:
191:                if (defaultPropertyIndex > -2) {
192:                    return defaultPropertyIndex;
193:                } else {
194:                    if (defaultPropertyName == null) {
195:                        defaultPropertyIndex = -1;
196:                    } else {
197:                        PropertyDescriptor pd[] = getPropertyDescriptors();
198:                        for (int i = 0; i < pd.length; i++) {
199:                            if (defaultPropertyName.equals(pd[i].getName())) {
200:                                defaultPropertyIndex = i;
201:                                break;
202:                            }
203:                        }
204:                    }
205:                }
206:                return defaultPropertyIndex;
207:            }
208:
209:            /**
210:             * <p>The cached facet descriptors.</p>
211:             */
212:            protected FacetDescriptor[] facetDescriptors;
213:
214:            /**
215:             * <p>Return the <code>FacetDescriptor</code>s for this bean.</p>
216:             */
217:            public FacetDescriptor[] getFacetDescriptors() {
218:
219:                if (facetDescriptors != null) {
220:                    return facetDescriptors;
221:                }
222:                facetDescriptors = new FacetDescriptor[] {};
223:                return facetDescriptors;
224:
225:            }
226:
227:            /**
228:             * <p>Return the specified image (if any)
229:             * for this component class.</p>
230:             */
231:            public Image getIcon(int kind) {
232:
233:                String name;
234:                switch (kind) {
235:                case ICON_COLOR_16x16:
236:                    name = iconFileName_C16;
237:                    break;
238:                case ICON_COLOR_32x32:
239:                    name = iconFileName_C32;
240:                    break;
241:                case ICON_MONO_16x16:
242:                    name = iconFileName_M16;
243:                    break;
244:                case ICON_MONO_32x32:
245:                    name = iconFileName_M32;
246:                    break;
247:                default:
248:                    name = null;
249:                    break;
250:                }
251:                if (name == null) {
252:                    return null;
253:                }
254:
255:                Image image = loadImage(name + ".png");
256:                if (image == null) {
257:                    image = loadImage(name + ".gif");
258:                }
259:                return image;
260:
261:            }
262:
263:            /**
264:             * <p>Return a class loaded by name via the class loader that loaded this class.</p>
265:             */
266:            private java.lang.Class loadClass(java.lang.String name) {
267:
268:                try {
269:                    return Class.forName(name);
270:                } catch (ClassNotFoundException e) {
271:                    throw new RuntimeException(e);
272:                }
273:
274:            }
275:
276:            /**
277:             * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
278:             */
279:            public PropertyDescriptor[] getPropertyDescriptors() {
280:
281:                if (propDescriptors != null) {
282:                    return propDescriptors;
283:                }
284:                AttributeDescriptor attrib = null;
285:
286:                try {
287:
288:                    PropertyDescriptor prop_style = new PropertyDescriptor(
289:                            "style", beanClass, "getStyle", "setStyle");
290:                    prop_style.setDisplayName(resources
291:                            .getString("HelpInline_style_DisplayName"));
292:                    prop_style.setShortDescription(resources
293:                            .getString("HelpInline_style_Description"));
294:                    prop_style
295:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.css.CssStylePropertyEditor"));
296:                    prop_style.setExpert(false);
297:                    prop_style.setHidden(false);
298:                    prop_style.setPreferred(false);
299:                    attrib = new AttributeDescriptor("style", false, null, true);
300:                    prop_style.setValue(
301:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
302:                            attrib);
303:                    prop_style
304:                            .setValue(
305:                                    Constants.PropertyDescriptor.CATEGORY,
306:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
307:
308:                    PropertyDescriptor prop_styleClass = new PropertyDescriptor(
309:                            "styleClass", beanClass, "getStyleClass",
310:                            "setStyleClass");
311:                    prop_styleClass.setDisplayName(resources
312:                            .getString("HelpInline_styleClass_DisplayName"));
313:                    prop_styleClass.setShortDescription(resources
314:                            .getString("HelpInline_styleClass_Description"));
315:                    prop_styleClass
316:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
317:                    prop_styleClass.setExpert(false);
318:                    prop_styleClass.setHidden(false);
319:                    prop_styleClass.setPreferred(false);
320:                    attrib = new AttributeDescriptor("styleClass", false, null,
321:                            true);
322:                    prop_styleClass.setValue(
323:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
324:                            attrib);
325:                    prop_styleClass
326:                            .setValue(
327:                                    Constants.PropertyDescriptor.CATEGORY,
328:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
329:
330:                    PropertyDescriptor prop_text = new PropertyDescriptor(
331:                            "text", beanClass, "getText", "setText");
332:                    prop_text.setDisplayName(resources
333:                            .getString("HelpInline_text_DisplayName"));
334:                    prop_text.setShortDescription(resources
335:                            .getString("HelpInline_text_Description"));
336:                    prop_text
337:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
338:                    prop_text.setExpert(false);
339:                    prop_text.setHidden(false);
340:                    prop_text.setPreferred(false);
341:                    attrib = new AttributeDescriptor("text", false, null, true);
342:                    prop_text.setValue(
343:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
344:                            attrib);
345:                    prop_text
346:                            .setValue(
347:                                    Constants.PropertyDescriptor.CATEGORY,
348:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
349:
350:                    PropertyDescriptor prop_type = new PropertyDescriptor(
351:                            "type", beanClass, "getType", "setType");
352:                    prop_type.setDisplayName(resources
353:                            .getString("HelpInline_type_DisplayName"));
354:                    prop_type.setShortDescription(resources
355:                            .getString("HelpInline_type_Description"));
356:                    prop_type
357:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
358:                    prop_type.setExpert(false);
359:                    prop_type.setHidden(false);
360:                    prop_type.setPreferred(false);
361:                    attrib = new AttributeDescriptor("type", false, "\"page\"",
362:                            true);
363:                    prop_type.setValue(
364:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
365:                            attrib);
366:                    prop_type
367:                            .setValue(
368:                                    Constants.PropertyDescriptor.CATEGORY,
369:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
370:                    prop_type
371:                            .setValue(
372:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
373:                                    com.sun.rave.propertyeditors.domains.StringTokensDomain.class);
374:                    prop_type
375:                            .setValue(
376:                                    "com.sun.rave.propertyeditors.domains.TOKEN_STRING",
377:                                    "page,field");
378:
379:                    PropertyDescriptor prop_visible = new PropertyDescriptor(
380:                            "visible", beanClass, "isVisible", "setVisible");
381:                    prop_visible.setDisplayName(resources
382:                            .getString("HelpInline_visible_DisplayName"));
383:                    prop_visible.setShortDescription(resources
384:                            .getString("HelpInline_visible_Description"));
385:                    prop_visible.setExpert(false);
386:                    prop_visible.setHidden(false);
387:                    prop_visible.setPreferred(false);
388:                    attrib = new AttributeDescriptor("visible", false, "true",
389:                            true);
390:                    prop_visible.setValue(
391:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
392:                            attrib);
393:                    prop_visible
394:                            .setValue(
395:                                    Constants.PropertyDescriptor.CATEGORY,
396:                                    com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
397:
398:                    PropertyDescriptor prop_attributes = new PropertyDescriptor(
399:                            "attributes", beanClass, "getAttributes", null);
400:                    prop_attributes.setDisplayName(resources
401:                            .getString("HelpInline_attributes_DisplayName"));
402:                    prop_attributes.setShortDescription(resources
403:                            .getString("HelpInline_attributes_Description"));
404:                    prop_attributes.setExpert(false);
405:                    prop_attributes.setHidden(true);
406:                    prop_attributes.setPreferred(false);
407:                    prop_attributes
408:                            .setValue(
409:                                    Constants.PropertyDescriptor.CATEGORY,
410:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
411:
412:                    PropertyDescriptor prop_childCount = new PropertyDescriptor(
413:                            "childCount", beanClass, "getChildCount", null);
414:                    prop_childCount.setDisplayName(resources
415:                            .getString("HelpInline_childCount_DisplayName"));
416:                    prop_childCount.setShortDescription(resources
417:                            .getString("HelpInline_childCount_Description"));
418:                    prop_childCount.setExpert(false);
419:                    prop_childCount.setHidden(true);
420:                    prop_childCount.setPreferred(false);
421:                    prop_childCount
422:                            .setValue(
423:                                    Constants.PropertyDescriptor.CATEGORY,
424:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
425:
426:                    PropertyDescriptor prop_children = new PropertyDescriptor(
427:                            "children", beanClass, "getChildren", null);
428:                    prop_children.setDisplayName(resources
429:                            .getString("HelpInline_children_DisplayName"));
430:                    prop_children.setShortDescription(resources
431:                            .getString("HelpInline_children_Description"));
432:                    prop_children.setExpert(false);
433:                    prop_children.setHidden(true);
434:                    prop_children.setPreferred(false);
435:                    prop_children
436:                            .setValue(
437:                                    Constants.PropertyDescriptor.CATEGORY,
438:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
439:
440:                    PropertyDescriptor prop_converter = new PropertyDescriptor(
441:                            "converter", beanClass, "getConverter",
442:                            "setConverter");
443:                    prop_converter.setDisplayName(resources
444:                            .getString("HelpInline_converter_DisplayName"));
445:                    prop_converter.setShortDescription(resources
446:                            .getString("HelpInline_converter_Description"));
447:                    prop_converter
448:                            .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.JSF1_1ConverterPropertyEditor"));
449:                    prop_converter.setExpert(false);
450:                    prop_converter.setHidden(true);
451:                    prop_converter.setPreferred(false);
452:                    prop_converter
453:                            .setValue(
454:                                    Constants.PropertyDescriptor.CATEGORY,
455:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
456:
457:                    PropertyDescriptor prop_facets = new PropertyDescriptor(
458:                            "facets", beanClass, "getFacets", null);
459:                    prop_facets.setDisplayName(resources
460:                            .getString("HelpInline_facets_DisplayName"));
461:                    prop_facets.setShortDescription(resources
462:                            .getString("HelpInline_facets_Description"));
463:                    prop_facets.setExpert(false);
464:                    prop_facets.setHidden(true);
465:                    prop_facets.setPreferred(false);
466:                    prop_facets
467:                            .setValue(
468:                                    Constants.PropertyDescriptor.CATEGORY,
469:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
470:
471:                    PropertyDescriptor prop_family = new PropertyDescriptor(
472:                            "family", beanClass, "getFamily", null);
473:                    prop_family.setDisplayName(resources
474:                            .getString("HelpInline_family_DisplayName"));
475:                    prop_family.setShortDescription(resources
476:                            .getString("HelpInline_family_Description"));
477:                    prop_family.setExpert(false);
478:                    prop_family.setHidden(true);
479:                    prop_family.setPreferred(false);
480:                    prop_family
481:                            .setValue(
482:                                    Constants.PropertyDescriptor.CATEGORY,
483:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
484:
485:                    PropertyDescriptor prop_id = new PropertyDescriptor("id",
486:                            beanClass, "getId", "setId");
487:                    prop_id.setDisplayName(resources
488:                            .getString("HelpInline_id_DisplayName"));
489:                    prop_id.setShortDescription(resources
490:                            .getString("HelpInline_id_Description"));
491:                    prop_id.setExpert(false);
492:                    prop_id.setHidden(true);
493:                    prop_id.setPreferred(false);
494:                    attrib = new AttributeDescriptor("id", false, null, true);
495:                    prop_id.setValue(
496:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
497:                            attrib);
498:                    prop_id
499:                            .setValue(
500:                                    Constants.PropertyDescriptor.CATEGORY,
501:                                    com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
502:
503:                    PropertyDescriptor prop_localValue = new PropertyDescriptor(
504:                            "localValue", beanClass, "getLocalValue", null);
505:                    prop_localValue.setDisplayName(resources
506:                            .getString("HelpInline_localValue_DisplayName"));
507:                    prop_localValue.setShortDescription(resources
508:                            .getString("HelpInline_localValue_Description"));
509:                    prop_localValue.setExpert(false);
510:                    prop_localValue.setHidden(true);
511:                    prop_localValue.setPreferred(false);
512:                    prop_localValue
513:                            .setValue(
514:                                    Constants.PropertyDescriptor.CATEGORY,
515:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
516:
517:                    PropertyDescriptor prop_parent = new PropertyDescriptor(
518:                            "parent", beanClass, "getParent", null);
519:                    prop_parent.setDisplayName(resources
520:                            .getString("HelpInline_parent_DisplayName"));
521:                    prop_parent.setShortDescription(resources
522:                            .getString("HelpInline_parent_Description"));
523:                    prop_parent.setExpert(false);
524:                    prop_parent.setHidden(true);
525:                    prop_parent.setPreferred(false);
526:                    prop_parent
527:                            .setValue(
528:                                    Constants.PropertyDescriptor.CATEGORY,
529:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
530:
531:                    PropertyDescriptor prop_rendered = new PropertyDescriptor(
532:                            "rendered", beanClass, "isRendered", "setRendered");
533:                    prop_rendered.setDisplayName(resources
534:                            .getString("HelpInline_rendered_DisplayName"));
535:                    prop_rendered.setShortDescription(resources
536:                            .getString("HelpInline_rendered_Description"));
537:                    prop_rendered.setExpert(false);
538:                    prop_rendered.setHidden(false);
539:                    prop_rendered.setPreferred(false);
540:                    attrib = new AttributeDescriptor("rendered", false, null,
541:                            true);
542:                    prop_rendered.setValue(
543:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
544:                            attrib);
545:                    prop_rendered
546:                            .setValue(
547:                                    Constants.PropertyDescriptor.CATEGORY,
548:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
549:
550:                    PropertyDescriptor prop_rendererType = new PropertyDescriptor(
551:                            "rendererType", beanClass, "getRendererType",
552:                            "setRendererType");
553:                    prop_rendererType.setDisplayName(resources
554:                            .getString("HelpInline_rendererType_DisplayName"));
555:                    prop_rendererType.setShortDescription(resources
556:                            .getString("HelpInline_rendererType_Description"));
557:                    prop_rendererType.setExpert(false);
558:                    prop_rendererType.setHidden(true);
559:                    prop_rendererType.setPreferred(false);
560:                    prop_rendererType
561:                            .setValue(
562:                                    Constants.PropertyDescriptor.CATEGORY,
563:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
564:
565:                    PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
566:                            "rendersChildren", beanClass, "getRendersChildren",
567:                            null);
568:                    prop_rendersChildren
569:                            .setDisplayName(resources
570:                                    .getString("HelpInline_rendersChildren_DisplayName"));
571:                    prop_rendersChildren
572:                            .setShortDescription(resources
573:                                    .getString("HelpInline_rendersChildren_Description"));
574:                    prop_rendersChildren.setExpert(false);
575:                    prop_rendersChildren.setHidden(true);
576:                    prop_rendersChildren.setPreferred(false);
577:                    prop_rendersChildren
578:                            .setValue(
579:                                    Constants.PropertyDescriptor.CATEGORY,
580:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
581:
582:                    PropertyDescriptor prop_value = new PropertyDescriptor(
583:                            "value", beanClass, "getValue", "setValue");
584:                    prop_value.setDisplayName(resources
585:                            .getString("HelpInline_value_DisplayName"));
586:                    prop_value.setShortDescription(resources
587:                            .getString("HelpInline_value_Description"));
588:                    prop_value.setExpert(false);
589:                    prop_value.setHidden(true);
590:                    prop_value.setPreferred(false);
591:                    prop_value
592:                            .setValue(
593:                                    Constants.PropertyDescriptor.CATEGORY,
594:                                    com.sun.rave.designtime.base.CategoryDescriptors.DATA);
595:
596:                    propDescriptors = new PropertyDescriptor[] {
597:                            prop_attributes, prop_childCount, prop_children,
598:                            prop_converter, prop_facets, prop_family, prop_id,
599:                            prop_localValue, prop_parent, prop_rendered,
600:                            prop_rendererType, prop_rendersChildren,
601:                            prop_style, prop_styleClass, prop_text, prop_type,
602:                            prop_value, prop_visible, };
603:                    return propDescriptors;
604:
605:                } catch (IntrospectionException e) {
606:                    e.printStackTrace();
607:                    return null;
608:                }
609:
610:            }
611:
612:        }
613:        //GEN-END:BeanInfo
w__w__w_.__ja_v___a2__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.