Source Code Cross Referenced for HtmlPanelGridBeanInfoBase.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » faces » dt » component » html » 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.faces.dt.component.html 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003:         *
004:         * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005:         *
006:         * The contents of this file are subject to the terms of either the GNU
007:         * General Public License Version 2 only ("GPL") or the Common
008:         * Development and Distribution License("CDDL") (collectively, the
009:         * "License"). You may not use this file except in compliance with the
010:         * License. You can obtain a copy of the License at
011:         * http://www.netbeans.org/cddl-gplv2.html
012:         * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013:         * specific language governing permissions and limitations under the
014:         * License.  When distributing the software, include this License Header
015:         * Notice in each file and include the License file at
016:         * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
017:         * particular file as subject to the "Classpath" exception as provided
018:         * by Sun in the GPL Version 2 section of the License file that
019:         * accompanied this code. If applicable, add the following below the
020:         * License Header, with the fields enclosed by brackets [] replaced by
021:         * your own identifying information:
022:         * "Portions Copyrighted [year] [name of copyright owner]"
023:         *
024:         * Contributor(s):
025:         *
026:         * The Original Software is NetBeans. The Initial Developer of the Original
027:         * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028:         * Microsystems, Inc. All Rights Reserved.
029:         *
030:         * If you wish your version of this file to be governed by only the CDDL
031:         * or only the GPL Version 2, indicate your decision by adding
032:         * "[Contributor] elects to include this software in this distribution
033:         * under the [CDDL or GPL Version 2] license." If you do not indicate a
034:         * single choice of license, a recipient has the option to distribute
035:         * your version of this file under either the CDDL, the GPL Version 2 or
036:         * to extend the choice of license to its licensees as provided above.
037:         * However, if you add GPL Version 2 code and therefore, elected the GPL
038:         * Version 2 license, then the option applies only if the new code is
039:         * made subject to such option by the copyright holder.
040:         */
041:        package org.netbeans.modules.visualweb.faces.dt.component.html;
042:
043:        import java.beans.BeanDescriptor;
044:        import java.beans.IntrospectionException;
045:        import java.beans.PropertyDescriptor;
046:        import java.util.Locale;
047:        import java.util.ResourceBundle;
048:
049:        import com.sun.rave.designtime.CategoryDescriptor;
050:        import com.sun.rave.designtime.Constants;
051:        import com.sun.rave.designtime.faces.FacetDescriptor;
052:        import com.sun.rave.designtime.markup.AttributeDescriptor;
053:        import com.sun.rave.propertyeditors.DomainPropertyEditor;
054:        import com.sun.rave.propertyeditors.SelectOneDomainEditor;
055:        import com.sun.rave.propertyeditors.domains.TextDirectionDomain;
056:
057:        import org.netbeans.modules.visualweb.faces.dt.HtmlBeanInfoBase;
058:        import org.netbeans.modules.visualweb.faces.dt.BeanDescriptorBase;
059:        import org.netbeans.modules.visualweb.faces.dt.PropertyDescriptorBase;
060:
061:        abstract class HtmlPanelGridBeanInfoBase extends HtmlBeanInfoBase {
062:
063:            protected static ResourceBundle resources = ResourceBundle
064:                    .getBundle(
065:                            "org.netbeans.modules.visualweb.faces.dt.component.html.Bundle-JSF-base",
066:                            Locale.getDefault(),
067:                            HtmlPanelGridBeanInfoBase.class.getClassLoader());
068:
069:            /**
070:             * <p>Construct a new <code>HtmlPanelGridBeanInfoBase</code>.</p>
071:             */
072:            public HtmlPanelGridBeanInfoBase() {
073:
074:                beanClass = javax.faces.component.html.HtmlPanelGrid.class;
075:                iconFileName_C16 = "/org/netbeans/modules/visualweb/faces/dt/component/html/HtmlPanelGrid_C16";
076:                iconFileName_C32 = "/org/netbeans/modules/visualweb/faces/dt/component/html/HtmlPanelGrid_C32";
077:                iconFileName_M16 = "/org/netbeans/modules/visualweb/faces/dt/component/html/HtmlPanelGrid_M16";
078:                iconFileName_M32 = "/org/netbeans/modules/visualweb/faces/dt/component/html/HtmlPanelGrid_M32";
079:
080:            }
081:
082:            private BeanDescriptor beanDescriptor;
083:
084:            /**
085:             * <p>Return the <code>BeanDescriptor</code> for this bean.</p>
086:             */
087:            public BeanDescriptor getBeanDescriptor() {
088:
089:                if (beanDescriptor != null) {
090:                    return beanDescriptor;
091:                }
092:
093:                beanDescriptor = new BeanDescriptorBase(beanClass);
094:                beanDescriptor.setDisplayName(resources
095:                        .getString("HtmlPanelGrid_DisplayName"));
096:                beanDescriptor.setShortDescription(resources
097:                        .getString("HtmlPanelGrid_Description"));
098:                beanDescriptor.setExpert(false);
099:                beanDescriptor.setHidden(false);
100:                beanDescriptor.setPreferred(false);
101:                beanDescriptor.setValue(
102:                        Constants.BeanDescriptor.FACET_DESCRIPTORS,
103:                        getFacetDescriptors());
104:                beanDescriptor.setValue(Constants.BeanDescriptor.HELP_KEY,
105:                        "projrave_ui_elements_palette_jsfstd_grid_panel");
106:                beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME,
107:                        "gridPanel");
108:                beanDescriptor.setValue(Constants.BeanDescriptor.IS_CONTAINER,
109:                        Boolean.TRUE);
110:                beanDescriptor
111:                        .setValue(Constants.BeanDescriptor.PROPERTIES_HELP_KEY,
112:                                "projrave_ui_elements_propsheets_jsfstd_grid_panel_props");
113:                beanDescriptor.setValue(
114:                        Constants.BeanDescriptor.PROPERTY_CATEGORIES,
115:                        getCategoryDescriptors());
116:                beanDescriptor.setValue(Constants.BeanDescriptor.TAG_NAME,
117:                        "panelGrid");
118:                beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_PREFIX,
119:                        "h");
120:                beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_URI,
121:                        "http://java.sun.com/jsf/html");
122:                return beanDescriptor;
123:
124:            }
125:
126:            /**
127:             * <p>Return the <code>CategoryDescriptor</code> array for the property categories of this component.</p>
128:             */
129:            private CategoryDescriptor[] getCategoryDescriptors() {
130:
131:                return com.sun.rave.designtime.base.CategoryDescriptors
132:                        .getDefaultCategoryDescriptors();
133:
134:            }
135:
136:            /**
137:             * <p>The cached facet descriptors.</p>
138:             */
139:            protected FacetDescriptor[] facetDescriptors;
140:
141:            /**
142:             * <p>Return the <code>FacetDescriptor</code>s for this bean.</p>
143:             */
144:            public FacetDescriptor[] getFacetDescriptors() {
145:
146:                if (facetDescriptors != null) {
147:                    return facetDescriptors;
148:                }
149:                try {
150:
151:                    FacetDescriptor facet_footer = new FacetDescriptor("footer");
152:                    facet_footer.setDisplayName(resources
153:                            .getString("HtmlPanelGrid_footer_DisplayName"));
154:                    facet_footer.setShortDescription(resources
155:                            .getString("HtmlPanelGrid_footer_Description"));
156:
157:                    FacetDescriptor facet_header = new FacetDescriptor("header");
158:                    facet_header.setDisplayName(resources
159:                            .getString("HtmlPanelGrid_header_DisplayName"));
160:                    facet_header.setShortDescription(resources
161:                            .getString("HtmlPanelGrid_header_Description"));
162:
163:                    facetDescriptors = new FacetDescriptor[] { facet_footer,
164:                            facet_header, };
165:                    return facetDescriptors;
166:
167:                } catch (RuntimeException e) {
168:                    System.out.println(e.getMessage());
169:                    e.printStackTrace(System.out);
170:                    throw e;
171:                }
172:
173:            }
174:
175:            private PropertyDescriptor[] propDescriptors;
176:
177:            /**
178:             * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
179:             */
180:            public PropertyDescriptor[] getPropertyDescriptors() {
181:
182:                if (propDescriptors != null) {
183:                    return propDescriptors;
184:                }
185:                AttributeDescriptor attrib = null;
186:
187:                try {
188:
189:                    PropertyDescriptor prop_attributes = new PropertyDescriptorBase(
190:                            "attributes", beanClass, "getAttributes", null);
191:                    prop_attributes.setDisplayName(resources
192:                            .getString("HtmlPanelGrid_attributes_DisplayName"));
193:                    prop_attributes.setShortDescription(resources
194:                            .getString("HtmlPanelGrid_attributes_Description"));
195:                    prop_attributes.setExpert(false);
196:                    prop_attributes.setHidden(true);
197:                    prop_attributes.setPreferred(false);
198:                    prop_attributes
199:                            .setValue(
200:                                    Constants.PropertyDescriptor.CATEGORY,
201:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
202:
203:                    PropertyDescriptor prop_bgcolor = new PropertyDescriptorBase(
204:                            "bgcolor", beanClass, "getBgcolor", "setBgcolor");
205:                    prop_bgcolor.setDisplayName(resources
206:                            .getString("HtmlPanelGrid_bgcolor_DisplayName"));
207:                    prop_bgcolor.setShortDescription(resources
208:                            .getString("HtmlPanelGrid_bgcolor_Description"));
209:                    prop_bgcolor.setExpert(false);
210:                    prop_bgcolor.setHidden(false);
211:                    prop_bgcolor.setPreferred(false);
212:                    attrib = new AttributeDescriptor("bgcolor", false, null,
213:                            true);
214:                    prop_bgcolor.setValue(
215:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
216:                            attrib);
217:                    prop_bgcolor
218:                            .setValue(
219:                                    Constants.PropertyDescriptor.CATEGORY,
220:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
221:
222:                    PropertyDescriptor prop_border = new PropertyDescriptorBase(
223:                            "border", beanClass, "getBorder", "setBorder");
224:                    prop_border.setDisplayName(resources
225:                            .getString("HtmlPanelGrid_border_DisplayName"));
226:                    prop_border.setShortDescription(resources
227:                            .getString("HtmlPanelGrid_border_Description"));
228:                    prop_border
229:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
230:                    prop_border.setExpert(false);
231:                    prop_border.setHidden(false);
232:                    prop_border.setPreferred(false);
233:                    attrib = new AttributeDescriptor("border", false, null,
234:                            true);
235:                    prop_border.setValue(
236:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
237:                            attrib);
238:                    prop_border
239:                            .setValue(
240:                                    Constants.PropertyDescriptor.CATEGORY,
241:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
242:                    prop_border.setValue(
243:                            "com.sun.rave.propertyeditors.MIN_VALUE", "0");
244:
245:                    PropertyDescriptor prop_cellpadding = new PropertyDescriptorBase(
246:                            "cellpadding", beanClass, "getCellpadding",
247:                            "setCellpadding");
248:                    prop_cellpadding
249:                            .setDisplayName(resources
250:                                    .getString("HtmlPanelGrid_cellpadding_DisplayName"));
251:                    prop_cellpadding
252:                            .setShortDescription(resources
253:                                    .getString("HtmlPanelGrid_cellpadding_Description"));
254:                    prop_cellpadding
255:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.LengthPropertyEditor"));
256:                    prop_cellpadding.setExpert(false);
257:                    prop_cellpadding.setHidden(false);
258:                    prop_cellpadding.setPreferred(false);
259:                    attrib = new AttributeDescriptor("cellpadding", false,
260:                            null, true);
261:                    prop_cellpadding.setValue(
262:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
263:                            attrib);
264:                    prop_cellpadding
265:                            .setValue(
266:                                    Constants.PropertyDescriptor.CATEGORY,
267:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
268:
269:                    PropertyDescriptor prop_cellspacing = new PropertyDescriptorBase(
270:                            "cellspacing", beanClass, "getCellspacing",
271:                            "setCellspacing");
272:                    prop_cellspacing
273:                            .setDisplayName(resources
274:                                    .getString("HtmlPanelGrid_cellspacing_DisplayName"));
275:                    prop_cellspacing
276:                            .setShortDescription(resources
277:                                    .getString("HtmlPanelGrid_cellspacing_Description"));
278:                    prop_cellspacing
279:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.LengthPropertyEditor"));
280:                    prop_cellspacing.setExpert(false);
281:                    prop_cellspacing.setHidden(false);
282:                    prop_cellspacing.setPreferred(false);
283:                    attrib = new AttributeDescriptor("cellspacing", false,
284:                            null, true);
285:                    prop_cellspacing.setValue(
286:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
287:                            attrib);
288:                    prop_cellspacing
289:                            .setValue(
290:                                    Constants.PropertyDescriptor.CATEGORY,
291:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
292:
293:                    PropertyDescriptor prop_childCount = new PropertyDescriptorBase(
294:                            "childCount", beanClass, "getChildCount", null);
295:                    prop_childCount.setDisplayName(resources
296:                            .getString("HtmlPanelGrid_childCount_DisplayName"));
297:                    prop_childCount.setShortDescription(resources
298:                            .getString("HtmlPanelGrid_childCount_Description"));
299:                    prop_childCount.setExpert(false);
300:                    prop_childCount.setHidden(true);
301:                    prop_childCount.setPreferred(false);
302:                    prop_childCount
303:                            .setValue(
304:                                    Constants.PropertyDescriptor.CATEGORY,
305:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
306:
307:                    PropertyDescriptor prop_children = new PropertyDescriptorBase(
308:                            "children", beanClass, "getChildren", null);
309:                    prop_children.setDisplayName(resources
310:                            .getString("HtmlPanelGrid_children_DisplayName"));
311:                    prop_children.setShortDescription(resources
312:                            .getString("HtmlPanelGrid_children_Description"));
313:                    prop_children.setExpert(false);
314:                    prop_children.setHidden(true);
315:                    prop_children.setPreferred(false);
316:                    prop_children
317:                            .setValue(
318:                                    Constants.PropertyDescriptor.CATEGORY,
319:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
320:
321:                    PropertyDescriptor prop_columnClasses = new PropertyDescriptorBase(
322:                            "columnClasses", beanClass, "getColumnClasses",
323:                            "setColumnClasses");
324:                    prop_columnClasses
325:                            .setDisplayName(resources
326:                                    .getString("HtmlPanelGrid_columnClasses_DisplayName"));
327:                    prop_columnClasses
328:                            .setShortDescription(resources
329:                                    .getString("HtmlPanelGrid_columnClasses_Description"));
330:                    prop_columnClasses
331:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
332:                    prop_columnClasses.setExpert(false);
333:                    prop_columnClasses.setHidden(false);
334:                    prop_columnClasses.setPreferred(false);
335:                    attrib = new AttributeDescriptor("columnClasses", false,
336:                            null, true);
337:                    prop_columnClasses.setValue(
338:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
339:                            attrib);
340:                    prop_columnClasses
341:                            .setValue(
342:                                    Constants.PropertyDescriptor.CATEGORY,
343:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
344:
345:                    PropertyDescriptor prop_columns = new PropertyDescriptorBase(
346:                            "columns", beanClass, "getColumns", "setColumns");
347:                    prop_columns.setDisplayName(resources
348:                            .getString("HtmlPanelGrid_columns_DisplayName"));
349:                    prop_columns.setShortDescription(resources
350:                            .getString("HtmlPanelGrid_columns_Description"));
351:                    prop_columns
352:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
353:                    prop_columns.setExpert(false);
354:                    prop_columns.setHidden(false);
355:                    prop_columns.setPreferred(false);
356:                    attrib = new AttributeDescriptor("columns", false, null,
357:                            true);
358:                    prop_columns.setValue(
359:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
360:                            attrib);
361:                    prop_columns
362:                            .setValue(
363:                                    Constants.PropertyDescriptor.CATEGORY,
364:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
365:                    prop_columns.setValue("minValue", new Integer(0));
366:                    prop_columns.setValue("unsetValue", new Integer(
367:                            Integer.MIN_VALUE));
368:
369:                    PropertyDescriptor prop_dir = new PropertyDescriptorBase(
370:                            "dir", beanClass, "getDir", "setDir");
371:                    prop_dir.setDisplayName(resources
372:                            .getString("HtmlPanelGrid_dir_DisplayName"));
373:                    prop_dir.setShortDescription(resources
374:                            .getString("HtmlPanelGrid_dir_Description"));
375:                    prop_dir
376:                            .setPropertyEditorClass(SelectOneDomainEditor.class);
377:                    prop_dir.setExpert(false);
378:                    prop_dir.setHidden(false);
379:                    prop_dir.setPreferred(false);
380:                    attrib = new AttributeDescriptor("dir", false, null, true);
381:                    prop_dir.setValue(
382:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
383:                            attrib);
384:                    prop_dir
385:                            .setValue(
386:                                    Constants.PropertyDescriptor.CATEGORY,
387:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
388:                    prop_dir.setValue(DomainPropertyEditor.DOMAIN_CLASS,
389:                            TextDirectionDomain.class);
390:
391:                    PropertyDescriptor prop_facets = new PropertyDescriptorBase(
392:                            "facets", beanClass, "getFacets", null);
393:                    prop_facets.setDisplayName(resources
394:                            .getString("HtmlPanelGrid_facets_DisplayName"));
395:                    prop_facets.setShortDescription(resources
396:                            .getString("HtmlPanelGrid_facets_Description"));
397:                    prop_facets.setExpert(false);
398:                    prop_facets.setHidden(true);
399:                    prop_facets.setPreferred(false);
400:                    prop_facets
401:                            .setValue(
402:                                    Constants.PropertyDescriptor.CATEGORY,
403:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
404:
405:                    PropertyDescriptor prop_family = new PropertyDescriptorBase(
406:                            "family", beanClass, "getFamily", null);
407:                    prop_family.setDisplayName(resources
408:                            .getString("HtmlPanelGrid_family_DisplayName"));
409:                    prop_family.setShortDescription(resources
410:                            .getString("HtmlPanelGrid_family_Description"));
411:                    prop_family.setExpert(false);
412:                    prop_family.setHidden(true);
413:                    prop_family.setPreferred(false);
414:                    prop_family
415:                            .setValue(
416:                                    Constants.PropertyDescriptor.CATEGORY,
417:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
418:
419:                    PropertyDescriptor prop_footerClass = new PropertyDescriptorBase(
420:                            "footerClass", beanClass, "getFooterClass",
421:                            "setFooterClass");
422:                    prop_footerClass
423:                            .setDisplayName(resources
424:                                    .getString("HtmlPanelGrid_footerClass_DisplayName"));
425:                    prop_footerClass
426:                            .setShortDescription(resources
427:                                    .getString("HtmlPanelGrid_footerClass_Description"));
428:                    prop_footerClass
429:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
430:                    prop_footerClass.setExpert(false);
431:                    prop_footerClass.setHidden(false);
432:                    prop_footerClass.setPreferred(false);
433:                    attrib = new AttributeDescriptor("footerClass", false,
434:                            null, true);
435:                    prop_footerClass.setValue(
436:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
437:                            attrib);
438:                    prop_footerClass
439:                            .setValue(
440:                                    Constants.PropertyDescriptor.CATEGORY,
441:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
442:
443:                    PropertyDescriptor prop_frame = new PropertyDescriptorBase(
444:                            "frame", beanClass, "getFrame", "setFrame");
445:                    prop_frame.setDisplayName(resources
446:                            .getString("HtmlPanelGrid_frame_DisplayName"));
447:                    prop_frame.setShortDescription(resources
448:                            .getString("HtmlPanelGrid_frame_Description"));
449:                    prop_frame
450:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
451:                    prop_frame.setExpert(false);
452:                    prop_frame.setHidden(false);
453:                    prop_frame.setPreferred(false);
454:                    attrib = new AttributeDescriptor("frame", false, null, true);
455:                    prop_frame.setValue(
456:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
457:                            attrib);
458:                    prop_frame
459:                            .setValue(
460:                                    Constants.PropertyDescriptor.CATEGORY,
461:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
462:                    prop_frame
463:                            .setValue(
464:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
465:                                    com.sun.rave.propertyeditors.domains.HtmlTableBordersDomain.class);
466:
467:                    PropertyDescriptor prop_headerClass = new PropertyDescriptorBase(
468:                            "headerClass", beanClass, "getHeaderClass",
469:                            "setHeaderClass");
470:                    prop_headerClass
471:                            .setDisplayName(resources
472:                                    .getString("HtmlPanelGrid_headerClass_DisplayName"));
473:                    prop_headerClass
474:                            .setShortDescription(resources
475:                                    .getString("HtmlPanelGrid_headerClass_Description"));
476:                    prop_headerClass
477:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
478:                    prop_headerClass.setExpert(false);
479:                    prop_headerClass.setHidden(false);
480:                    prop_headerClass.setPreferred(false);
481:                    attrib = new AttributeDescriptor("headerClass", false,
482:                            null, true);
483:                    prop_headerClass.setValue(
484:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
485:                            attrib);
486:                    prop_headerClass
487:                            .setValue(
488:                                    Constants.PropertyDescriptor.CATEGORY,
489:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
490:
491:                    PropertyDescriptor prop_id = new PropertyDescriptorBase(
492:                            "id", beanClass, "getId", "setId");
493:                    prop_id.setDisplayName(resources
494:                            .getString("HtmlPanelGrid_id_DisplayName"));
495:                    prop_id.setShortDescription(resources
496:                            .getString("HtmlPanelGrid_id_Description"));
497:                    prop_id.setExpert(false);
498:                    prop_id.setHidden(true);
499:                    prop_id.setPreferred(false);
500:                    attrib = new AttributeDescriptor("id", false, null, true);
501:                    prop_id.setValue(
502:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
503:                            attrib);
504:                    prop_id
505:                            .setValue(
506:                                    Constants.PropertyDescriptor.CATEGORY,
507:                                    com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
508:
509:                    PropertyDescriptor prop_lang = new PropertyDescriptorBase(
510:                            "lang", beanClass, "getLang", "setLang");
511:                    prop_lang.setDisplayName(resources
512:                            .getString("HtmlPanelGrid_lang_DisplayName"));
513:                    prop_lang.setShortDescription(resources
514:                            .getString("HtmlPanelGrid_lang_Description"));
515:                    prop_lang
516:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
517:                    prop_lang.setExpert(false);
518:                    prop_lang.setHidden(false);
519:                    prop_lang.setPreferred(false);
520:                    attrib = new AttributeDescriptor("lang", false, null, true);
521:                    prop_lang.setValue(
522:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
523:                            attrib);
524:                    prop_lang
525:                            .setValue(
526:                                    Constants.PropertyDescriptor.CATEGORY,
527:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
528:                    prop_lang
529:                            .setValue(
530:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
531:                                    com.sun.rave.propertyeditors.domains.LanguagesDomain.class);
532:
533:                    PropertyDescriptor prop_onclick = new PropertyDescriptorBase(
534:                            "onclick", beanClass, "getOnclick", "setOnclick");
535:                    prop_onclick.setDisplayName(resources
536:                            .getString("HtmlPanelGrid_onclick_DisplayName"));
537:                    prop_onclick.setShortDescription(resources
538:                            .getString("HtmlPanelGrid_onclick_Description"));
539:                    prop_onclick
540:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
541:                    prop_onclick.setExpert(false);
542:                    prop_onclick.setHidden(false);
543:                    prop_onclick.setPreferred(false);
544:                    attrib = new AttributeDescriptor("onclick", false, null,
545:                            true);
546:                    prop_onclick.setValue(
547:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
548:                            attrib);
549:                    prop_onclick
550:                            .setValue(
551:                                    Constants.PropertyDescriptor.CATEGORY,
552:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
553:
554:                    PropertyDescriptor prop_ondblclick = new PropertyDescriptorBase(
555:                            "ondblclick", beanClass, "getOndblclick",
556:                            "setOndblclick");
557:                    prop_ondblclick.setDisplayName(resources
558:                            .getString("HtmlPanelGrid_ondblclick_DisplayName"));
559:                    prop_ondblclick.setShortDescription(resources
560:                            .getString("HtmlPanelGrid_ondblclick_Description"));
561:                    prop_ondblclick
562:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
563:                    prop_ondblclick.setExpert(false);
564:                    prop_ondblclick.setHidden(false);
565:                    prop_ondblclick.setPreferred(false);
566:                    attrib = new AttributeDescriptor("ondblclick", false, null,
567:                            true);
568:                    prop_ondblclick.setValue(
569:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
570:                            attrib);
571:                    prop_ondblclick
572:                            .setValue(
573:                                    Constants.PropertyDescriptor.CATEGORY,
574:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
575:
576:                    PropertyDescriptor prop_onkeydown = new PropertyDescriptorBase(
577:                            "onkeydown", beanClass, "getOnkeydown",
578:                            "setOnkeydown");
579:                    prop_onkeydown.setDisplayName(resources
580:                            .getString("HtmlPanelGrid_onkeydown_DisplayName"));
581:                    prop_onkeydown.setShortDescription(resources
582:                            .getString("HtmlPanelGrid_onkeydown_Description"));
583:                    prop_onkeydown
584:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
585:                    prop_onkeydown.setExpert(false);
586:                    prop_onkeydown.setHidden(false);
587:                    prop_onkeydown.setPreferred(false);
588:                    attrib = new AttributeDescriptor("onkeydown", false, null,
589:                            true);
590:                    prop_onkeydown.setValue(
591:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
592:                            attrib);
593:                    prop_onkeydown
594:                            .setValue(
595:                                    Constants.PropertyDescriptor.CATEGORY,
596:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
597:
598:                    PropertyDescriptor prop_onkeypress = new PropertyDescriptorBase(
599:                            "onkeypress", beanClass, "getOnkeypress",
600:                            "setOnkeypress");
601:                    prop_onkeypress.setDisplayName(resources
602:                            .getString("HtmlPanelGrid_onkeypress_DisplayName"));
603:                    prop_onkeypress.setShortDescription(resources
604:                            .getString("HtmlPanelGrid_onkeypress_Description"));
605:                    prop_onkeypress
606:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
607:                    prop_onkeypress.setExpert(false);
608:                    prop_onkeypress.setHidden(false);
609:                    prop_onkeypress.setPreferred(false);
610:                    attrib = new AttributeDescriptor("onkeypress", false, null,
611:                            true);
612:                    prop_onkeypress.setValue(
613:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
614:                            attrib);
615:                    prop_onkeypress
616:                            .setValue(
617:                                    Constants.PropertyDescriptor.CATEGORY,
618:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
619:
620:                    PropertyDescriptor prop_onkeyup = new PropertyDescriptorBase(
621:                            "onkeyup", beanClass, "getOnkeyup", "setOnkeyup");
622:                    prop_onkeyup.setDisplayName(resources
623:                            .getString("HtmlPanelGrid_onkeyup_DisplayName"));
624:                    prop_onkeyup.setShortDescription(resources
625:                            .getString("HtmlPanelGrid_onkeyup_Description"));
626:                    prop_onkeyup
627:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
628:                    prop_onkeyup.setExpert(false);
629:                    prop_onkeyup.setHidden(false);
630:                    prop_onkeyup.setPreferred(false);
631:                    attrib = new AttributeDescriptor("onkeyup", false, null,
632:                            true);
633:                    prop_onkeyup.setValue(
634:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
635:                            attrib);
636:                    prop_onkeyup
637:                            .setValue(
638:                                    Constants.PropertyDescriptor.CATEGORY,
639:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
640:
641:                    PropertyDescriptor prop_onmousedown = new PropertyDescriptorBase(
642:                            "onmousedown", beanClass, "getOnmousedown",
643:                            "setOnmousedown");
644:                    prop_onmousedown
645:                            .setDisplayName(resources
646:                                    .getString("HtmlPanelGrid_onmousedown_DisplayName"));
647:                    prop_onmousedown
648:                            .setShortDescription(resources
649:                                    .getString("HtmlPanelGrid_onmousedown_Description"));
650:                    prop_onmousedown
651:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
652:                    prop_onmousedown.setExpert(false);
653:                    prop_onmousedown.setHidden(false);
654:                    prop_onmousedown.setPreferred(false);
655:                    attrib = new AttributeDescriptor("onmousedown", false,
656:                            null, true);
657:                    prop_onmousedown.setValue(
658:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
659:                            attrib);
660:                    prop_onmousedown
661:                            .setValue(
662:                                    Constants.PropertyDescriptor.CATEGORY,
663:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
664:
665:                    PropertyDescriptor prop_onmousemove = new PropertyDescriptorBase(
666:                            "onmousemove", beanClass, "getOnmousemove",
667:                            "setOnmousemove");
668:                    prop_onmousemove
669:                            .setDisplayName(resources
670:                                    .getString("HtmlPanelGrid_onmousemove_DisplayName"));
671:                    prop_onmousemove
672:                            .setShortDescription(resources
673:                                    .getString("HtmlPanelGrid_onmousemove_Description"));
674:                    prop_onmousemove
675:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
676:                    prop_onmousemove.setExpert(false);
677:                    prop_onmousemove.setHidden(false);
678:                    prop_onmousemove.setPreferred(false);
679:                    attrib = new AttributeDescriptor("onmousemove", false,
680:                            null, true);
681:                    prop_onmousemove.setValue(
682:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
683:                            attrib);
684:                    prop_onmousemove
685:                            .setValue(
686:                                    Constants.PropertyDescriptor.CATEGORY,
687:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
688:
689:                    PropertyDescriptor prop_onmouseout = new PropertyDescriptorBase(
690:                            "onmouseout", beanClass, "getOnmouseout",
691:                            "setOnmouseout");
692:                    prop_onmouseout.setDisplayName(resources
693:                            .getString("HtmlPanelGrid_onmouseout_DisplayName"));
694:                    prop_onmouseout.setShortDescription(resources
695:                            .getString("HtmlPanelGrid_onmouseout_Description"));
696:                    prop_onmouseout
697:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
698:                    prop_onmouseout.setExpert(false);
699:                    prop_onmouseout.setHidden(false);
700:                    prop_onmouseout.setPreferred(false);
701:                    attrib = new AttributeDescriptor("onmouseout", false, null,
702:                            true);
703:                    prop_onmouseout.setValue(
704:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
705:                            attrib);
706:                    prop_onmouseout
707:                            .setValue(
708:                                    Constants.PropertyDescriptor.CATEGORY,
709:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
710:
711:                    PropertyDescriptor prop_onmouseover = new PropertyDescriptorBase(
712:                            "onmouseover", beanClass, "getOnmouseover",
713:                            "setOnmouseover");
714:                    prop_onmouseover
715:                            .setDisplayName(resources
716:                                    .getString("HtmlPanelGrid_onmouseover_DisplayName"));
717:                    prop_onmouseover
718:                            .setShortDescription(resources
719:                                    .getString("HtmlPanelGrid_onmouseover_Description"));
720:                    prop_onmouseover
721:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
722:                    prop_onmouseover.setExpert(false);
723:                    prop_onmouseover.setHidden(false);
724:                    prop_onmouseover.setPreferred(false);
725:                    attrib = new AttributeDescriptor("onmouseover", false,
726:                            null, true);
727:                    prop_onmouseover.setValue(
728:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
729:                            attrib);
730:                    prop_onmouseover
731:                            .setValue(
732:                                    Constants.PropertyDescriptor.CATEGORY,
733:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
734:
735:                    PropertyDescriptor prop_onmouseup = new PropertyDescriptorBase(
736:                            "onmouseup", beanClass, "getOnmouseup",
737:                            "setOnmouseup");
738:                    prop_onmouseup.setDisplayName(resources
739:                            .getString("HtmlPanelGrid_onmouseup_DisplayName"));
740:                    prop_onmouseup.setShortDescription(resources
741:                            .getString("HtmlPanelGrid_onmouseup_Description"));
742:                    prop_onmouseup
743:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
744:                    prop_onmouseup.setExpert(false);
745:                    prop_onmouseup.setHidden(false);
746:                    prop_onmouseup.setPreferred(false);
747:                    attrib = new AttributeDescriptor("onmouseup", false, null,
748:                            true);
749:                    prop_onmouseup.setValue(
750:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
751:                            attrib);
752:                    prop_onmouseup
753:                            .setValue(
754:                                    Constants.PropertyDescriptor.CATEGORY,
755:                                    com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
756:
757:                    PropertyDescriptor prop_parent = new PropertyDescriptorBase(
758:                            "parent", beanClass, "getParent", null);
759:                    prop_parent.setDisplayName(resources
760:                            .getString("HtmlPanelGrid_parent_DisplayName"));
761:                    prop_parent.setShortDescription(resources
762:                            .getString("HtmlPanelGrid_parent_Description"));
763:                    prop_parent.setExpert(false);
764:                    prop_parent.setHidden(true);
765:                    prop_parent.setPreferred(false);
766:                    prop_parent
767:                            .setValue(
768:                                    Constants.PropertyDescriptor.CATEGORY,
769:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
770:
771:                    PropertyDescriptor prop_rendered = new PropertyDescriptorBase(
772:                            "rendered", beanClass, "isRendered", "setRendered");
773:                    prop_rendered.setDisplayName(resources
774:                            .getString("HtmlPanelGrid_rendered_DisplayName"));
775:                    prop_rendered.setShortDescription(resources
776:                            .getString("HtmlPanelGrid_rendered_Description"));
777:                    prop_rendered.setExpert(false);
778:                    prop_rendered.setHidden(false);
779:                    prop_rendered.setPreferred(false);
780:                    attrib = new AttributeDescriptor("rendered", false, null,
781:                            true);
782:                    prop_rendered.setValue(
783:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
784:                            attrib);
785:                    prop_rendered
786:                            .setValue(
787:                                    Constants.PropertyDescriptor.CATEGORY,
788:                                    com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
789:
790:                    PropertyDescriptor prop_rendererType = new PropertyDescriptorBase(
791:                            "rendererType", beanClass, "getRendererType",
792:                            "setRendererType");
793:                    prop_rendererType
794:                            .setDisplayName(resources
795:                                    .getString("HtmlPanelGrid_rendererType_DisplayName"));
796:                    prop_rendererType
797:                            .setShortDescription(resources
798:                                    .getString("HtmlPanelGrid_rendererType_Description"));
799:                    prop_rendererType.setExpert(false);
800:                    prop_rendererType.setHidden(true);
801:                    prop_rendererType.setPreferred(false);
802:                    prop_rendererType
803:                            .setValue(
804:                                    Constants.PropertyDescriptor.CATEGORY,
805:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
806:
807:                    PropertyDescriptor prop_rendersChildren = new PropertyDescriptorBase(
808:                            "rendersChildren", beanClass, "getRendersChildren",
809:                            null);
810:                    prop_rendersChildren
811:                            .setDisplayName(resources
812:                                    .getString("HtmlPanelGrid_rendersChildren_DisplayName"));
813:                    prop_rendersChildren
814:                            .setShortDescription(resources
815:                                    .getString("HtmlPanelGrid_rendersChildren_Description"));
816:                    prop_rendersChildren.setExpert(false);
817:                    prop_rendersChildren.setHidden(true);
818:                    prop_rendersChildren.setPreferred(false);
819:                    prop_rendersChildren
820:                            .setValue(
821:                                    Constants.PropertyDescriptor.CATEGORY,
822:                                    com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
823:
824:                    PropertyDescriptor prop_rowClasses = new PropertyDescriptorBase(
825:                            "rowClasses", beanClass, "getRowClasses",
826:                            "setRowClasses");
827:                    prop_rowClasses.setDisplayName(resources
828:                            .getString("HtmlPanelGrid_rowClasses_DisplayName"));
829:                    prop_rowClasses.setShortDescription(resources
830:                            .getString("HtmlPanelGrid_rowClasses_Description"));
831:                    prop_rowClasses
832:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
833:                    prop_rowClasses.setExpert(false);
834:                    prop_rowClasses.setHidden(false);
835:                    prop_rowClasses.setPreferred(false);
836:                    attrib = new AttributeDescriptor("rowClasses", false, null,
837:                            true);
838:                    prop_rowClasses.setValue(
839:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
840:                            attrib);
841:                    prop_rowClasses
842:                            .setValue(
843:                                    Constants.PropertyDescriptor.CATEGORY,
844:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
845:
846:                    PropertyDescriptor prop_rules = new PropertyDescriptorBase(
847:                            "rules", beanClass, "getRules", "setRules");
848:                    prop_rules.setDisplayName(resources
849:                            .getString("HtmlPanelGrid_rules_DisplayName"));
850:                    prop_rules.setShortDescription(resources
851:                            .getString("HtmlPanelGrid_rules_Description"));
852:                    prop_rules
853:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
854:                    prop_rules.setExpert(false);
855:                    prop_rules.setHidden(false);
856:                    prop_rules.setPreferred(false);
857:                    attrib = new AttributeDescriptor("rules", false, null, true);
858:                    prop_rules.setValue(
859:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
860:                            attrib);
861:                    prop_rules
862:                            .setValue(
863:                                    Constants.PropertyDescriptor.CATEGORY,
864:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
865:                    prop_rules
866:                            .setValue(
867:                                    "com.sun.rave.propertyeditors.DOMAIN_CLASS",
868:                                    com.sun.rave.propertyeditors.domains.HtmlTableRulesDomain.class);
869:
870:                    PropertyDescriptor prop_style = new PropertyDescriptorBase(
871:                            "style", beanClass, "getStyle", "setStyle");
872:                    prop_style.setDisplayName(resources
873:                            .getString("HtmlPanelGrid_style_DisplayName"));
874:                    prop_style.setShortDescription(resources
875:                            .getString("HtmlPanelGrid_style_Description"));
876:                    prop_style
877:                            .setPropertyEditorClass(com.sun.rave.propertyeditors.css.CssStylePropertyEditor.class);
878:                    prop_style.setExpert(false);
879:                    prop_style.setHidden(false);
880:                    prop_style.setPreferred(false);
881:                    attrib = new AttributeDescriptor("style", false, null, true);
882:                    prop_style.setValue(
883:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
884:                            attrib);
885:                    prop_style
886:                            .setValue(
887:                                    Constants.PropertyDescriptor.CATEGORY,
888:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
889:
890:                    PropertyDescriptor prop_styleClass = new PropertyDescriptorBase(
891:                            "styleClass", beanClass, "getStyleClass",
892:                            "setStyleClass");
893:                    prop_styleClass.setDisplayName(resources
894:                            .getString("HtmlPanelGrid_styleClass_DisplayName"));
895:                    prop_styleClass.setShortDescription(resources
896:                            .getString("HtmlPanelGrid_styleClass_Description"));
897:                    prop_styleClass
898:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
899:                    prop_styleClass.setExpert(false);
900:                    prop_styleClass.setHidden(false);
901:                    prop_styleClass.setPreferred(false);
902:                    attrib = new AttributeDescriptor("styleClass", false, null,
903:                            true);
904:                    prop_styleClass.setValue(
905:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
906:                            attrib);
907:                    prop_styleClass
908:                            .setValue(
909:                                    Constants.PropertyDescriptor.CATEGORY,
910:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
911:
912:                    PropertyDescriptor prop_summary = new PropertyDescriptorBase(
913:                            "summary", beanClass, "getSummary", "setSummary");
914:                    prop_summary.setDisplayName(resources
915:                            .getString("HtmlPanelGrid_summary_DisplayName"));
916:                    prop_summary.setShortDescription(resources
917:                            .getString("HtmlPanelGrid_summary_Description"));
918:                    prop_summary.setExpert(false);
919:                    prop_summary.setHidden(false);
920:                    prop_summary.setPreferred(false);
921:                    attrib = new AttributeDescriptor("summary", false, null,
922:                            true);
923:                    prop_summary.setValue(
924:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
925:                            attrib);
926:                    prop_summary
927:                            .setValue(
928:                                    Constants.PropertyDescriptor.CATEGORY,
929:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
930:
931:                    PropertyDescriptor prop_title = new PropertyDescriptorBase(
932:                            "title", beanClass, "getTitle", "setTitle");
933:                    prop_title.setDisplayName(resources
934:                            .getString("HtmlPanelGrid_title_DisplayName"));
935:                    prop_title.setShortDescription(resources
936:                            .getString("HtmlPanelGrid_title_Description"));
937:                    prop_title.setExpert(false);
938:                    prop_title.setHidden(false);
939:                    prop_title.setPreferred(false);
940:                    attrib = new AttributeDescriptor("title", false, null, true);
941:                    prop_title.setValue(
942:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
943:                            attrib);
944:                    prop_title
945:                            .setValue(
946:                                    Constants.PropertyDescriptor.CATEGORY,
947:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
948:
949:                    PropertyDescriptor prop_width = new PropertyDescriptorBase(
950:                            "width", beanClass, "getWidth", "setWidth");
951:                    prop_width.setDisplayName(resources
952:                            .getString("HtmlPanelGrid_width_DisplayName"));
953:                    prop_width.setShortDescription(resources
954:                            .getString("HtmlPanelGrid_width_Description"));
955:                    prop_width
956:                            .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.LengthPropertyEditor"));
957:                    prop_width.setExpert(false);
958:                    prop_width.setHidden(false);
959:                    prop_width.setPreferred(false);
960:                    attrib = new AttributeDescriptor("width", false, null, true);
961:                    prop_width.setValue(
962:                            Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
963:                            attrib);
964:                    prop_width
965:                            .setValue(
966:                                    Constants.PropertyDescriptor.CATEGORY,
967:                                    com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
968:
969:                    propDescriptors = new PropertyDescriptor[] {
970:                            prop_attributes, prop_bgcolor, prop_border,
971:                            prop_cellpadding, prop_cellspacing,
972:                            prop_childCount, prop_children, prop_columnClasses,
973:                            prop_columns, prop_dir, prop_facets, prop_family,
974:                            prop_footerClass, prop_frame, prop_headerClass,
975:                            prop_id, prop_lang, prop_onclick, prop_ondblclick,
976:                            prop_onkeydown, prop_onkeypress, prop_onkeyup,
977:                            prop_onmousedown, prop_onmousemove,
978:                            prop_onmouseout, prop_onmouseover, prop_onmouseup,
979:                            prop_parent, prop_rendered, prop_rendererType,
980:                            prop_rendersChildren, prop_rowClasses, prop_rules,
981:                            prop_style, prop_styleClass, prop_summary,
982:                            prop_title, prop_width, };
983:                    return propDescriptors;
984:
985:                } catch (IntrospectionException e) {
986:                    e.printStackTrace();
987:                    return null;
988:                }
989:
990:            }
991:
992:        }
w__ww___.j___a__v__a___2__s_.___c__om | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.