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 TableFooterBeanInfoBase 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(), TableFooterBeanInfoBase.class
0071: .getClassLoader());
0072:
0073: /**
0074: * <p>Construct a new <code>TableFooterBeanInfoBase</code>.</p>
0075: */
0076: public TableFooterBeanInfoBase() {
0077:
0078: beanClass = com.sun.rave.web.ui.component.TableFooter.class;
0079: iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/TableFooter_C16";
0080: iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/TableFooter_C32";
0081: iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/TableFooter_M16";
0082: iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/TableFooter_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("TableFooter_DisplayName"));
0143: beanDescriptor.setShortDescription(resources
0144: .getString("TableFooter_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.INSTANCE_NAME,
0152: "tableFooter");
0153: beanDescriptor.setValue(Constants.BeanDescriptor.IS_CONTAINER,
0154: Boolean.TRUE);
0155: beanDescriptor.setValue(
0156: Constants.BeanDescriptor.PROPERTY_CATEGORIES,
0157: getCategoryDescriptors());
0158: beanDescriptor.setValue(Constants.BeanDescriptor.TAG_NAME,
0159: "tableFooter");
0160: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_PREFIX,
0161: "ui");
0162: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_URI,
0163: "http://www.sun.com/web/ui");
0164:
0165: return beanDescriptor;
0166:
0167: }
0168:
0169: /**
0170: * <p>Return the <code>CategoryDescriptor</code> array for the property categories of this component.</p>
0171: */
0172: private CategoryDescriptor[] getCategoryDescriptors() {
0173:
0174: return com.sun.rave.designtime.base.CategoryDescriptors
0175: .getDefaultCategoryDescriptors();
0176:
0177: }
0178:
0179: /**
0180: * <p>Return the index of the default property, or
0181: * -1 if there is no default property.</p>
0182: */
0183: public int getDefaultPropertyIndex() {
0184:
0185: if (defaultPropertyIndex > -2) {
0186: return defaultPropertyIndex;
0187: } else {
0188: if (defaultPropertyName == null) {
0189: defaultPropertyIndex = -1;
0190: } else {
0191: PropertyDescriptor pd[] = getPropertyDescriptors();
0192: for (int i = 0; i < pd.length; i++) {
0193: if (defaultPropertyName.equals(pd[i].getName())) {
0194: defaultPropertyIndex = i;
0195: break;
0196: }
0197: }
0198: }
0199: }
0200: return defaultPropertyIndex;
0201: }
0202:
0203: /**
0204: * <p>The cached facet descriptors.</p>
0205: */
0206: protected FacetDescriptor[] facetDescriptors;
0207:
0208: /**
0209: * <p>Return the <code>FacetDescriptor</code>s for this bean.</p>
0210: */
0211: public FacetDescriptor[] getFacetDescriptors() {
0212:
0213: if (facetDescriptors != null) {
0214: return facetDescriptors;
0215: }
0216: facetDescriptors = new FacetDescriptor[] {};
0217: return facetDescriptors;
0218:
0219: }
0220:
0221: /**
0222: * <p>Return the specified image (if any)
0223: * for this component class.</p>
0224: */
0225: public Image getIcon(int kind) {
0226:
0227: String name;
0228: switch (kind) {
0229: case ICON_COLOR_16x16:
0230: name = iconFileName_C16;
0231: break;
0232: case ICON_COLOR_32x32:
0233: name = iconFileName_C32;
0234: break;
0235: case ICON_MONO_16x16:
0236: name = iconFileName_M16;
0237: break;
0238: case ICON_MONO_32x32:
0239: name = iconFileName_M32;
0240: break;
0241: default:
0242: name = null;
0243: break;
0244: }
0245: if (name == null) {
0246: return null;
0247: }
0248:
0249: Image image = loadImage(name + ".png");
0250: if (image == null) {
0251: image = loadImage(name + ".gif");
0252: }
0253: return image;
0254:
0255: }
0256:
0257: /**
0258: * <p>Return a class loaded by name via the class loader that loaded this class.</p>
0259: */
0260: private java.lang.Class loadClass(java.lang.String name) {
0261:
0262: try {
0263: return Class.forName(name);
0264: } catch (ClassNotFoundException e) {
0265: throw new RuntimeException(e);
0266: }
0267:
0268: }
0269:
0270: /**
0271: * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
0272: */
0273: public PropertyDescriptor[] getPropertyDescriptors() {
0274:
0275: if (propDescriptors != null) {
0276: return propDescriptors;
0277: }
0278: AttributeDescriptor attrib = null;
0279:
0280: try {
0281:
0282: PropertyDescriptor prop_abbr = new PropertyDescriptor(
0283: "abbr", beanClass, "getAbbr", "setAbbr");
0284: prop_abbr.setDisplayName(resources
0285: .getString("TableFooter_abbr_DisplayName"));
0286: prop_abbr.setShortDescription(resources
0287: .getString("TableFooter_abbr_Description"));
0288: prop_abbr.setExpert(false);
0289: prop_abbr.setHidden(false);
0290: prop_abbr.setPreferred(false);
0291: prop_abbr
0292: .setValue(
0293: Constants.PropertyDescriptor.CATEGORY,
0294: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0295:
0296: PropertyDescriptor prop_align = new PropertyDescriptor(
0297: "align", beanClass, "getAlign", "setAlign");
0298: prop_align.setDisplayName(resources
0299: .getString("TableFooter_align_DisplayName"));
0300: prop_align.setShortDescription(resources
0301: .getString("TableFooter_align_Description"));
0302: prop_align.setExpert(false);
0303: prop_align.setHidden(false);
0304: prop_align.setPreferred(false);
0305: attrib = new AttributeDescriptor("align", false, null, true);
0306: prop_align.setValue(
0307: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0308: attrib);
0309: prop_align
0310: .setValue(
0311: Constants.PropertyDescriptor.CATEGORY,
0312: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0313:
0314: PropertyDescriptor prop_axis = new PropertyDescriptor(
0315: "axis", beanClass, "getAxis", "setAxis");
0316: prop_axis.setDisplayName(resources
0317: .getString("TableFooter_axis_DisplayName"));
0318: prop_axis.setShortDescription(resources
0319: .getString("TableFooter_axis_Description"));
0320: prop_axis.setExpert(false);
0321: prop_axis.setHidden(false);
0322: prop_axis.setPreferred(false);
0323: prop_axis
0324: .setValue(
0325: Constants.PropertyDescriptor.CATEGORY,
0326: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0327:
0328: PropertyDescriptor prop_bgColor = new PropertyDescriptor(
0329: "bgColor", beanClass, "getBgColor", "setBgColor");
0330: prop_bgColor.setDisplayName(resources
0331: .getString("TableFooter_bgColor_DisplayName"));
0332: prop_bgColor.setShortDescription(resources
0333: .getString("TableFooter_bgColor_Description"));
0334: prop_bgColor.setExpert(false);
0335: prop_bgColor.setHidden(false);
0336: prop_bgColor.setPreferred(false);
0337: prop_bgColor
0338: .setValue(
0339: Constants.PropertyDescriptor.CATEGORY,
0340: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0341:
0342: PropertyDescriptor prop_char = new PropertyDescriptor(
0343: "char", beanClass, "getChar", "setChar");
0344: prop_char.setDisplayName(resources
0345: .getString("TableFooter_char_DisplayName"));
0346: prop_char.setShortDescription(resources
0347: .getString("TableFooter_char_Description"));
0348: prop_char.setExpert(false);
0349: prop_char.setHidden(false);
0350: prop_char.setPreferred(false);
0351: prop_char
0352: .setValue(
0353: Constants.PropertyDescriptor.CATEGORY,
0354: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0355:
0356: PropertyDescriptor prop_charOff = new PropertyDescriptor(
0357: "charOff", beanClass, "getCharOff", "setCharOff");
0358: prop_charOff.setDisplayName(resources
0359: .getString("TableFooter_charOff_DisplayName"));
0360: prop_charOff.setShortDescription(resources
0361: .getString("TableFooter_charOff_Description"));
0362: prop_charOff.setExpert(false);
0363: prop_charOff.setHidden(false);
0364: prop_charOff.setPreferred(false);
0365: prop_charOff
0366: .setValue(
0367: Constants.PropertyDescriptor.CATEGORY,
0368: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0369:
0370: PropertyDescriptor prop_colSpan = new PropertyDescriptor(
0371: "colSpan", beanClass, "getColSpan", "setColSpan");
0372: prop_colSpan.setDisplayName(resources
0373: .getString("TableFooter_colSpan_DisplayName"));
0374: prop_colSpan.setShortDescription(resources
0375: .getString("TableFooter_colSpan_Description"));
0376: prop_colSpan.setExpert(false);
0377: prop_colSpan.setHidden(false);
0378: prop_colSpan.setPreferred(false);
0379: prop_colSpan
0380: .setValue(
0381: Constants.PropertyDescriptor.CATEGORY,
0382: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0383:
0384: PropertyDescriptor prop_extraHtml = new PropertyDescriptor(
0385: "extraHtml", beanClass, "getExtraHtml",
0386: "setExtraHtml");
0387: prop_extraHtml.setDisplayName(resources
0388: .getString("TableFooter_extraHtml_DisplayName"));
0389: prop_extraHtml.setShortDescription(resources
0390: .getString("TableFooter_extraHtml_Description"));
0391: prop_extraHtml.setExpert(false);
0392: prop_extraHtml.setHidden(false);
0393: prop_extraHtml.setPreferred(false);
0394: attrib = new AttributeDescriptor("extraHtml", false, null,
0395: true);
0396: prop_extraHtml.setValue(
0397: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0398: attrib);
0399: prop_extraHtml
0400: .setValue(
0401: Constants.PropertyDescriptor.CATEGORY,
0402: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0403:
0404: PropertyDescriptor prop_groupFooter = new PropertyDescriptor(
0405: "groupFooter", beanClass, "isGroupFooter",
0406: "setGroupFooter");
0407: prop_groupFooter.setDisplayName(resources
0408: .getString("TableFooter_groupFooter_DisplayName"));
0409: prop_groupFooter.setShortDescription(resources
0410: .getString("TableFooter_groupFooter_Description"));
0411: prop_groupFooter.setExpert(false);
0412: prop_groupFooter.setHidden(false);
0413: prop_groupFooter.setPreferred(false);
0414: prop_groupFooter
0415: .setValue(
0416: Constants.PropertyDescriptor.CATEGORY,
0417: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0418:
0419: PropertyDescriptor prop_headers = new PropertyDescriptor(
0420: "headers", beanClass, "getHeaders", "setHeaders");
0421: prop_headers.setDisplayName(resources
0422: .getString("TableFooter_headers_DisplayName"));
0423: prop_headers.setShortDescription(resources
0424: .getString("TableFooter_headers_Description"));
0425: prop_headers.setExpert(false);
0426: prop_headers.setHidden(false);
0427: prop_headers.setPreferred(false);
0428: prop_headers
0429: .setValue(
0430: Constants.PropertyDescriptor.CATEGORY,
0431: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0432:
0433: PropertyDescriptor prop_height = new PropertyDescriptor(
0434: "height", beanClass, "getHeight", "setHeight");
0435: prop_height.setDisplayName(resources
0436: .getString("TableFooter_height_DisplayName"));
0437: prop_height.setShortDescription(resources
0438: .getString("TableFooter_height_Description"));
0439: prop_height.setExpert(false);
0440: prop_height.setHidden(false);
0441: prop_height.setPreferred(false);
0442: attrib = new AttributeDescriptor("height", false, null,
0443: true);
0444: prop_height.setValue(
0445: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0446: attrib);
0447: prop_height
0448: .setValue(
0449: Constants.PropertyDescriptor.CATEGORY,
0450: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0451:
0452: PropertyDescriptor prop_noWrap = new PropertyDescriptor(
0453: "noWrap", beanClass, "isNoWrap", "setNoWrap");
0454: prop_noWrap.setDisplayName(resources
0455: .getString("TableFooter_noWrap_DisplayName"));
0456: prop_noWrap.setShortDescription(resources
0457: .getString("TableFooter_noWrap_Description"));
0458: prop_noWrap.setExpert(false);
0459: prop_noWrap.setHidden(false);
0460: prop_noWrap.setPreferred(false);
0461: attrib = new AttributeDescriptor("noWrap", false, null,
0462: true);
0463: prop_noWrap.setValue(
0464: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0465: attrib);
0466: prop_noWrap
0467: .setValue(
0468: Constants.PropertyDescriptor.CATEGORY,
0469: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0470:
0471: PropertyDescriptor prop_onClick = new PropertyDescriptor(
0472: "onClick", beanClass, "getOnClick", "setOnClick");
0473: prop_onClick.setDisplayName(resources
0474: .getString("TableFooter_onClick_DisplayName"));
0475: prop_onClick.setShortDescription(resources
0476: .getString("TableFooter_onClick_Description"));
0477: prop_onClick.setExpert(false);
0478: prop_onClick.setHidden(false);
0479: prop_onClick.setPreferred(false);
0480: attrib = new AttributeDescriptor("onClick", false, null,
0481: true);
0482: prop_onClick.setValue(
0483: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0484: attrib);
0485: prop_onClick
0486: .setValue(
0487: Constants.PropertyDescriptor.CATEGORY,
0488: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0489:
0490: PropertyDescriptor prop_onDblClick = new PropertyDescriptor(
0491: "onDblClick", beanClass, "getOnDblClick",
0492: "setOnDblClick");
0493: prop_onDblClick.setDisplayName(resources
0494: .getString("TableFooter_onDblClick_DisplayName"));
0495: prop_onDblClick.setShortDescription(resources
0496: .getString("TableFooter_onDblClick_Description"));
0497: prop_onDblClick.setExpert(false);
0498: prop_onDblClick.setHidden(false);
0499: prop_onDblClick.setPreferred(false);
0500: attrib = new AttributeDescriptor("onDblClick", false, null,
0501: true);
0502: prop_onDblClick.setValue(
0503: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0504: attrib);
0505: prop_onDblClick
0506: .setValue(
0507: Constants.PropertyDescriptor.CATEGORY,
0508: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0509:
0510: PropertyDescriptor prop_onKeyDown = new PropertyDescriptor(
0511: "onKeyDown", beanClass, "getOnKeyDown",
0512: "setOnKeyDown");
0513: prop_onKeyDown.setDisplayName(resources
0514: .getString("TableFooter_onKeyDown_DisplayName"));
0515: prop_onKeyDown.setShortDescription(resources
0516: .getString("TableFooter_onKeyDown_Description"));
0517: prop_onKeyDown.setExpert(false);
0518: prop_onKeyDown.setHidden(false);
0519: prop_onKeyDown.setPreferred(false);
0520: attrib = new AttributeDescriptor("onKeyDown", false, null,
0521: true);
0522: prop_onKeyDown.setValue(
0523: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0524: attrib);
0525: prop_onKeyDown
0526: .setValue(
0527: Constants.PropertyDescriptor.CATEGORY,
0528: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0529:
0530: PropertyDescriptor prop_onKeyPress = new PropertyDescriptor(
0531: "onKeyPress", beanClass, "getOnKeyPress",
0532: "setOnKeyPress");
0533: prop_onKeyPress.setDisplayName(resources
0534: .getString("TableFooter_onKeyPress_DisplayName"));
0535: prop_onKeyPress.setShortDescription(resources
0536: .getString("TableFooter_onKeyPress_Description"));
0537: prop_onKeyPress.setExpert(false);
0538: prop_onKeyPress.setHidden(false);
0539: prop_onKeyPress.setPreferred(false);
0540: attrib = new AttributeDescriptor("onKeyPress", false, null,
0541: true);
0542: prop_onKeyPress.setValue(
0543: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0544: attrib);
0545: prop_onKeyPress
0546: .setValue(
0547: Constants.PropertyDescriptor.CATEGORY,
0548: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0549:
0550: PropertyDescriptor prop_onKeyUp = new PropertyDescriptor(
0551: "onKeyUp", beanClass, "getOnKeyUp", "setOnKeyUp");
0552: prop_onKeyUp.setDisplayName(resources
0553: .getString("TableFooter_onKeyUp_DisplayName"));
0554: prop_onKeyUp.setShortDescription(resources
0555: .getString("TableFooter_onKeyUp_Description"));
0556: prop_onKeyUp.setExpert(false);
0557: prop_onKeyUp.setHidden(false);
0558: prop_onKeyUp.setPreferred(false);
0559: attrib = new AttributeDescriptor("onKeyUp", false, null,
0560: true);
0561: prop_onKeyUp.setValue(
0562: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0563: attrib);
0564: prop_onKeyUp
0565: .setValue(
0566: Constants.PropertyDescriptor.CATEGORY,
0567: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0568:
0569: PropertyDescriptor prop_onMouseDown = new PropertyDescriptor(
0570: "onMouseDown", beanClass, "getOnMouseDown",
0571: "setOnMouseDown");
0572: prop_onMouseDown.setDisplayName(resources
0573: .getString("TableFooter_onMouseDown_DisplayName"));
0574: prop_onMouseDown.setShortDescription(resources
0575: .getString("TableFooter_onMouseDown_Description"));
0576: prop_onMouseDown.setExpert(false);
0577: prop_onMouseDown.setHidden(false);
0578: prop_onMouseDown.setPreferred(false);
0579: attrib = new AttributeDescriptor("onMouseDown", false,
0580: null, true);
0581: prop_onMouseDown.setValue(
0582: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0583: attrib);
0584: prop_onMouseDown
0585: .setValue(
0586: Constants.PropertyDescriptor.CATEGORY,
0587: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0588:
0589: PropertyDescriptor prop_onMouseMove = new PropertyDescriptor(
0590: "onMouseMove", beanClass, "getOnMouseMove",
0591: "setOnMouseMove");
0592: prop_onMouseMove.setDisplayName(resources
0593: .getString("TableFooter_onMouseMove_DisplayName"));
0594: prop_onMouseMove.setShortDescription(resources
0595: .getString("TableFooter_onMouseMove_Description"));
0596: prop_onMouseMove.setExpert(false);
0597: prop_onMouseMove.setHidden(false);
0598: prop_onMouseMove.setPreferred(false);
0599: attrib = new AttributeDescriptor("onMouseMove", false,
0600: null, true);
0601: prop_onMouseMove.setValue(
0602: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0603: attrib);
0604: prop_onMouseMove
0605: .setValue(
0606: Constants.PropertyDescriptor.CATEGORY,
0607: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0608:
0609: PropertyDescriptor prop_onMouseOut = new PropertyDescriptor(
0610: "onMouseOut", beanClass, "getOnMouseOut",
0611: "setOnMouseOut");
0612: prop_onMouseOut.setDisplayName(resources
0613: .getString("TableFooter_onMouseOut_DisplayName"));
0614: prop_onMouseOut.setShortDescription(resources
0615: .getString("TableFooter_onMouseOut_Description"));
0616: prop_onMouseOut.setExpert(false);
0617: prop_onMouseOut.setHidden(false);
0618: prop_onMouseOut.setPreferred(false);
0619: attrib = new AttributeDescriptor("onMouseOut", false, null,
0620: true);
0621: prop_onMouseOut.setValue(
0622: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0623: attrib);
0624: prop_onMouseOut
0625: .setValue(
0626: Constants.PropertyDescriptor.CATEGORY,
0627: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0628:
0629: PropertyDescriptor prop_onMouseOver = new PropertyDescriptor(
0630: "onMouseOver", beanClass, "getOnMouseOver",
0631: "setOnMouseOver");
0632: prop_onMouseOver.setDisplayName(resources
0633: .getString("TableFooter_onMouseOver_DisplayName"));
0634: prop_onMouseOver.setShortDescription(resources
0635: .getString("TableFooter_onMouseOver_Description"));
0636: prop_onMouseOver.setExpert(false);
0637: prop_onMouseOver.setHidden(false);
0638: prop_onMouseOver.setPreferred(false);
0639: attrib = new AttributeDescriptor("onMouseOver", false,
0640: null, true);
0641: prop_onMouseOver.setValue(
0642: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0643: attrib);
0644: prop_onMouseOver
0645: .setValue(
0646: Constants.PropertyDescriptor.CATEGORY,
0647: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0648:
0649: PropertyDescriptor prop_onMouseUp = new PropertyDescriptor(
0650: "onMouseUp", beanClass, "getOnMouseUp",
0651: "setOnMouseUp");
0652: prop_onMouseUp.setDisplayName(resources
0653: .getString("TableFooter_onMouseUp_DisplayName"));
0654: prop_onMouseUp.setShortDescription(resources
0655: .getString("TableFooter_onMouseUp_Description"));
0656: prop_onMouseUp.setExpert(false);
0657: prop_onMouseUp.setHidden(false);
0658: prop_onMouseUp.setPreferred(false);
0659: attrib = new AttributeDescriptor("onMouseUp", false, null,
0660: true);
0661: prop_onMouseUp.setValue(
0662: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0663: attrib);
0664: prop_onMouseUp
0665: .setValue(
0666: Constants.PropertyDescriptor.CATEGORY,
0667: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0668:
0669: PropertyDescriptor prop_rowSpan = new PropertyDescriptor(
0670: "rowSpan", beanClass, "getRowSpan", "setRowSpan");
0671: prop_rowSpan.setDisplayName(resources
0672: .getString("TableFooter_rowSpan_DisplayName"));
0673: prop_rowSpan.setShortDescription(resources
0674: .getString("TableFooter_rowSpan_Description"));
0675: prop_rowSpan.setExpert(false);
0676: prop_rowSpan.setHidden(false);
0677: prop_rowSpan.setPreferred(false);
0678: prop_rowSpan
0679: .setValue(
0680: Constants.PropertyDescriptor.CATEGORY,
0681: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0682:
0683: PropertyDescriptor prop_scope = new PropertyDescriptor(
0684: "scope", beanClass, "getScope", "setScope");
0685: prop_scope.setDisplayName(resources
0686: .getString("TableFooter_scope_DisplayName"));
0687: prop_scope.setShortDescription(resources
0688: .getString("TableFooter_scope_Description"));
0689: prop_scope.setExpert(false);
0690: prop_scope.setHidden(false);
0691: prop_scope.setPreferred(false);
0692: attrib = new AttributeDescriptor("scope", false, null, true);
0693: prop_scope.setValue(
0694: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0695: attrib);
0696: prop_scope
0697: .setValue(
0698: Constants.PropertyDescriptor.CATEGORY,
0699: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0700:
0701: PropertyDescriptor prop_style = new PropertyDescriptor(
0702: "style", beanClass, "getStyle", "setStyle");
0703: prop_style.setDisplayName(resources
0704: .getString("TableFooter_style_DisplayName"));
0705: prop_style.setShortDescription(resources
0706: .getString("TableFooter_style_Description"));
0707: prop_style.setExpert(false);
0708: prop_style.setHidden(false);
0709: prop_style.setPreferred(false);
0710: attrib = new AttributeDescriptor("style", false, null, true);
0711: prop_style.setValue(
0712: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0713: attrib);
0714: prop_style
0715: .setValue(
0716: Constants.PropertyDescriptor.CATEGORY,
0717: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0718:
0719: PropertyDescriptor prop_styleClass = new PropertyDescriptor(
0720: "styleClass", beanClass, "getStyleClass",
0721: "setStyleClass");
0722: prop_styleClass.setDisplayName(resources
0723: .getString("TableFooter_styleClass_DisplayName"));
0724: prop_styleClass.setShortDescription(resources
0725: .getString("TableFooter_styleClass_Description"));
0726: prop_styleClass.setExpert(false);
0727: prop_styleClass.setHidden(false);
0728: prop_styleClass.setPreferred(false);
0729: attrib = new AttributeDescriptor("styleClass", false, null,
0730: true);
0731: prop_styleClass.setValue(
0732: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0733: attrib);
0734: prop_styleClass
0735: .setValue(
0736: Constants.PropertyDescriptor.CATEGORY,
0737: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0738:
0739: PropertyDescriptor prop_tableColumnFooter = new PropertyDescriptor(
0740: "tableColumnFooter", beanClass,
0741: "isTableColumnFooter", "setTableColumnFooter");
0742: prop_tableColumnFooter
0743: .setDisplayName(resources
0744: .getString("TableFooter_tableColumnFooter_DisplayName"));
0745: prop_tableColumnFooter
0746: .setShortDescription(resources
0747: .getString("TableFooter_tableColumnFooter_Description"));
0748: prop_tableColumnFooter.setExpert(false);
0749: prop_tableColumnFooter.setHidden(false);
0750: prop_tableColumnFooter.setPreferred(false);
0751: prop_tableColumnFooter
0752: .setValue(
0753: Constants.PropertyDescriptor.CATEGORY,
0754: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0755:
0756: PropertyDescriptor prop_tableFooter = new PropertyDescriptor(
0757: "tableFooter", beanClass, "isTableFooter",
0758: "setTableFooter");
0759: prop_tableFooter.setDisplayName(resources
0760: .getString("TableFooter_tableFooter_DisplayName"));
0761: prop_tableFooter.setShortDescription(resources
0762: .getString("TableFooter_tableFooter_Description"));
0763: prop_tableFooter.setExpert(false);
0764: prop_tableFooter.setHidden(false);
0765: prop_tableFooter.setPreferred(false);
0766: prop_tableFooter
0767: .setValue(
0768: Constants.PropertyDescriptor.CATEGORY,
0769: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0770:
0771: PropertyDescriptor prop_toolTip = new PropertyDescriptor(
0772: "toolTip", beanClass, "getToolTip", "setToolTip");
0773: prop_toolTip.setDisplayName(resources
0774: .getString("TableFooter_toolTip_DisplayName"));
0775: prop_toolTip.setShortDescription(resources
0776: .getString("TableFooter_toolTip_Description"));
0777: prop_toolTip.setExpert(false);
0778: prop_toolTip.setHidden(false);
0779: prop_toolTip.setPreferred(false);
0780: attrib = new AttributeDescriptor("toolTip", false, null,
0781: true);
0782: prop_toolTip.setValue(
0783: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0784: attrib);
0785: prop_toolTip
0786: .setValue(
0787: Constants.PropertyDescriptor.CATEGORY,
0788: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0789:
0790: PropertyDescriptor prop_valign = new PropertyDescriptor(
0791: "valign", beanClass, "getValign", "setValign");
0792: prop_valign.setDisplayName(resources
0793: .getString("TableFooter_valign_DisplayName"));
0794: prop_valign.setShortDescription(resources
0795: .getString("TableFooter_valign_Description"));
0796: prop_valign.setExpert(false);
0797: prop_valign.setHidden(false);
0798: prop_valign.setPreferred(false);
0799: attrib = new AttributeDescriptor("valign", false, null,
0800: true);
0801: prop_valign.setValue(
0802: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0803: attrib);
0804: prop_valign
0805: .setValue(
0806: Constants.PropertyDescriptor.CATEGORY,
0807: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0808:
0809: PropertyDescriptor prop_visible = new PropertyDescriptor(
0810: "visible", beanClass, "isVisible", "setVisible");
0811: prop_visible.setDisplayName(resources
0812: .getString("TableFooter_visible_DisplayName"));
0813: prop_visible.setShortDescription(resources
0814: .getString("TableFooter_visible_Description"));
0815: prop_visible.setExpert(false);
0816: prop_visible.setHidden(false);
0817: prop_visible.setPreferred(false);
0818: attrib = new AttributeDescriptor("visible", false, "true",
0819: true);
0820: prop_visible.setValue(
0821: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0822: attrib);
0823: prop_visible
0824: .setValue(
0825: Constants.PropertyDescriptor.CATEGORY,
0826: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0827:
0828: PropertyDescriptor prop_width = new PropertyDescriptor(
0829: "width", beanClass, "getWidth", "setWidth");
0830: prop_width.setDisplayName(resources
0831: .getString("TableFooter_width_DisplayName"));
0832: prop_width.setShortDescription(resources
0833: .getString("TableFooter_width_Description"));
0834: prop_width.setExpert(false);
0835: prop_width.setHidden(false);
0836: prop_width.setPreferred(false);
0837: attrib = new AttributeDescriptor("width", false, null, true);
0838: prop_width.setValue(
0839: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0840: attrib);
0841: prop_width
0842: .setValue(
0843: Constants.PropertyDescriptor.CATEGORY,
0844: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0845:
0846: PropertyDescriptor prop_attributes = new PropertyDescriptor(
0847: "attributes", beanClass, "getAttributes", null);
0848: prop_attributes.setDisplayName(resources
0849: .getString("TableFooter_attributes_DisplayName"));
0850: prop_attributes.setShortDescription(resources
0851: .getString("TableFooter_attributes_Description"));
0852: prop_attributes.setExpert(false);
0853: prop_attributes.setHidden(true);
0854: prop_attributes.setPreferred(false);
0855: prop_attributes
0856: .setValue(
0857: Constants.PropertyDescriptor.CATEGORY,
0858: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0859:
0860: PropertyDescriptor prop_childCount = new PropertyDescriptor(
0861: "childCount", beanClass, "getChildCount", null);
0862: prop_childCount.setDisplayName(resources
0863: .getString("TableFooter_childCount_DisplayName"));
0864: prop_childCount.setShortDescription(resources
0865: .getString("TableFooter_childCount_Description"));
0866: prop_childCount.setExpert(false);
0867: prop_childCount.setHidden(true);
0868: prop_childCount.setPreferred(false);
0869: prop_childCount
0870: .setValue(
0871: Constants.PropertyDescriptor.CATEGORY,
0872: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0873:
0874: PropertyDescriptor prop_children = new PropertyDescriptor(
0875: "children", beanClass, "getChildren", null);
0876: prop_children.setDisplayName(resources
0877: .getString("TableFooter_children_DisplayName"));
0878: prop_children.setShortDescription(resources
0879: .getString("TableFooter_children_Description"));
0880: prop_children.setExpert(false);
0881: prop_children.setHidden(true);
0882: prop_children.setPreferred(false);
0883: prop_children
0884: .setValue(
0885: Constants.PropertyDescriptor.CATEGORY,
0886: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0887:
0888: PropertyDescriptor prop_facets = new PropertyDescriptor(
0889: "facets", beanClass, "getFacets", null);
0890: prop_facets.setDisplayName(resources
0891: .getString("TableFooter_facets_DisplayName"));
0892: prop_facets.setShortDescription(resources
0893: .getString("TableFooter_facets_Description"));
0894: prop_facets.setExpert(false);
0895: prop_facets.setHidden(true);
0896: prop_facets.setPreferred(false);
0897: prop_facets
0898: .setValue(
0899: Constants.PropertyDescriptor.CATEGORY,
0900: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0901:
0902: PropertyDescriptor prop_family = new PropertyDescriptor(
0903: "family", beanClass, "getFamily", null);
0904: prop_family.setDisplayName(resources
0905: .getString("TableFooter_family_DisplayName"));
0906: prop_family.setShortDescription(resources
0907: .getString("TableFooter_family_Description"));
0908: prop_family.setExpert(false);
0909: prop_family.setHidden(true);
0910: prop_family.setPreferred(false);
0911: prop_family
0912: .setValue(
0913: Constants.PropertyDescriptor.CATEGORY,
0914: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0915:
0916: PropertyDescriptor prop_id = new PropertyDescriptor("id",
0917: beanClass, "getId", "setId");
0918: prop_id.setDisplayName(resources
0919: .getString("TableFooter_id_DisplayName"));
0920: prop_id.setShortDescription(resources
0921: .getString("TableFooter_id_Description"));
0922: prop_id.setExpert(false);
0923: prop_id.setHidden(true);
0924: prop_id.setPreferred(false);
0925: attrib = new AttributeDescriptor("id", false, null, false);
0926: prop_id.setValue(
0927: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0928: attrib);
0929: prop_id
0930: .setValue(
0931: Constants.PropertyDescriptor.CATEGORY,
0932: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0933:
0934: PropertyDescriptor prop_parent = new PropertyDescriptor(
0935: "parent", beanClass, "getParent", "setParent");
0936: prop_parent.setDisplayName(resources
0937: .getString("TableFooter_parent_DisplayName"));
0938: prop_parent.setShortDescription(resources
0939: .getString("TableFooter_parent_Description"));
0940: prop_parent.setExpert(false);
0941: prop_parent.setHidden(true);
0942: prop_parent.setPreferred(false);
0943: prop_parent
0944: .setValue(
0945: Constants.PropertyDescriptor.CATEGORY,
0946: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0947:
0948: PropertyDescriptor prop_rendered = new PropertyDescriptor(
0949: "rendered", beanClass, "isRendered", "setRendered");
0950: prop_rendered.setDisplayName(resources
0951: .getString("TableFooter_rendered_DisplayName"));
0952: prop_rendered.setShortDescription(resources
0953: .getString("TableFooter_rendered_Description"));
0954: prop_rendered.setExpert(false);
0955: prop_rendered.setHidden(false);
0956: prop_rendered.setPreferred(false);
0957: attrib = new AttributeDescriptor("rendered", false, null,
0958: true);
0959: prop_rendered.setValue(
0960: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0961: attrib);
0962: prop_rendered
0963: .setValue(
0964: Constants.PropertyDescriptor.CATEGORY,
0965: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0966:
0967: PropertyDescriptor prop_rendererType = new PropertyDescriptor(
0968: "rendererType", beanClass, "getRendererType",
0969: "setRendererType");
0970: prop_rendererType.setDisplayName(resources
0971: .getString("TableFooter_rendererType_DisplayName"));
0972: prop_rendererType.setShortDescription(resources
0973: .getString("TableFooter_rendererType_Description"));
0974: prop_rendererType.setExpert(false);
0975: prop_rendererType.setHidden(true);
0976: prop_rendererType.setPreferred(false);
0977: prop_rendererType
0978: .setValue(
0979: Constants.PropertyDescriptor.CATEGORY,
0980: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0981:
0982: PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
0983: "rendersChildren", beanClass, "getRendersChildren",
0984: null);
0985: prop_rendersChildren
0986: .setDisplayName(resources
0987: .getString("TableFooter_rendersChildren_DisplayName"));
0988: prop_rendersChildren
0989: .setShortDescription(resources
0990: .getString("TableFooter_rendersChildren_Description"));
0991: prop_rendersChildren.setExpert(false);
0992: prop_rendersChildren.setHidden(true);
0993: prop_rendersChildren.setPreferred(false);
0994: prop_rendersChildren
0995: .setValue(
0996: Constants.PropertyDescriptor.CATEGORY,
0997: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
0998:
0999: propDescriptors = new PropertyDescriptor[] { prop_abbr,
1000: prop_align, prop_attributes, prop_axis,
1001: prop_bgColor, prop_char, prop_charOff,
1002: prop_childCount, prop_children, prop_colSpan,
1003: prop_extraHtml, prop_facets, prop_family,
1004: prop_groupFooter, prop_headers, prop_height,
1005: prop_id, prop_noWrap, prop_onClick,
1006: prop_onDblClick, prop_onKeyDown, prop_onKeyPress,
1007: prop_onKeyUp, prop_onMouseDown, prop_onMouseMove,
1008: prop_onMouseOut, prop_onMouseOver, prop_onMouseUp,
1009: prop_parent, prop_rendered, prop_rendererType,
1010: prop_rendersChildren, prop_rowSpan, prop_scope,
1011: prop_style, prop_styleClass,
1012: prop_tableColumnFooter, prop_tableFooter,
1013: prop_toolTip, prop_valign, prop_visible,
1014: prop_width, };
1015: return propDescriptors;
1016:
1017: } catch (IntrospectionException e) {
1018: e.printStackTrace();
1019: return null;
1020: }
1021:
1022: }
1023:
1024: }
1025: //GEN-END:BeanInfo
|