0001: //GEN-BEGIN:BeanInfo
0002: /*
0003: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
0004: *
0005: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
0006: *
0007: * The contents of this file are subject to the terms of either the GNU
0008: * General Public License Version 2 only ("GPL") or the Common
0009: * Development and Distribution License("CDDL") (collectively, the
0010: * "License"). You may not use this file except in compliance with the
0011: * License. You can obtain a copy of the License at
0012: * http://www.netbeans.org/cddl-gplv2.html
0013: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
0014: * specific language governing permissions and limitations under the
0015: * License. When distributing the software, include this License Header
0016: * Notice in each file and include the License file at
0017: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
0018: * particular file as subject to the "Classpath" exception as provided
0019: * by Sun in the GPL Version 2 section of the License file that
0020: * accompanied this code. If applicable, add the following below the
0021: * License Header, with the fields enclosed by brackets [] replaced by
0022: * your own identifying information:
0023: * "Portions Copyrighted [year] [name of copyright owner]"
0024: *
0025: * Contributor(s):
0026: *
0027: * The Original Software is NetBeans. The Initial Developer of the Original
0028: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
0029: * Microsystems, Inc. All Rights Reserved.
0030: *
0031: * If you wish your version of this file to be governed by only the CDDL
0032: * or only the GPL Version 2, indicate your decision by adding
0033: * "[Contributor] elects to include this software in this distribution
0034: * under the [CDDL or GPL Version 2] license." If you do not indicate a
0035: * single choice of license, a recipient has the option to distribute
0036: * your version of this file under either the CDDL, the GPL Version 2 or
0037: * to extend the choice of license to its licensees as provided above.
0038: * However, if you add GPL Version 2 code and therefore, elected the GPL
0039: * Version 2 license, then the option applies only if the new code is
0040: * made subject to such option by the copyright holder.
0041: */
0042: package org.netbeans.modules.visualweb.web.ui.dt.component;
0043:
0044: import java.awt.Image;
0045: import java.beans.BeanDescriptor;
0046: import java.beans.BeanInfo;
0047: import java.beans.IntrospectionException;
0048: import java.beans.PropertyDescriptor;
0049: import java.util.Locale;
0050: import java.util.ResourceBundle;
0051:
0052: import com.sun.rave.designtime.CategoryDescriptor;
0053: import com.sun.rave.designtime.Constants;
0054: import com.sun.rave.designtime.faces.FacetDescriptor;
0055: import com.sun.rave.designtime.markup.AttributeDescriptor;
0056:
0057: import java.beans.SimpleBeanInfo;
0058:
0059: /**
0060: * <p>Auto-generated design time metadata class.
0061: * Do <strong>NOT</strong> modify; all changes
0062: * <strong>will</strong> be lost!</p>
0063: */
0064:
0065: abstract class TableRowGroupBeanInfoBase extends SimpleBeanInfo {
0066:
0067: protected static ResourceBundle resources = ResourceBundle
0068: .getBundle(
0069: "org.netbeans.modules.visualweb.web.ui.dt.component.Bundle-JSF",
0070: Locale.getDefault(),
0071: TableRowGroupBeanInfoBase.class.getClassLoader());
0072:
0073: /**
0074: * <p>Construct a new <code>TableRowGroupBeanInfoBase</code>.</p>
0075: */
0076: public TableRowGroupBeanInfoBase() {
0077:
0078: beanClass = com.sun.rave.web.ui.component.TableRowGroup.class;
0079: iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/TableRowGroup_C16";
0080: iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/TableRowGroup_C32";
0081: iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/TableRowGroup_M16";
0082: iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/TableRowGroup_M32";
0083:
0084: }
0085:
0086: /**
0087: * <p>The bean class that this BeanInfo represents.
0088: */
0089: protected Class beanClass;
0090:
0091: /**
0092: * <p>The cached BeanDescriptor.</p>
0093: */
0094: protected BeanDescriptor beanDescriptor;
0095:
0096: /**
0097: * <p>The index of the default property.</p>
0098: */
0099: protected int defaultPropertyIndex = -2;
0100:
0101: /**
0102: * <p>The name of the default property.</p>
0103: */
0104: protected String defaultPropertyName;
0105:
0106: /**
0107: * <p>The 16x16 color icon.</p>
0108: */
0109: protected String iconFileName_C16;
0110:
0111: /**
0112: * <p>The 32x32 color icon.</p>
0113: */
0114: protected String iconFileName_C32;
0115:
0116: /**
0117: * <p>The 16x16 monochrome icon.</p>
0118: */
0119: protected String iconFileName_M16;
0120:
0121: /**
0122: * <p>The 32x32 monochrome icon.</p>
0123: */
0124: protected String iconFileName_M32;
0125:
0126: /**
0127: * <p>The cached property descriptors.</p>
0128: */
0129: protected PropertyDescriptor[] propDescriptors;
0130:
0131: /**
0132: * <p>Return the <code>BeanDescriptor</code> for this bean.</p>
0133: */
0134: public BeanDescriptor getBeanDescriptor() {
0135:
0136: if (beanDescriptor != null) {
0137: return beanDescriptor;
0138: }
0139:
0140: beanDescriptor = new BeanDescriptor(beanClass);
0141: beanDescriptor.setDisplayName(resources
0142: .getString("TableRowGroup_DisplayName"));
0143: beanDescriptor.setShortDescription(resources
0144: .getString("TableRowGroup_Description"));
0145: beanDescriptor.setExpert(false);
0146: beanDescriptor.setHidden(false);
0147: beanDescriptor.setPreferred(false);
0148: beanDescriptor.setValue(
0149: Constants.BeanDescriptor.FACET_DESCRIPTORS,
0150: getFacetDescriptors());
0151: beanDescriptor.setValue(Constants.BeanDescriptor.HELP_KEY,
0152: "projrave_ui_elements_palette_bh_row_group");
0153: beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME,
0154: "tableRowGroup");
0155: beanDescriptor.setValue(Constants.BeanDescriptor.IS_CONTAINER,
0156: Boolean.TRUE);
0157: beanDescriptor
0158: .setValue(Constants.BeanDescriptor.PROPERTIES_HELP_KEY,
0159: "projrave_ui_elements_palette_bh_propsheets_bh_row_group_props");
0160: beanDescriptor.setValue(
0161: Constants.BeanDescriptor.PROPERTY_CATEGORIES,
0162: getCategoryDescriptors());
0163: beanDescriptor.setValue(Constants.BeanDescriptor.TAG_NAME,
0164: "tableRowGroup");
0165: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_PREFIX,
0166: "ui");
0167: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_URI,
0168: "http://www.sun.com/web/ui");
0169:
0170: return beanDescriptor;
0171:
0172: }
0173:
0174: /**
0175: * <p>Return the <code>CategoryDescriptor</code> array for the property categories of this component.</p>
0176: */
0177: private CategoryDescriptor[] getCategoryDescriptors() {
0178:
0179: return com.sun.rave.designtime.base.CategoryDescriptors
0180: .getDefaultCategoryDescriptors();
0181:
0182: }
0183:
0184: /**
0185: * <p>Return the index of the default property, or
0186: * -1 if there is no default property.</p>
0187: */
0188: public int getDefaultPropertyIndex() {
0189:
0190: if (defaultPropertyIndex > -2) {
0191: return defaultPropertyIndex;
0192: } else {
0193: if (defaultPropertyName == null) {
0194: defaultPropertyIndex = -1;
0195: } else {
0196: PropertyDescriptor pd[] = getPropertyDescriptors();
0197: for (int i = 0; i < pd.length; i++) {
0198: if (defaultPropertyName.equals(pd[i].getName())) {
0199: defaultPropertyIndex = i;
0200: break;
0201: }
0202: }
0203: }
0204: }
0205: return defaultPropertyIndex;
0206: }
0207:
0208: /**
0209: * <p>The cached facet descriptors.</p>
0210: */
0211: protected FacetDescriptor[] facetDescriptors;
0212:
0213: /**
0214: * <p>Return the <code>FacetDescriptor</code>s for this bean.</p>
0215: */
0216: public FacetDescriptor[] getFacetDescriptors() {
0217:
0218: if (facetDescriptors != null) {
0219: return facetDescriptors;
0220: }
0221: facetDescriptors = new FacetDescriptor[] {};
0222: return facetDescriptors;
0223:
0224: }
0225:
0226: /**
0227: * <p>Return the specified image (if any)
0228: * for this component class.</p>
0229: */
0230: public Image getIcon(int kind) {
0231:
0232: String name;
0233: switch (kind) {
0234: case ICON_COLOR_16x16:
0235: name = iconFileName_C16;
0236: break;
0237: case ICON_COLOR_32x32:
0238: name = iconFileName_C32;
0239: break;
0240: case ICON_MONO_16x16:
0241: name = iconFileName_M16;
0242: break;
0243: case ICON_MONO_32x32:
0244: name = iconFileName_M32;
0245: break;
0246: default:
0247: name = null;
0248: break;
0249: }
0250: if (name == null) {
0251: return null;
0252: }
0253:
0254: Image image = loadImage(name + ".png");
0255: if (image == null) {
0256: image = loadImage(name + ".gif");
0257: }
0258: return image;
0259:
0260: }
0261:
0262: /**
0263: * <p>Return a class loaded by name via the class loader that loaded this class.</p>
0264: */
0265: private java.lang.Class loadClass(java.lang.String name) {
0266:
0267: try {
0268: return Class.forName(name);
0269: } catch (ClassNotFoundException e) {
0270: throw new RuntimeException(e);
0271: }
0272:
0273: }
0274:
0275: /**
0276: * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
0277: */
0278: public PropertyDescriptor[] getPropertyDescriptors() {
0279:
0280: if (propDescriptors != null) {
0281: return propDescriptors;
0282: }
0283: AttributeDescriptor attrib = null;
0284:
0285: try {
0286:
0287: PropertyDescriptor prop_aboveColumnFooter = new PropertyDescriptor(
0288: "aboveColumnFooter", beanClass,
0289: "isAboveColumnFooter", "setAboveColumnFooter");
0290: prop_aboveColumnFooter
0291: .setDisplayName(resources
0292: .getString("TableRowGroup_aboveColumnFooter_DisplayName"));
0293: prop_aboveColumnFooter
0294: .setShortDescription(resources
0295: .getString("TableRowGroup_aboveColumnFooter_Description"));
0296: prop_aboveColumnFooter.setExpert(false);
0297: prop_aboveColumnFooter.setHidden(false);
0298: prop_aboveColumnFooter.setPreferred(false);
0299: attrib = new AttributeDescriptor("aboveColumnFooter",
0300: false, null, true);
0301: prop_aboveColumnFooter.setValue(
0302: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0303: attrib);
0304: prop_aboveColumnFooter
0305: .setValue(
0306: Constants.PropertyDescriptor.CATEGORY,
0307: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0308:
0309: PropertyDescriptor prop_aboveColumnHeader = new PropertyDescriptor(
0310: "aboveColumnHeader", beanClass,
0311: "isAboveColumnHeader", "setAboveColumnHeader");
0312: prop_aboveColumnHeader
0313: .setDisplayName(resources
0314: .getString("TableRowGroup_aboveColumnHeader_DisplayName"));
0315: prop_aboveColumnHeader
0316: .setShortDescription(resources
0317: .getString("TableRowGroup_aboveColumnHeader_Description"));
0318: prop_aboveColumnHeader.setExpert(false);
0319: prop_aboveColumnHeader.setHidden(false);
0320: prop_aboveColumnHeader.setPreferred(false);
0321: attrib = new AttributeDescriptor("aboveColumnHeader",
0322: false, null, true);
0323: prop_aboveColumnHeader.setValue(
0324: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0325: attrib);
0326: prop_aboveColumnHeader
0327: .setValue(
0328: Constants.PropertyDescriptor.CATEGORY,
0329: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0330:
0331: PropertyDescriptor prop_align = new PropertyDescriptor(
0332: "align", beanClass, "getAlign", "setAlign");
0333: prop_align.setDisplayName(resources
0334: .getString("TableRowGroup_align_DisplayName"));
0335: prop_align.setShortDescription(resources
0336: .getString("TableRowGroup_align_Description"));
0337: prop_align
0338: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0339: prop_align.setExpert(false);
0340: prop_align.setHidden(false);
0341: prop_align.setPreferred(false);
0342: attrib = new AttributeDescriptor("align", false, null, true);
0343: prop_align.setValue(
0344: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0345: attrib);
0346: prop_align
0347: .setValue(
0348: Constants.PropertyDescriptor.CATEGORY,
0349: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0350: prop_align
0351: .setValue(
0352: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0353: com.sun.rave.propertyeditors.domains.StringTokensDomain.class);
0354: prop_align
0355: .setValue(
0356: "com.sun.rave.propertyeditors.domains.TOKEN_STRING",
0357: "left,center,right,justify,char");
0358:
0359: PropertyDescriptor prop_bgColor = new PropertyDescriptor(
0360: "bgColor", beanClass, "getBgColor", "setBgColor");
0361: prop_bgColor.setDisplayName(resources
0362: .getString("TableRowGroup_bgColor_DisplayName"));
0363: prop_bgColor.setShortDescription(resources
0364: .getString("TableRowGroup_bgColor_Description"));
0365: prop_bgColor.setExpert(false);
0366: prop_bgColor.setHidden(true);
0367: prop_bgColor.setPreferred(false);
0368: prop_bgColor
0369: .setValue(
0370: Constants.PropertyDescriptor.CATEGORY,
0371: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0372:
0373: PropertyDescriptor prop_char = new PropertyDescriptor(
0374: "char", beanClass, "getChar", "setChar");
0375: prop_char.setDisplayName(resources
0376: .getString("TableRowGroup_char_DisplayName"));
0377: prop_char.setShortDescription(resources
0378: .getString("TableRowGroup_char_Description"));
0379: prop_char.setExpert(false);
0380: prop_char.setHidden(true);
0381: prop_char.setPreferred(false);
0382: prop_char
0383: .setValue(
0384: Constants.PropertyDescriptor.CATEGORY,
0385: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0386:
0387: PropertyDescriptor prop_charOff = new PropertyDescriptor(
0388: "charOff", beanClass, "getCharOff", "setCharOff");
0389: prop_charOff.setDisplayName(resources
0390: .getString("TableRowGroup_charOff_DisplayName"));
0391: prop_charOff.setShortDescription(resources
0392: .getString("TableRowGroup_charOff_Description"));
0393: prop_charOff.setExpert(false);
0394: prop_charOff.setHidden(true);
0395: prop_charOff.setPreferred(false);
0396: prop_charOff
0397: .setValue(
0398: Constants.PropertyDescriptor.CATEGORY,
0399: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0400:
0401: PropertyDescriptor prop_collapsed = new PropertyDescriptor(
0402: "collapsed", beanClass, "isCollapsed",
0403: "setCollapsed");
0404: prop_collapsed.setDisplayName(resources
0405: .getString("TableRowGroup_collapsed_DisplayName"));
0406: prop_collapsed.setShortDescription(resources
0407: .getString("TableRowGroup_collapsed_Description"));
0408: prop_collapsed.setExpert(false);
0409: prop_collapsed.setHidden(false);
0410: prop_collapsed.setPreferred(false);
0411: attrib = new AttributeDescriptor("collapsed", false, null,
0412: true);
0413: prop_collapsed.setValue(
0414: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0415: attrib);
0416: prop_collapsed
0417: .setValue(
0418: Constants.PropertyDescriptor.CATEGORY,
0419: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0420:
0421: PropertyDescriptor prop_emptyDataMsg = new PropertyDescriptor(
0422: "emptyDataMsg", beanClass, "getEmptyDataMsg",
0423: "setEmptyDataMsg");
0424: prop_emptyDataMsg
0425: .setDisplayName(resources
0426: .getString("TableRowGroup_emptyDataMsg_DisplayName"));
0427: prop_emptyDataMsg
0428: .setShortDescription(resources
0429: .getString("TableRowGroup_emptyDataMsg_Description"));
0430: prop_emptyDataMsg
0431: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0432: prop_emptyDataMsg.setExpert(false);
0433: prop_emptyDataMsg.setHidden(false);
0434: prop_emptyDataMsg.setPreferred(false);
0435: attrib = new AttributeDescriptor("emptyDataMsg", false,
0436: null, true);
0437: prop_emptyDataMsg.setValue(
0438: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0439: attrib);
0440: prop_emptyDataMsg
0441: .setValue(
0442: Constants.PropertyDescriptor.CATEGORY,
0443: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0444:
0445: PropertyDescriptor prop_extraFooterHtml = new PropertyDescriptor(
0446: "extraFooterHtml", beanClass, "getExtraFooterHtml",
0447: "setExtraFooterHtml");
0448: prop_extraFooterHtml
0449: .setDisplayName(resources
0450: .getString("TableRowGroup_extraFooterHtml_DisplayName"));
0451: prop_extraFooterHtml
0452: .setShortDescription(resources
0453: .getString("TableRowGroup_extraFooterHtml_Description"));
0454: prop_extraFooterHtml
0455: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0456: prop_extraFooterHtml.setExpert(false);
0457: prop_extraFooterHtml.setHidden(false);
0458: prop_extraFooterHtml.setPreferred(false);
0459: attrib = new AttributeDescriptor("extraFooterHtml", false,
0460: null, true);
0461: prop_extraFooterHtml.setValue(
0462: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0463: attrib);
0464: prop_extraFooterHtml
0465: .setValue(
0466: Constants.PropertyDescriptor.CATEGORY,
0467: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0468:
0469: PropertyDescriptor prop_extraHeaderHtml = new PropertyDescriptor(
0470: "extraHeaderHtml", beanClass, "getExtraHeaderHtml",
0471: "setExtraHeaderHtml");
0472: prop_extraHeaderHtml
0473: .setDisplayName(resources
0474: .getString("TableRowGroup_extraHeaderHtml_DisplayName"));
0475: prop_extraHeaderHtml
0476: .setShortDescription(resources
0477: .getString("TableRowGroup_extraHeaderHtml_Description"));
0478: prop_extraHeaderHtml
0479: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0480: prop_extraHeaderHtml.setExpert(false);
0481: prop_extraHeaderHtml.setHidden(false);
0482: prop_extraHeaderHtml.setPreferred(false);
0483: attrib = new AttributeDescriptor("extraHeaderHtml", false,
0484: null, true);
0485: prop_extraHeaderHtml.setValue(
0486: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0487: attrib);
0488: prop_extraHeaderHtml
0489: .setValue(
0490: Constants.PropertyDescriptor.CATEGORY,
0491: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0492:
0493: PropertyDescriptor prop_first = new PropertyDescriptor(
0494: "first", beanClass, "getFirst", "setFirst");
0495: prop_first.setDisplayName(resources
0496: .getString("TableRowGroup_first_DisplayName"));
0497: prop_first.setShortDescription(resources
0498: .getString("TableRowGroup_first_Description"));
0499: prop_first
0500: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0501: prop_first.setExpert(false);
0502: prop_first.setHidden(false);
0503: prop_first.setPreferred(false);
0504: attrib = new AttributeDescriptor("first", false, "0", true);
0505: prop_first.setValue(
0506: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0507: attrib);
0508: prop_first
0509: .setValue(
0510: Constants.PropertyDescriptor.CATEGORY,
0511: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0512: prop_first.setValue(
0513: "com.sun.rave.propertyeditors.MIN_VALUE", "0");
0514:
0515: PropertyDescriptor prop_footerText = new PropertyDescriptor(
0516: "footerText", beanClass, "getFooterText",
0517: "setFooterText");
0518: prop_footerText.setDisplayName(resources
0519: .getString("TableRowGroup_footerText_DisplayName"));
0520: prop_footerText.setShortDescription(resources
0521: .getString("TableRowGroup_footerText_Description"));
0522: prop_footerText
0523: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0524: prop_footerText.setExpert(false);
0525: prop_footerText.setHidden(false);
0526: prop_footerText.setPreferred(false);
0527: attrib = new AttributeDescriptor("footerText", false, null,
0528: true);
0529: prop_footerText.setValue(
0530: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0531: attrib);
0532: prop_footerText
0533: .setValue(
0534: Constants.PropertyDescriptor.CATEGORY,
0535: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0536:
0537: PropertyDescriptor prop_groupToggleButton = new PropertyDescriptor(
0538: "groupToggleButton", beanClass,
0539: "isGroupToggleButton", "setGroupToggleButton");
0540: prop_groupToggleButton
0541: .setDisplayName(resources
0542: .getString("TableRowGroup_groupToggleButton_DisplayName"));
0543: prop_groupToggleButton
0544: .setShortDescription(resources
0545: .getString("TableRowGroup_groupToggleButton_Description"));
0546: prop_groupToggleButton.setExpert(false);
0547: prop_groupToggleButton.setHidden(false);
0548: prop_groupToggleButton.setPreferred(false);
0549: attrib = new AttributeDescriptor("groupToggleButton",
0550: false, null, true);
0551: prop_groupToggleButton.setValue(
0552: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0553: attrib);
0554: prop_groupToggleButton
0555: .setValue(
0556: Constants.PropertyDescriptor.CATEGORY,
0557: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0558:
0559: PropertyDescriptor prop_headerText = new PropertyDescriptor(
0560: "headerText", beanClass, "getHeaderText",
0561: "setHeaderText");
0562: prop_headerText.setDisplayName(resources
0563: .getString("TableRowGroup_headerText_DisplayName"));
0564: prop_headerText.setShortDescription(resources
0565: .getString("TableRowGroup_headerText_Description"));
0566: prop_headerText
0567: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0568: prop_headerText.setExpert(false);
0569: prop_headerText.setHidden(false);
0570: prop_headerText.setPreferred(false);
0571: attrib = new AttributeDescriptor("headerText", false, null,
0572: true);
0573: prop_headerText.setValue(
0574: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0575: attrib);
0576: prop_headerText
0577: .setValue(
0578: Constants.PropertyDescriptor.CATEGORY,
0579: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0580:
0581: PropertyDescriptor prop_multipleColumnFooters = new PropertyDescriptor(
0582: "multipleColumnFooters", beanClass,
0583: "isMultipleColumnFooters",
0584: "setMultipleColumnFooters");
0585: prop_multipleColumnFooters
0586: .setDisplayName(resources
0587: .getString("TableRowGroup_multipleColumnFooters_DisplayName"));
0588: prop_multipleColumnFooters
0589: .setShortDescription(resources
0590: .getString("TableRowGroup_multipleColumnFooters_Description"));
0591: prop_multipleColumnFooters.setExpert(false);
0592: prop_multipleColumnFooters.setHidden(false);
0593: prop_multipleColumnFooters.setPreferred(false);
0594: attrib = new AttributeDescriptor("multipleColumnFooters",
0595: false, null, true);
0596: prop_multipleColumnFooters.setValue(
0597: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0598: attrib);
0599: prop_multipleColumnFooters
0600: .setValue(
0601: Constants.PropertyDescriptor.CATEGORY,
0602: com.sun.rave.designtime.base.CategoryDescriptors.LAYOUT);
0603:
0604: PropertyDescriptor prop_multipleTableColumnFooters = new PropertyDescriptor(
0605: "multipleTableColumnFooters", beanClass,
0606: "isMultipleTableColumnFooters",
0607: "setMultipleTableColumnFooters");
0608: prop_multipleTableColumnFooters
0609: .setDisplayName(resources
0610: .getString("TableRowGroup_multipleTableColumnFooters_DisplayName"));
0611: prop_multipleTableColumnFooters
0612: .setShortDescription(resources
0613: .getString("TableRowGroup_multipleTableColumnFooters_Description"));
0614: prop_multipleTableColumnFooters.setExpert(false);
0615: prop_multipleTableColumnFooters.setHidden(false);
0616: prop_multipleTableColumnFooters.setPreferred(false);
0617: attrib = new AttributeDescriptor(
0618: "multipleTableColumnFooters", false, null, true);
0619: prop_multipleTableColumnFooters.setValue(
0620: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0621: attrib);
0622: prop_multipleTableColumnFooters
0623: .setValue(
0624: Constants.PropertyDescriptor.CATEGORY,
0625: com.sun.rave.designtime.base.CategoryDescriptors.LAYOUT);
0626:
0627: PropertyDescriptor prop_onClick = new PropertyDescriptor(
0628: "onClick", beanClass, "getOnClick", "setOnClick");
0629: prop_onClick.setDisplayName(resources
0630: .getString("TableRowGroup_onClick_DisplayName"));
0631: prop_onClick.setShortDescription(resources
0632: .getString("TableRowGroup_onClick_Description"));
0633: prop_onClick
0634: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0635: prop_onClick.setExpert(false);
0636: prop_onClick.setHidden(false);
0637: prop_onClick.setPreferred(false);
0638: attrib = new AttributeDescriptor("onClick", false, null,
0639: true);
0640: prop_onClick.setValue(
0641: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0642: attrib);
0643: prop_onClick
0644: .setValue(
0645: Constants.PropertyDescriptor.CATEGORY,
0646: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0647:
0648: PropertyDescriptor prop_onDblClick = new PropertyDescriptor(
0649: "onDblClick", beanClass, "getOnDblClick",
0650: "setOnDblClick");
0651: prop_onDblClick.setDisplayName(resources
0652: .getString("TableRowGroup_onDblClick_DisplayName"));
0653: prop_onDblClick.setShortDescription(resources
0654: .getString("TableRowGroup_onDblClick_Description"));
0655: prop_onDblClick
0656: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0657: prop_onDblClick.setExpert(false);
0658: prop_onDblClick.setHidden(false);
0659: prop_onDblClick.setPreferred(false);
0660: attrib = new AttributeDescriptor("onDblClick", false, null,
0661: true);
0662: prop_onDblClick.setValue(
0663: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0664: attrib);
0665: prop_onDblClick
0666: .setValue(
0667: Constants.PropertyDescriptor.CATEGORY,
0668: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0669:
0670: PropertyDescriptor prop_onKeyDown = new PropertyDescriptor(
0671: "onKeyDown", beanClass, "getOnKeyDown",
0672: "setOnKeyDown");
0673: prop_onKeyDown.setDisplayName(resources
0674: .getString("TableRowGroup_onKeyDown_DisplayName"));
0675: prop_onKeyDown.setShortDescription(resources
0676: .getString("TableRowGroup_onKeyDown_Description"));
0677: prop_onKeyDown
0678: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0679: prop_onKeyDown.setExpert(false);
0680: prop_onKeyDown.setHidden(false);
0681: prop_onKeyDown.setPreferred(false);
0682: attrib = new AttributeDescriptor("onKeyDown", false, null,
0683: true);
0684: prop_onKeyDown.setValue(
0685: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0686: attrib);
0687: prop_onKeyDown
0688: .setValue(
0689: Constants.PropertyDescriptor.CATEGORY,
0690: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0691:
0692: PropertyDescriptor prop_onKeyPress = new PropertyDescriptor(
0693: "onKeyPress", beanClass, "getOnKeyPress",
0694: "setOnKeyPress");
0695: prop_onKeyPress.setDisplayName(resources
0696: .getString("TableRowGroup_onKeyPress_DisplayName"));
0697: prop_onKeyPress.setShortDescription(resources
0698: .getString("TableRowGroup_onKeyPress_Description"));
0699: prop_onKeyPress
0700: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0701: prop_onKeyPress.setExpert(false);
0702: prop_onKeyPress.setHidden(false);
0703: prop_onKeyPress.setPreferred(false);
0704: attrib = new AttributeDescriptor("onKeyPress", false, null,
0705: true);
0706: prop_onKeyPress.setValue(
0707: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0708: attrib);
0709: prop_onKeyPress
0710: .setValue(
0711: Constants.PropertyDescriptor.CATEGORY,
0712: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0713:
0714: PropertyDescriptor prop_onKeyUp = new PropertyDescriptor(
0715: "onKeyUp", beanClass, "getOnKeyUp", "setOnKeyUp");
0716: prop_onKeyUp.setDisplayName(resources
0717: .getString("TableRowGroup_onKeyUp_DisplayName"));
0718: prop_onKeyUp.setShortDescription(resources
0719: .getString("TableRowGroup_onKeyUp_Description"));
0720: prop_onKeyUp
0721: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0722: prop_onKeyUp.setExpert(false);
0723: prop_onKeyUp.setHidden(false);
0724: prop_onKeyUp.setPreferred(false);
0725: attrib = new AttributeDescriptor("onKeyUp", false, null,
0726: true);
0727: prop_onKeyUp.setValue(
0728: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0729: attrib);
0730: prop_onKeyUp
0731: .setValue(
0732: Constants.PropertyDescriptor.CATEGORY,
0733: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0734:
0735: PropertyDescriptor prop_onMouseDown = new PropertyDescriptor(
0736: "onMouseDown", beanClass, "getOnMouseDown",
0737: "setOnMouseDown");
0738: prop_onMouseDown
0739: .setDisplayName(resources
0740: .getString("TableRowGroup_onMouseDown_DisplayName"));
0741: prop_onMouseDown
0742: .setShortDescription(resources
0743: .getString("TableRowGroup_onMouseDown_Description"));
0744: prop_onMouseDown
0745: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0746: prop_onMouseDown.setExpert(false);
0747: prop_onMouseDown.setHidden(false);
0748: prop_onMouseDown.setPreferred(false);
0749: attrib = new AttributeDescriptor("onMouseDown", false,
0750: null, true);
0751: prop_onMouseDown.setValue(
0752: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0753: attrib);
0754: prop_onMouseDown
0755: .setValue(
0756: Constants.PropertyDescriptor.CATEGORY,
0757: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0758:
0759: PropertyDescriptor prop_onMouseMove = new PropertyDescriptor(
0760: "onMouseMove", beanClass, "getOnMouseMove",
0761: "setOnMouseMove");
0762: prop_onMouseMove
0763: .setDisplayName(resources
0764: .getString("TableRowGroup_onMouseMove_DisplayName"));
0765: prop_onMouseMove
0766: .setShortDescription(resources
0767: .getString("TableRowGroup_onMouseMove_Description"));
0768: prop_onMouseMove
0769: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0770: prop_onMouseMove.setExpert(false);
0771: prop_onMouseMove.setHidden(false);
0772: prop_onMouseMove.setPreferred(false);
0773: attrib = new AttributeDescriptor("onMouseMove", false,
0774: null, true);
0775: prop_onMouseMove.setValue(
0776: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0777: attrib);
0778: prop_onMouseMove
0779: .setValue(
0780: Constants.PropertyDescriptor.CATEGORY,
0781: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0782:
0783: PropertyDescriptor prop_onMouseOut = new PropertyDescriptor(
0784: "onMouseOut", beanClass, "getOnMouseOut",
0785: "setOnMouseOut");
0786: prop_onMouseOut.setDisplayName(resources
0787: .getString("TableRowGroup_onMouseOut_DisplayName"));
0788: prop_onMouseOut.setShortDescription(resources
0789: .getString("TableRowGroup_onMouseOut_Description"));
0790: prop_onMouseOut
0791: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0792: prop_onMouseOut.setExpert(false);
0793: prop_onMouseOut.setHidden(false);
0794: prop_onMouseOut.setPreferred(false);
0795: attrib = new AttributeDescriptor("onMouseOut", false, null,
0796: true);
0797: prop_onMouseOut.setValue(
0798: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0799: attrib);
0800: prop_onMouseOut
0801: .setValue(
0802: Constants.PropertyDescriptor.CATEGORY,
0803: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0804:
0805: PropertyDescriptor prop_onMouseOver = new PropertyDescriptor(
0806: "onMouseOver", beanClass, "getOnMouseOver",
0807: "setOnMouseOver");
0808: prop_onMouseOver
0809: .setDisplayName(resources
0810: .getString("TableRowGroup_onMouseOver_DisplayName"));
0811: prop_onMouseOver
0812: .setShortDescription(resources
0813: .getString("TableRowGroup_onMouseOver_Description"));
0814: prop_onMouseOver
0815: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0816: prop_onMouseOver.setExpert(false);
0817: prop_onMouseOver.setHidden(false);
0818: prop_onMouseOver.setPreferred(false);
0819: attrib = new AttributeDescriptor("onMouseOver", false,
0820: null, true);
0821: prop_onMouseOver.setValue(
0822: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0823: attrib);
0824: prop_onMouseOver
0825: .setValue(
0826: Constants.PropertyDescriptor.CATEGORY,
0827: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0828:
0829: PropertyDescriptor prop_onMouseUp = new PropertyDescriptor(
0830: "onMouseUp", beanClass, "getOnMouseUp",
0831: "setOnMouseUp");
0832: prop_onMouseUp.setDisplayName(resources
0833: .getString("TableRowGroup_onMouseUp_DisplayName"));
0834: prop_onMouseUp.setShortDescription(resources
0835: .getString("TableRowGroup_onMouseUp_Description"));
0836: prop_onMouseUp
0837: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0838: prop_onMouseUp.setExpert(false);
0839: prop_onMouseUp.setHidden(false);
0840: prop_onMouseUp.setPreferred(false);
0841: attrib = new AttributeDescriptor("onMouseUp", false, null,
0842: true);
0843: prop_onMouseUp.setValue(
0844: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0845: attrib);
0846: prop_onMouseUp
0847: .setValue(
0848: Constants.PropertyDescriptor.CATEGORY,
0849: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0850:
0851: PropertyDescriptor prop_rows = new PropertyDescriptor(
0852: "rows", beanClass, "getRows", "setRows");
0853: prop_rows.setDisplayName(resources
0854: .getString("TableRowGroup_rows_DisplayName"));
0855: prop_rows.setShortDescription(resources
0856: .getString("TableRowGroup_rows_Description"));
0857: prop_rows
0858: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0859: prop_rows.setExpert(false);
0860: prop_rows.setHidden(false);
0861: prop_rows.setPreferred(false);
0862: attrib = new AttributeDescriptor("rows", false, "25", true);
0863: prop_rows.setValue(
0864: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0865: attrib);
0866: prop_rows
0867: .setValue(
0868: Constants.PropertyDescriptor.CATEGORY,
0869: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0870: prop_rows.setValue(
0871: "com.sun.rave.propertyeditors.MIN_VALUE", "0");
0872:
0873: PropertyDescriptor prop_selectMultipleToggleButton = new PropertyDescriptor(
0874: "selectMultipleToggleButton", beanClass,
0875: "isSelectMultipleToggleButton",
0876: "setSelectMultipleToggleButton");
0877: prop_selectMultipleToggleButton
0878: .setDisplayName(resources
0879: .getString("TableRowGroup_selectMultipleToggleButton_DisplayName"));
0880: prop_selectMultipleToggleButton
0881: .setShortDescription(resources
0882: .getString("TableRowGroup_selectMultipleToggleButton_Description"));
0883: prop_selectMultipleToggleButton.setExpert(false);
0884: prop_selectMultipleToggleButton.setHidden(false);
0885: prop_selectMultipleToggleButton.setPreferred(false);
0886: attrib = new AttributeDescriptor(
0887: "selectMultipleToggleButton", false, null, true);
0888: prop_selectMultipleToggleButton.setValue(
0889: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0890: attrib);
0891: prop_selectMultipleToggleButton
0892: .setValue(
0893: Constants.PropertyDescriptor.CATEGORY,
0894: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0895:
0896: PropertyDescriptor prop_selected = new PropertyDescriptor(
0897: "selected", beanClass, "isSelected", "setSelected");
0898: prop_selected.setDisplayName(resources
0899: .getString("TableRowGroup_selected_DisplayName"));
0900: prop_selected.setShortDescription(resources
0901: .getString("TableRowGroup_selected_Description"));
0902: prop_selected.setExpert(false);
0903: prop_selected.setHidden(false);
0904: prop_selected.setPreferred(false);
0905: attrib = new AttributeDescriptor("selected", false, null,
0906: true);
0907: prop_selected.setValue(
0908: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0909: attrib);
0910: prop_selected
0911: .setValue(
0912: Constants.PropertyDescriptor.CATEGORY,
0913: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0914:
0915: PropertyDescriptor prop_sourceData = new PropertyDescriptor(
0916: "sourceData", beanClass, "getSourceData",
0917: "setSourceData");
0918: prop_sourceData.setDisplayName(resources
0919: .getString("TableRowGroup_sourceData_DisplayName"));
0920: prop_sourceData.setShortDescription(resources
0921: .getString("TableRowGroup_sourceData_Description"));
0922: prop_sourceData.setExpert(false);
0923: prop_sourceData.setHidden(false);
0924: prop_sourceData.setPreferred(false);
0925: attrib = new AttributeDescriptor("sourceData", false, null,
0926: true);
0927: prop_sourceData.setValue(
0928: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0929: attrib);
0930: prop_sourceData
0931: .setValue(
0932: Constants.PropertyDescriptor.CATEGORY,
0933: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0934:
0935: PropertyDescriptor prop_sourceVar = new PropertyDescriptor(
0936: "sourceVar", beanClass, "getSourceVar",
0937: "setSourceVar");
0938: prop_sourceVar.setDisplayName(resources
0939: .getString("TableRowGroup_sourceVar_DisplayName"));
0940: prop_sourceVar.setShortDescription(resources
0941: .getString("TableRowGroup_sourceVar_Description"));
0942: prop_sourceVar.setExpert(false);
0943: prop_sourceVar.setHidden(false);
0944: prop_sourceVar.setPreferred(false);
0945: attrib = new AttributeDescriptor("sourceVar", false, null,
0946: true);
0947: prop_sourceVar.setValue(
0948: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0949: attrib);
0950: prop_sourceVar
0951: .setValue(
0952: Constants.PropertyDescriptor.CATEGORY,
0953: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
0954:
0955: PropertyDescriptor prop_styleClasses = new PropertyDescriptor(
0956: "styleClasses", beanClass, "getStyleClasses",
0957: "setStyleClasses");
0958: prop_styleClasses
0959: .setDisplayName(resources
0960: .getString("TableRowGroup_styleClasses_DisplayName"));
0961: prop_styleClasses
0962: .setShortDescription(resources
0963: .getString("TableRowGroup_styleClasses_Description"));
0964: prop_styleClasses
0965: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
0966: prop_styleClasses.setExpert(false);
0967: prop_styleClasses.setHidden(false);
0968: prop_styleClasses.setPreferred(false);
0969: attrib = new AttributeDescriptor("styleClasses", false,
0970: null, true);
0971: prop_styleClasses.setValue(
0972: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0973: attrib);
0974: prop_styleClasses
0975: .setValue(
0976: Constants.PropertyDescriptor.CATEGORY,
0977: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0978:
0979: PropertyDescriptor prop_tableDataFilter = new PropertyDescriptor(
0980: "tableDataFilter", beanClass, "getTableDataFilter",
0981: "setTableDataFilter");
0982: prop_tableDataFilter
0983: .setDisplayName(resources
0984: .getString("TableRowGroup_tableDataFilter_DisplayName"));
0985: prop_tableDataFilter
0986: .setShortDescription(resources
0987: .getString("TableRowGroup_tableDataFilter_Description"));
0988: prop_tableDataFilter
0989: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0990: prop_tableDataFilter.setExpert(false);
0991: prop_tableDataFilter.setHidden(true);
0992: prop_tableDataFilter.setPreferred(false);
0993: attrib = new AttributeDescriptor("tableDataFilter", false,
0994: null, true);
0995: prop_tableDataFilter.setValue(
0996: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0997: attrib);
0998: prop_tableDataFilter
0999: .setValue(
1000: Constants.PropertyDescriptor.CATEGORY,
1001: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1002: prop_tableDataFilter
1003: .setValue(
1004: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
1005: com.sun.rave.propertyeditors.domains.FieldKeyDomain.class);
1006:
1007: PropertyDescriptor prop_tableDataSorter = new PropertyDescriptor(
1008: "tableDataSorter", beanClass, "getTableDataSorter",
1009: "setTableDataSorter");
1010: prop_tableDataSorter
1011: .setDisplayName(resources
1012: .getString("TableRowGroup_tableDataSorter_DisplayName"));
1013: prop_tableDataSorter
1014: .setShortDescription(resources
1015: .getString("TableRowGroup_tableDataSorter_Description"));
1016: prop_tableDataSorter
1017: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
1018: prop_tableDataSorter.setExpert(false);
1019: prop_tableDataSorter.setHidden(true);
1020: prop_tableDataSorter.setPreferred(false);
1021: attrib = new AttributeDescriptor("tableDataSorter", false,
1022: null, true);
1023: prop_tableDataSorter.setValue(
1024: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1025: attrib);
1026: prop_tableDataSorter
1027: .setValue(
1028: Constants.PropertyDescriptor.CATEGORY,
1029: com.sun.rave.designtime.base.CategoryDescriptors.DATA);
1030: prop_tableDataSorter
1031: .setValue(
1032: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
1033: com.sun.rave.propertyeditors.domains.FieldKeyDomain.class);
1034:
1035: PropertyDescriptor prop_toolTip = new PropertyDescriptor(
1036: "toolTip", beanClass, "getToolTip", "setToolTip");
1037: prop_toolTip.setDisplayName(resources
1038: .getString("TableRowGroup_toolTip_DisplayName"));
1039: prop_toolTip.setShortDescription(resources
1040: .getString("TableRowGroup_toolTip_Description"));
1041: prop_toolTip
1042: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
1043: prop_toolTip.setExpert(false);
1044: prop_toolTip.setHidden(false);
1045: prop_toolTip.setPreferred(false);
1046: attrib = new AttributeDescriptor("toolTip", false, null,
1047: true);
1048: prop_toolTip.setValue(
1049: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1050: attrib);
1051: prop_toolTip
1052: .setValue(
1053: Constants.PropertyDescriptor.CATEGORY,
1054: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
1055:
1056: PropertyDescriptor prop_valign = new PropertyDescriptor(
1057: "valign", beanClass, "getValign", "setValign");
1058: prop_valign.setDisplayName(resources
1059: .getString("TableRowGroup_valign_DisplayName"));
1060: prop_valign.setShortDescription(resources
1061: .getString("TableRowGroup_valign_Description"));
1062: prop_valign
1063: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
1064: prop_valign.setExpert(false);
1065: prop_valign.setHidden(false);
1066: prop_valign.setPreferred(false);
1067: attrib = new AttributeDescriptor("valign", false, null,
1068: true);
1069: prop_valign.setValue(
1070: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1071: attrib);
1072: prop_valign
1073: .setValue(
1074: Constants.PropertyDescriptor.CATEGORY,
1075: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
1076: prop_valign
1077: .setValue(
1078: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
1079: com.sun.rave.propertyeditors.domains.HtmlVerticalAlignDomain.class);
1080:
1081: PropertyDescriptor prop_visible = new PropertyDescriptor(
1082: "visible", beanClass, "isVisible", "setVisible");
1083: prop_visible.setDisplayName(resources
1084: .getString("TableRowGroup_visible_DisplayName"));
1085: prop_visible.setShortDescription(resources
1086: .getString("TableRowGroup_visible_Description"));
1087: prop_visible.setExpert(false);
1088: prop_visible.setHidden(false);
1089: prop_visible.setPreferred(false);
1090: attrib = new AttributeDescriptor("visible", false, "true",
1091: true);
1092: prop_visible.setValue(
1093: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1094: attrib);
1095: prop_visible
1096: .setValue(
1097: Constants.PropertyDescriptor.CATEGORY,
1098: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
1099:
1100: PropertyDescriptor prop_attributes = new PropertyDescriptor(
1101: "attributes", beanClass, "getAttributes", null);
1102: prop_attributes.setDisplayName(resources
1103: .getString("TableRowGroup_attributes_DisplayName"));
1104: prop_attributes.setShortDescription(resources
1105: .getString("TableRowGroup_attributes_Description"));
1106: prop_attributes.setExpert(false);
1107: prop_attributes.setHidden(true);
1108: prop_attributes.setPreferred(false);
1109: prop_attributes
1110: .setValue(
1111: Constants.PropertyDescriptor.CATEGORY,
1112: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1113:
1114: PropertyDescriptor prop_childCount = new PropertyDescriptor(
1115: "childCount", beanClass, "getChildCount", null);
1116: prop_childCount.setDisplayName(resources
1117: .getString("TableRowGroup_childCount_DisplayName"));
1118: prop_childCount.setShortDescription(resources
1119: .getString("TableRowGroup_childCount_Description"));
1120: prop_childCount.setExpert(false);
1121: prop_childCount.setHidden(true);
1122: prop_childCount.setPreferred(false);
1123: prop_childCount
1124: .setValue(
1125: Constants.PropertyDescriptor.CATEGORY,
1126: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1127:
1128: PropertyDescriptor prop_children = new PropertyDescriptor(
1129: "children", beanClass, "getChildren", null);
1130: prop_children.setDisplayName(resources
1131: .getString("TableRowGroup_children_DisplayName"));
1132: prop_children.setShortDescription(resources
1133: .getString("TableRowGroup_children_Description"));
1134: prop_children.setExpert(false);
1135: prop_children.setHidden(true);
1136: prop_children.setPreferred(false);
1137: prop_children
1138: .setValue(
1139: Constants.PropertyDescriptor.CATEGORY,
1140: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1141:
1142: PropertyDescriptor prop_facets = new PropertyDescriptor(
1143: "facets", beanClass, "getFacets", null);
1144: prop_facets.setDisplayName(resources
1145: .getString("TableRowGroup_facets_DisplayName"));
1146: prop_facets.setShortDescription(resources
1147: .getString("TableRowGroup_facets_Description"));
1148: prop_facets.setExpert(false);
1149: prop_facets.setHidden(true);
1150: prop_facets.setPreferred(false);
1151: prop_facets
1152: .setValue(
1153: Constants.PropertyDescriptor.CATEGORY,
1154: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1155:
1156: PropertyDescriptor prop_family = new PropertyDescriptor(
1157: "family", beanClass, "getFamily", null);
1158: prop_family.setDisplayName(resources
1159: .getString("TableRowGroup_family_DisplayName"));
1160: prop_family.setShortDescription(resources
1161: .getString("TableRowGroup_family_Description"));
1162: prop_family.setExpert(false);
1163: prop_family.setHidden(true);
1164: prop_family.setPreferred(false);
1165: prop_family
1166: .setValue(
1167: Constants.PropertyDescriptor.CATEGORY,
1168: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1169:
1170: PropertyDescriptor prop_id = new PropertyDescriptor("id",
1171: beanClass, "getId", "setId");
1172: prop_id.setDisplayName(resources
1173: .getString("TableRowGroup_id_DisplayName"));
1174: prop_id.setShortDescription(resources
1175: .getString("TableRowGroup_id_Description"));
1176: prop_id.setExpert(false);
1177: prop_id.setHidden(true);
1178: prop_id.setPreferred(false);
1179: attrib = new AttributeDescriptor("id", false, null, false);
1180: prop_id.setValue(
1181: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1182: attrib);
1183: prop_id
1184: .setValue(
1185: Constants.PropertyDescriptor.CATEGORY,
1186: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
1187:
1188: PropertyDescriptor prop_parent = new PropertyDescriptor(
1189: "parent", beanClass, "getParent", "setParent");
1190: prop_parent.setDisplayName(resources
1191: .getString("TableRowGroup_parent_DisplayName"));
1192: prop_parent.setShortDescription(resources
1193: .getString("TableRowGroup_parent_Description"));
1194: prop_parent.setExpert(false);
1195: prop_parent.setHidden(true);
1196: prop_parent.setPreferred(false);
1197: prop_parent
1198: .setValue(
1199: Constants.PropertyDescriptor.CATEGORY,
1200: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1201:
1202: PropertyDescriptor prop_rendered = new PropertyDescriptor(
1203: "rendered", beanClass, "isRendered", "setRendered");
1204: prop_rendered.setDisplayName(resources
1205: .getString("TableRowGroup_rendered_DisplayName"));
1206: prop_rendered.setShortDescription(resources
1207: .getString("TableRowGroup_rendered_Description"));
1208: prop_rendered.setExpert(false);
1209: prop_rendered.setHidden(false);
1210: prop_rendered.setPreferred(false);
1211: attrib = new AttributeDescriptor("rendered", false, null,
1212: true);
1213: prop_rendered.setValue(
1214: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1215: attrib);
1216: prop_rendered
1217: .setValue(
1218: Constants.PropertyDescriptor.CATEGORY,
1219: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1220:
1221: PropertyDescriptor prop_rendererType = new PropertyDescriptor(
1222: "rendererType", beanClass, "getRendererType",
1223: "setRendererType");
1224: prop_rendererType
1225: .setDisplayName(resources
1226: .getString("TableRowGroup_rendererType_DisplayName"));
1227: prop_rendererType
1228: .setShortDescription(resources
1229: .getString("TableRowGroup_rendererType_Description"));
1230: prop_rendererType.setExpert(false);
1231: prop_rendererType.setHidden(true);
1232: prop_rendererType.setPreferred(false);
1233: prop_rendererType
1234: .setValue(
1235: Constants.PropertyDescriptor.CATEGORY,
1236: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1237:
1238: PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
1239: "rendersChildren", beanClass, "getRendersChildren",
1240: null);
1241: prop_rendersChildren
1242: .setDisplayName(resources
1243: .getString("TableRowGroup_rendersChildren_DisplayName"));
1244: prop_rendersChildren
1245: .setShortDescription(resources
1246: .getString("TableRowGroup_rendersChildren_Description"));
1247: prop_rendersChildren.setExpert(false);
1248: prop_rendersChildren.setHidden(true);
1249: prop_rendersChildren.setPreferred(false);
1250: prop_rendersChildren
1251: .setValue(
1252: Constants.PropertyDescriptor.CATEGORY,
1253: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1254:
1255: propDescriptors = new PropertyDescriptor[] {
1256: prop_aboveColumnFooter, prop_aboveColumnHeader,
1257: prop_align, prop_attributes, prop_bgColor,
1258: prop_char, prop_charOff, prop_childCount,
1259: prop_children, prop_collapsed, prop_emptyDataMsg,
1260: prop_extraFooterHtml, prop_extraHeaderHtml,
1261: prop_facets, prop_family, prop_first,
1262: prop_footerText, prop_groupToggleButton,
1263: prop_headerText, prop_id,
1264: prop_multipleColumnFooters,
1265: prop_multipleTableColumnFooters, prop_onClick,
1266: prop_onDblClick, prop_onKeyDown, prop_onKeyPress,
1267: prop_onKeyUp, prop_onMouseDown, prop_onMouseMove,
1268: prop_onMouseOut, prop_onMouseOver, prop_onMouseUp,
1269: prop_parent, prop_rendered, prop_rendererType,
1270: prop_rendersChildren, prop_rows,
1271: prop_selectMultipleToggleButton, prop_selected,
1272: prop_sourceData, prop_sourceVar, prop_styleClasses,
1273: prop_tableDataFilter, prop_tableDataSorter,
1274: prop_toolTip, prop_valign, prop_visible, };
1275: return propDescriptors;
1276:
1277: } catch (IntrospectionException e) {
1278: e.printStackTrace();
1279: return null;
1280: }
1281:
1282: }
1283:
1284: }
1285: //GEN-END:BeanInfo
|