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 IconHyperlinkBeanInfoBase 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: IconHyperlinkBeanInfoBase.class.getClassLoader());
0072:
0073: /**
0074: * <p>Construct a new <code>IconHyperlinkBeanInfoBase</code>.</p>
0075: */
0076: public IconHyperlinkBeanInfoBase() {
0077:
0078: beanClass = com.sun.rave.web.ui.component.IconHyperlink.class;
0079: defaultPropertyName = "url";
0080: iconFileName_C16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/IconHyperlink_C16";
0081: iconFileName_C32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/IconHyperlink_C32";
0082: iconFileName_M16 = "/org/netbeans/modules/visualweb/web/ui/dt/component/IconHyperlink_M16";
0083: iconFileName_M32 = "/org/netbeans/modules/visualweb/web/ui/dt/component/IconHyperlink_M32";
0084:
0085: }
0086:
0087: /**
0088: * <p>The bean class that this BeanInfo represents.
0089: */
0090: protected Class beanClass;
0091:
0092: /**
0093: * <p>The cached BeanDescriptor.</p>
0094: */
0095: protected BeanDescriptor beanDescriptor;
0096:
0097: /**
0098: * <p>The index of the default property.</p>
0099: */
0100: protected int defaultPropertyIndex = -2;
0101:
0102: /**
0103: * <p>The name of the default property.</p>
0104: */
0105: protected String defaultPropertyName;
0106:
0107: /**
0108: * <p>The 16x16 color icon.</p>
0109: */
0110: protected String iconFileName_C16;
0111:
0112: /**
0113: * <p>The 32x32 color icon.</p>
0114: */
0115: protected String iconFileName_C32;
0116:
0117: /**
0118: * <p>The 16x16 monochrome icon.</p>
0119: */
0120: protected String iconFileName_M16;
0121:
0122: /**
0123: * <p>The 32x32 monochrome icon.</p>
0124: */
0125: protected String iconFileName_M32;
0126:
0127: /**
0128: * <p>The cached property descriptors.</p>
0129: */
0130: protected PropertyDescriptor[] propDescriptors;
0131:
0132: /**
0133: * <p>Return the <code>BeanDescriptor</code> for this bean.</p>
0134: */
0135: public BeanDescriptor getBeanDescriptor() {
0136:
0137: if (beanDescriptor != null) {
0138: return beanDescriptor;
0139: }
0140:
0141: beanDescriptor = new BeanDescriptor(beanClass);
0142: beanDescriptor.setDisplayName(resources
0143: .getString("IconHyperlink_DisplayName"));
0144: beanDescriptor.setShortDescription(resources
0145: .getString("IconHyperlink_Description"));
0146: beanDescriptor.setExpert(false);
0147: beanDescriptor.setHidden(false);
0148: beanDescriptor.setPreferred(false);
0149: beanDescriptor.setValue(
0150: Constants.BeanDescriptor.FACET_DESCRIPTORS,
0151: getFacetDescriptors());
0152: beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME,
0153: "iconHyperlink");
0154: beanDescriptor.setValue(Constants.BeanDescriptor.IS_CONTAINER,
0155: Boolean.TRUE);
0156: beanDescriptor.setValue(
0157: Constants.BeanDescriptor.PROPERTY_CATEGORIES,
0158: getCategoryDescriptors());
0159: beanDescriptor.setValue(Constants.BeanDescriptor.TAG_NAME,
0160: "iconHyperlink");
0161: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_PREFIX,
0162: "ui");
0163: beanDescriptor.setValue(Constants.BeanDescriptor.TAGLIB_URI,
0164: "http://www.sun.com/web/ui");
0165:
0166: return beanDescriptor;
0167:
0168: }
0169:
0170: /**
0171: * <p>Return the <code>CategoryDescriptor</code> array for the property categories of this component.</p>
0172: */
0173: private CategoryDescriptor[] getCategoryDescriptors() {
0174:
0175: return com.sun.rave.designtime.base.CategoryDescriptors
0176: .getDefaultCategoryDescriptors();
0177:
0178: }
0179:
0180: /**
0181: * <p>Return the index of the default property, or
0182: * -1 if there is no default property.</p>
0183: */
0184: public int getDefaultPropertyIndex() {
0185:
0186: if (defaultPropertyIndex > -2) {
0187: return defaultPropertyIndex;
0188: } else {
0189: if (defaultPropertyName == null) {
0190: defaultPropertyIndex = -1;
0191: } else {
0192: PropertyDescriptor pd[] = getPropertyDescriptors();
0193: for (int i = 0; i < pd.length; i++) {
0194: if (defaultPropertyName.equals(pd[i].getName())) {
0195: defaultPropertyIndex = i;
0196: break;
0197: }
0198: }
0199: }
0200: }
0201: return defaultPropertyIndex;
0202: }
0203:
0204: /**
0205: * <p>The cached facet descriptors.</p>
0206: */
0207: protected FacetDescriptor[] facetDescriptors;
0208:
0209: /**
0210: * <p>Return the <code>FacetDescriptor</code>s for this bean.</p>
0211: */
0212: public FacetDescriptor[] getFacetDescriptors() {
0213:
0214: if (facetDescriptors != null) {
0215: return facetDescriptors;
0216: }
0217: facetDescriptors = new FacetDescriptor[] {};
0218: return facetDescriptors;
0219:
0220: }
0221:
0222: /**
0223: * <p>Return the specified image (if any)
0224: * for this component class.</p>
0225: */
0226: public Image getIcon(int kind) {
0227:
0228: String name;
0229: switch (kind) {
0230: case ICON_COLOR_16x16:
0231: name = iconFileName_C16;
0232: break;
0233: case ICON_COLOR_32x32:
0234: name = iconFileName_C32;
0235: break;
0236: case ICON_MONO_16x16:
0237: name = iconFileName_M16;
0238: break;
0239: case ICON_MONO_32x32:
0240: name = iconFileName_M32;
0241: break;
0242: default:
0243: name = null;
0244: break;
0245: }
0246: if (name == null) {
0247: return null;
0248: }
0249:
0250: Image image = loadImage(name + ".png");
0251: if (image == null) {
0252: image = loadImage(name + ".gif");
0253: }
0254: return image;
0255:
0256: }
0257:
0258: /**
0259: * <p>Return a class loaded by name via the class loader that loaded this class.</p>
0260: */
0261: private java.lang.Class loadClass(java.lang.String name) {
0262:
0263: try {
0264: return Class.forName(name);
0265: } catch (ClassNotFoundException e) {
0266: throw new RuntimeException(e);
0267: }
0268:
0269: }
0270:
0271: /**
0272: * <p>Return the <code>PropertyDescriptor</code>s for this bean.</p>
0273: */
0274: public PropertyDescriptor[] getPropertyDescriptors() {
0275:
0276: if (propDescriptors != null) {
0277: return propDescriptors;
0278: }
0279: AttributeDescriptor attrib = null;
0280:
0281: try {
0282:
0283: PropertyDescriptor prop_align = new PropertyDescriptor(
0284: "align", beanClass, "getAlign", "setAlign");
0285: prop_align.setDisplayName(resources
0286: .getString("IconHyperlink_align_DisplayName"));
0287: prop_align.setShortDescription(resources
0288: .getString("IconHyperlink_align_Description"));
0289: prop_align
0290: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0291: prop_align.setExpert(false);
0292: prop_align.setHidden(false);
0293: prop_align.setPreferred(false);
0294: attrib = new AttributeDescriptor("align", false, null, true);
0295: prop_align.setValue(
0296: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0297: attrib);
0298: prop_align
0299: .setValue(
0300: Constants.PropertyDescriptor.CATEGORY,
0301: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0302: prop_align
0303: .setValue(
0304: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0305: com.sun.rave.propertyeditors.domains.HtmlAlignDomain.class);
0306:
0307: PropertyDescriptor prop_alt = new PropertyDescriptor("alt",
0308: beanClass, "getAlt", "setAlt");
0309: prop_alt.setDisplayName(resources
0310: .getString("IconHyperlink_alt_DisplayName"));
0311: prop_alt.setShortDescription(resources
0312: .getString("IconHyperlink_alt_Description"));
0313: prop_alt
0314: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0315: prop_alt.setExpert(false);
0316: prop_alt.setHidden(false);
0317: prop_alt.setPreferred(false);
0318: attrib = new AttributeDescriptor("alt", false, null, true);
0319: prop_alt.setValue(
0320: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0321: attrib);
0322: prop_alt
0323: .setValue(
0324: Constants.PropertyDescriptor.CATEGORY,
0325: com.sun.rave.designtime.base.CategoryDescriptors.ACCESSIBILITY);
0326:
0327: PropertyDescriptor prop_border = new PropertyDescriptor(
0328: "border", beanClass, "getBorder", "setBorder");
0329: prop_border.setDisplayName(resources
0330: .getString("IconHyperlink_border_DisplayName"));
0331: prop_border.setShortDescription(resources
0332: .getString("IconHyperlink_border_Description"));
0333: prop_border
0334: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0335: prop_border.setExpert(false);
0336: prop_border.setHidden(false);
0337: prop_border.setPreferred(false);
0338: attrib = new AttributeDescriptor("border", false, null,
0339: true);
0340: prop_border.setValue(
0341: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0342: attrib);
0343: prop_border
0344: .setValue(
0345: Constants.PropertyDescriptor.CATEGORY,
0346: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0347: prop_border.setValue(
0348: "com.sun.rave.propertyeditors.MIN_VALUE", "0");
0349:
0350: PropertyDescriptor prop_height = new PropertyDescriptor(
0351: "height", beanClass, "getHeight", "setHeight");
0352: prop_height.setDisplayName(resources
0353: .getString("IconHyperlink_height_DisplayName"));
0354: prop_height.setShortDescription(resources
0355: .getString("IconHyperlink_height_Description"));
0356: prop_height
0357: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0358: prop_height.setExpert(false);
0359: prop_height.setHidden(false);
0360: prop_height.setPreferred(false);
0361: attrib = new AttributeDescriptor("height", false, null,
0362: true);
0363: prop_height.setValue(
0364: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0365: attrib);
0366: prop_height
0367: .setValue(
0368: Constants.PropertyDescriptor.CATEGORY,
0369: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0370: prop_height.setValue(
0371: "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0372:
0373: PropertyDescriptor prop_hspace = new PropertyDescriptor(
0374: "hspace", beanClass, "getHspace", "setHspace");
0375: prop_hspace.setDisplayName(resources
0376: .getString("IconHyperlink_hspace_DisplayName"));
0377: prop_hspace.setShortDescription(resources
0378: .getString("IconHyperlink_hspace_Description"));
0379: prop_hspace
0380: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0381: prop_hspace.setExpert(false);
0382: prop_hspace.setHidden(false);
0383: prop_hspace.setPreferred(false);
0384: attrib = new AttributeDescriptor("hspace", false, null,
0385: true);
0386: prop_hspace.setValue(
0387: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0388: attrib);
0389: prop_hspace
0390: .setValue(
0391: Constants.PropertyDescriptor.CATEGORY,
0392: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0393: prop_hspace.setValue(
0394: "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0395:
0396: PropertyDescriptor prop_icon = new PropertyDescriptor(
0397: "icon", beanClass, "getIcon", "setIcon");
0398: prop_icon.setDisplayName(resources
0399: .getString("IconHyperlink_icon_DisplayName"));
0400: prop_icon.setShortDescription(resources
0401: .getString("IconHyperlink_icon_Description"));
0402: prop_icon
0403: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0404: prop_icon.setExpert(false);
0405: prop_icon.setHidden(false);
0406: prop_icon.setPreferred(false);
0407: attrib = new AttributeDescriptor("icon", false, null, true);
0408: prop_icon.setValue(
0409: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0410: attrib);
0411: prop_icon
0412: .setValue(
0413: Constants.PropertyDescriptor.CATEGORY,
0414: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0415: prop_icon
0416: .setValue(
0417: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0418: org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.ThemeIconsDomain.class);
0419:
0420: PropertyDescriptor prop_imageURL = new PropertyDescriptor(
0421: "imageURL", beanClass, "getImageURL", "setImageURL");
0422: prop_imageURL.setDisplayName(resources
0423: .getString("IconHyperlink_imageURL_DisplayName"));
0424: prop_imageURL.setShortDescription(resources
0425: .getString("IconHyperlink_imageURL_Description"));
0426: prop_imageURL
0427: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.ImageUrlPropertyEditor"));
0428: prop_imageURL.setExpert(false);
0429: prop_imageURL.setHidden(false);
0430: prop_imageURL.setPreferred(false);
0431: attrib = new AttributeDescriptor("imageURL", false, null,
0432: true);
0433: prop_imageURL.setValue(
0434: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0435: attrib);
0436: prop_imageURL
0437: .setValue(
0438: Constants.PropertyDescriptor.CATEGORY,
0439: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0440:
0441: PropertyDescriptor prop_textPosition = new PropertyDescriptor(
0442: "textPosition", beanClass, "getTextPosition",
0443: "setTextPosition");
0444: prop_textPosition
0445: .setDisplayName(resources
0446: .getString("IconHyperlink_textPosition_DisplayName"));
0447: prop_textPosition
0448: .setShortDescription(resources
0449: .getString("IconHyperlink_textPosition_Description"));
0450: prop_textPosition
0451: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0452: prop_textPosition.setExpert(false);
0453: prop_textPosition.setHidden(false);
0454: prop_textPosition.setPreferred(false);
0455: attrib = new AttributeDescriptor("textPosition", false,
0456: "\"right\"", true);
0457: prop_textPosition.setValue(
0458: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0459: attrib);
0460: prop_textPosition
0461: .setValue(
0462: Constants.PropertyDescriptor.CATEGORY,
0463: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0464: prop_textPosition
0465: .setValue(
0466: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0467: com.sun.rave.propertyeditors.domains.HtmlHorizontalAlignDomain.class);
0468:
0469: PropertyDescriptor prop_value = new PropertyDescriptor(
0470: "value", beanClass, "getValue", "setValue");
0471: prop_value.setDisplayName(resources
0472: .getString("IconHyperlink_value_DisplayName"));
0473: prop_value.setShortDescription(resources
0474: .getString("IconHyperlink_value_Description"));
0475: prop_value.setExpert(false);
0476: prop_value.setHidden(true);
0477: prop_value.setPreferred(false);
0478: attrib = new AttributeDescriptor("value", false, null, true);
0479: prop_value.setValue(
0480: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0481: attrib);
0482: prop_value
0483: .setValue(
0484: Constants.PropertyDescriptor.CATEGORY,
0485: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0486:
0487: PropertyDescriptor prop_visible = new PropertyDescriptor(
0488: "visible", beanClass, "isVisible", "setVisible");
0489: prop_visible.setDisplayName(resources
0490: .getString("IconHyperlink_visible_DisplayName"));
0491: prop_visible.setShortDescription(resources
0492: .getString("IconHyperlink_visible_Description"));
0493: prop_visible.setExpert(false);
0494: prop_visible.setHidden(false);
0495: prop_visible.setPreferred(false);
0496: attrib = new AttributeDescriptor("visible", false, "true",
0497: true);
0498: prop_visible.setValue(
0499: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0500: attrib);
0501: prop_visible
0502: .setValue(
0503: Constants.PropertyDescriptor.CATEGORY,
0504: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0505:
0506: PropertyDescriptor prop_vspace = new PropertyDescriptor(
0507: "vspace", beanClass, "getVspace", "setVspace");
0508: prop_vspace.setDisplayName(resources
0509: .getString("IconHyperlink_vspace_DisplayName"));
0510: prop_vspace.setShortDescription(resources
0511: .getString("IconHyperlink_vspace_Description"));
0512: prop_vspace
0513: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0514: prop_vspace.setExpert(false);
0515: prop_vspace.setHidden(false);
0516: prop_vspace.setPreferred(false);
0517: attrib = new AttributeDescriptor("vspace", false, null,
0518: true);
0519: prop_vspace.setValue(
0520: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0521: attrib);
0522: prop_vspace
0523: .setValue(
0524: Constants.PropertyDescriptor.CATEGORY,
0525: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0526: prop_vspace.setValue(
0527: "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0528:
0529: PropertyDescriptor prop_width = new PropertyDescriptor(
0530: "width", beanClass, "getWidth", "setWidth");
0531: prop_width.setDisplayName(resources
0532: .getString("IconHyperlink_width_DisplayName"));
0533: prop_width.setShortDescription(resources
0534: .getString("IconHyperlink_width_Description"));
0535: prop_width
0536: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0537: prop_width.setExpert(false);
0538: prop_width.setHidden(false);
0539: prop_width.setPreferred(false);
0540: attrib = new AttributeDescriptor("width", false, null, true);
0541: prop_width.setValue(
0542: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0543: attrib);
0544: prop_width
0545: .setValue(
0546: Constants.PropertyDescriptor.CATEGORY,
0547: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0548: prop_width.setValue(
0549: "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0550:
0551: PropertyDescriptor prop_action = new PropertyDescriptor(
0552: "action", beanClass, "getAction", "setAction");
0553: prop_action.setDisplayName(resources
0554: .getString("IconHyperlink_action_DisplayName"));
0555: prop_action.setShortDescription(resources
0556: .getString("IconHyperlink_action_Description"));
0557: prop_action.setExpert(false);
0558: prop_action.setHidden(false);
0559: prop_action.setPreferred(false);
0560: attrib = new AttributeDescriptor("action", false, null,
0561: true);
0562: prop_action.setValue(
0563: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0564: attrib);
0565: prop_action
0566: .setValue(
0567: Constants.PropertyDescriptor.CATEGORY,
0568: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
0569:
0570: PropertyDescriptor prop_actionListener = new PropertyDescriptor(
0571: "actionListener", beanClass, "getActionListener",
0572: "setActionListener");
0573: prop_actionListener
0574: .setDisplayName(resources
0575: .getString("IconHyperlink_actionListener_DisplayName"));
0576: prop_actionListener
0577: .setShortDescription(resources
0578: .getString("IconHyperlink_actionListener_Description"));
0579: prop_actionListener
0580: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.MethodBindingPropertyEditor"));
0581: prop_actionListener.setExpert(false);
0582: prop_actionListener.setHidden(false);
0583: prop_actionListener.setPreferred(false);
0584: attrib = new AttributeDescriptor("actionListener", false,
0585: null, true);
0586: prop_actionListener.setValue(
0587: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0588: attrib);
0589: prop_actionListener
0590: .setValue(
0591: Constants.PropertyDescriptor.CATEGORY,
0592: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0593:
0594: PropertyDescriptor prop_disabled = new PropertyDescriptor(
0595: "disabled", beanClass, "isDisabled", "setDisabled");
0596: prop_disabled.setDisplayName(resources
0597: .getString("IconHyperlink_disabled_DisplayName"));
0598: prop_disabled.setShortDescription(resources
0599: .getString("IconHyperlink_disabled_Description"));
0600: prop_disabled.setExpert(false);
0601: prop_disabled.setHidden(false);
0602: prop_disabled.setPreferred(false);
0603: attrib = new AttributeDescriptor("disabled", false, null,
0604: true);
0605: prop_disabled.setValue(
0606: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0607: attrib);
0608: prop_disabled
0609: .setValue(
0610: Constants.PropertyDescriptor.CATEGORY,
0611: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0612:
0613: PropertyDescriptor prop_onBlur = new PropertyDescriptor(
0614: "onBlur", beanClass, "getOnBlur", "setOnBlur");
0615: prop_onBlur.setDisplayName(resources
0616: .getString("IconHyperlink_onBlur_DisplayName"));
0617: prop_onBlur.setShortDescription(resources
0618: .getString("IconHyperlink_onBlur_Description"));
0619: prop_onBlur
0620: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0621: prop_onBlur.setExpert(false);
0622: prop_onBlur.setHidden(false);
0623: prop_onBlur.setPreferred(false);
0624: attrib = new AttributeDescriptor("onBlur", false, null,
0625: true);
0626: prop_onBlur.setValue(
0627: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0628: attrib);
0629: prop_onBlur
0630: .setValue(
0631: Constants.PropertyDescriptor.CATEGORY,
0632: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0633:
0634: PropertyDescriptor prop_onClick = new PropertyDescriptor(
0635: "onClick", beanClass, "getOnClick", "setOnClick");
0636: prop_onClick.setDisplayName(resources
0637: .getString("IconHyperlink_onClick_DisplayName"));
0638: prop_onClick.setShortDescription(resources
0639: .getString("IconHyperlink_onClick_Description"));
0640: prop_onClick
0641: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0642: prop_onClick.setExpert(false);
0643: prop_onClick.setHidden(false);
0644: prop_onClick.setPreferred(false);
0645: attrib = new AttributeDescriptor("onClick", false, null,
0646: true);
0647: prop_onClick.setValue(
0648: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0649: attrib);
0650: prop_onClick
0651: .setValue(
0652: Constants.PropertyDescriptor.CATEGORY,
0653: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0654:
0655: PropertyDescriptor prop_onDblClick = new PropertyDescriptor(
0656: "onDblClick", beanClass, "getOnDblClick",
0657: "setOnDblClick");
0658: prop_onDblClick.setDisplayName(resources
0659: .getString("IconHyperlink_onDblClick_DisplayName"));
0660: prop_onDblClick.setShortDescription(resources
0661: .getString("IconHyperlink_onDblClick_Description"));
0662: prop_onDblClick
0663: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0664: prop_onDblClick.setExpert(false);
0665: prop_onDblClick.setHidden(true);
0666: prop_onDblClick.setPreferred(false);
0667: attrib = new AttributeDescriptor("onDblClick", false, null,
0668: true);
0669: prop_onDblClick.setValue(
0670: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0671: attrib);
0672: prop_onDblClick
0673: .setValue(
0674: Constants.PropertyDescriptor.CATEGORY,
0675: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0676:
0677: PropertyDescriptor prop_onFocus = new PropertyDescriptor(
0678: "onFocus", beanClass, "getOnFocus", "setOnFocus");
0679: prop_onFocus.setDisplayName(resources
0680: .getString("IconHyperlink_onFocus_DisplayName"));
0681: prop_onFocus.setShortDescription(resources
0682: .getString("IconHyperlink_onFocus_Description"));
0683: prop_onFocus
0684: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0685: prop_onFocus.setExpert(false);
0686: prop_onFocus.setHidden(false);
0687: prop_onFocus.setPreferred(false);
0688: attrib = new AttributeDescriptor("onFocus", false, null,
0689: true);
0690: prop_onFocus.setValue(
0691: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0692: attrib);
0693: prop_onFocus
0694: .setValue(
0695: Constants.PropertyDescriptor.CATEGORY,
0696: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0697:
0698: PropertyDescriptor prop_onKeyDown = new PropertyDescriptor(
0699: "onKeyDown", beanClass, "getOnKeyDown",
0700: "setOnKeyDown");
0701: prop_onKeyDown.setDisplayName(resources
0702: .getString("IconHyperlink_onKeyDown_DisplayName"));
0703: prop_onKeyDown.setShortDescription(resources
0704: .getString("IconHyperlink_onKeyDown_Description"));
0705: prop_onKeyDown
0706: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0707: prop_onKeyDown.setExpert(false);
0708: prop_onKeyDown.setHidden(false);
0709: prop_onKeyDown.setPreferred(false);
0710: attrib = new AttributeDescriptor("onKeyDown", false, null,
0711: true);
0712: prop_onKeyDown.setValue(
0713: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0714: attrib);
0715: prop_onKeyDown
0716: .setValue(
0717: Constants.PropertyDescriptor.CATEGORY,
0718: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0719:
0720: PropertyDescriptor prop_onKeyPress = new PropertyDescriptor(
0721: "onKeyPress", beanClass, "getOnKeyPress",
0722: "setOnKeyPress");
0723: prop_onKeyPress.setDisplayName(resources
0724: .getString("IconHyperlink_onKeyPress_DisplayName"));
0725: prop_onKeyPress.setShortDescription(resources
0726: .getString("IconHyperlink_onKeyPress_Description"));
0727: prop_onKeyPress
0728: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0729: prop_onKeyPress.setExpert(false);
0730: prop_onKeyPress.setHidden(false);
0731: prop_onKeyPress.setPreferred(false);
0732: attrib = new AttributeDescriptor("onKeyPress", false, null,
0733: true);
0734: prop_onKeyPress.setValue(
0735: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0736: attrib);
0737: prop_onKeyPress
0738: .setValue(
0739: Constants.PropertyDescriptor.CATEGORY,
0740: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0741:
0742: PropertyDescriptor prop_onKeyUp = new PropertyDescriptor(
0743: "onKeyUp", beanClass, "getOnKeyUp", "setOnKeyUp");
0744: prop_onKeyUp.setDisplayName(resources
0745: .getString("IconHyperlink_onKeyUp_DisplayName"));
0746: prop_onKeyUp.setShortDescription(resources
0747: .getString("IconHyperlink_onKeyUp_Description"));
0748: prop_onKeyUp
0749: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0750: prop_onKeyUp.setExpert(false);
0751: prop_onKeyUp.setHidden(false);
0752: prop_onKeyUp.setPreferred(false);
0753: attrib = new AttributeDescriptor("onKeyUp", false, null,
0754: true);
0755: prop_onKeyUp.setValue(
0756: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0757: attrib);
0758: prop_onKeyUp
0759: .setValue(
0760: Constants.PropertyDescriptor.CATEGORY,
0761: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0762:
0763: PropertyDescriptor prop_onMouseDown = new PropertyDescriptor(
0764: "onMouseDown", beanClass, "getOnMouseDown",
0765: "setOnMouseDown");
0766: prop_onMouseDown
0767: .setDisplayName(resources
0768: .getString("IconHyperlink_onMouseDown_DisplayName"));
0769: prop_onMouseDown
0770: .setShortDescription(resources
0771: .getString("IconHyperlink_onMouseDown_Description"));
0772: prop_onMouseDown
0773: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0774: prop_onMouseDown.setExpert(false);
0775: prop_onMouseDown.setHidden(false);
0776: prop_onMouseDown.setPreferred(false);
0777: attrib = new AttributeDescriptor("onMouseDown", false,
0778: null, true);
0779: prop_onMouseDown.setValue(
0780: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0781: attrib);
0782: prop_onMouseDown
0783: .setValue(
0784: Constants.PropertyDescriptor.CATEGORY,
0785: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0786:
0787: PropertyDescriptor prop_onMouseMove = new PropertyDescriptor(
0788: "onMouseMove", beanClass, "getOnMouseMove",
0789: "setOnMouseMove");
0790: prop_onMouseMove
0791: .setDisplayName(resources
0792: .getString("IconHyperlink_onMouseMove_DisplayName"));
0793: prop_onMouseMove
0794: .setShortDescription(resources
0795: .getString("IconHyperlink_onMouseMove_Description"));
0796: prop_onMouseMove
0797: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0798: prop_onMouseMove.setExpert(false);
0799: prop_onMouseMove.setHidden(false);
0800: prop_onMouseMove.setPreferred(false);
0801: attrib = new AttributeDescriptor("onMouseMove", false,
0802: null, true);
0803: prop_onMouseMove.setValue(
0804: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0805: attrib);
0806: prop_onMouseMove
0807: .setValue(
0808: Constants.PropertyDescriptor.CATEGORY,
0809: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0810:
0811: PropertyDescriptor prop_onMouseOut = new PropertyDescriptor(
0812: "onMouseOut", beanClass, "getOnMouseOut",
0813: "setOnMouseOut");
0814: prop_onMouseOut.setDisplayName(resources
0815: .getString("IconHyperlink_onMouseOut_DisplayName"));
0816: prop_onMouseOut.setShortDescription(resources
0817: .getString("IconHyperlink_onMouseOut_Description"));
0818: prop_onMouseOut
0819: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0820: prop_onMouseOut.setExpert(false);
0821: prop_onMouseOut.setHidden(false);
0822: prop_onMouseOut.setPreferred(false);
0823: attrib = new AttributeDescriptor("onMouseOut", false, null,
0824: true);
0825: prop_onMouseOut.setValue(
0826: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0827: attrib);
0828: prop_onMouseOut
0829: .setValue(
0830: Constants.PropertyDescriptor.CATEGORY,
0831: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0832:
0833: PropertyDescriptor prop_onMouseOver = new PropertyDescriptor(
0834: "onMouseOver", beanClass, "getOnMouseOver",
0835: "setOnMouseOver");
0836: prop_onMouseOver
0837: .setDisplayName(resources
0838: .getString("IconHyperlink_onMouseOver_DisplayName"));
0839: prop_onMouseOver
0840: .setShortDescription(resources
0841: .getString("IconHyperlink_onMouseOver_Description"));
0842: prop_onMouseOver
0843: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0844: prop_onMouseOver.setExpert(false);
0845: prop_onMouseOver.setHidden(false);
0846: prop_onMouseOver.setPreferred(false);
0847: attrib = new AttributeDescriptor("onMouseOver", false,
0848: null, true);
0849: prop_onMouseOver.setValue(
0850: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0851: attrib);
0852: prop_onMouseOver
0853: .setValue(
0854: Constants.PropertyDescriptor.CATEGORY,
0855: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0856:
0857: PropertyDescriptor prop_onMouseUp = new PropertyDescriptor(
0858: "onMouseUp", beanClass, "getOnMouseUp",
0859: "setOnMouseUp");
0860: prop_onMouseUp.setDisplayName(resources
0861: .getString("IconHyperlink_onMouseUp_DisplayName"));
0862: prop_onMouseUp.setShortDescription(resources
0863: .getString("IconHyperlink_onMouseUp_Description"));
0864: prop_onMouseUp
0865: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.JavaScriptPropertyEditor"));
0866: prop_onMouseUp.setExpert(false);
0867: prop_onMouseUp.setHidden(false);
0868: prop_onMouseUp.setPreferred(false);
0869: attrib = new AttributeDescriptor("onMouseUp", false, null,
0870: true);
0871: prop_onMouseUp.setValue(
0872: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0873: attrib);
0874: prop_onMouseUp
0875: .setValue(
0876: Constants.PropertyDescriptor.CATEGORY,
0877: com.sun.rave.designtime.base.CategoryDescriptors.JAVASCRIPT);
0878:
0879: PropertyDescriptor prop_shape = new PropertyDescriptor(
0880: "shape", beanClass, "getShape", "setShape");
0881: prop_shape.setDisplayName(resources
0882: .getString("IconHyperlink_shape_DisplayName"));
0883: prop_shape.setShortDescription(resources
0884: .getString("IconHyperlink_shape_Description"));
0885: prop_shape.setExpert(false);
0886: prop_shape.setHidden(true);
0887: prop_shape.setPreferred(false);
0888: attrib = new AttributeDescriptor("shape", false, null, true);
0889: prop_shape.setValue(
0890: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0891: attrib);
0892: prop_shape
0893: .setValue(
0894: Constants.PropertyDescriptor.CATEGORY,
0895: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
0896:
0897: PropertyDescriptor prop_style = new PropertyDescriptor(
0898: "style", beanClass, "getStyle", "setStyle");
0899: prop_style.setDisplayName(resources
0900: .getString("IconHyperlink_style_DisplayName"));
0901: prop_style.setShortDescription(resources
0902: .getString("IconHyperlink_style_Description"));
0903: prop_style
0904: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.css.CssStylePropertyEditor"));
0905: prop_style.setExpert(false);
0906: prop_style.setHidden(false);
0907: prop_style.setPreferred(false);
0908: attrib = new AttributeDescriptor("style", false, null, true);
0909: prop_style.setValue(
0910: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0911: attrib);
0912: prop_style
0913: .setValue(
0914: Constants.PropertyDescriptor.CATEGORY,
0915: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0916:
0917: PropertyDescriptor prop_styleClass = new PropertyDescriptor(
0918: "styleClass", beanClass, "getStyleClass",
0919: "setStyleClass");
0920: prop_styleClass.setDisplayName(resources
0921: .getString("IconHyperlink_styleClass_DisplayName"));
0922: prop_styleClass.setShortDescription(resources
0923: .getString("IconHyperlink_styleClass_Description"));
0924: prop_styleClass
0925: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StyleClassPropertyEditor"));
0926: prop_styleClass.setExpert(false);
0927: prop_styleClass.setHidden(false);
0928: prop_styleClass.setPreferred(false);
0929: attrib = new AttributeDescriptor("styleClass", false, null,
0930: true);
0931: prop_styleClass.setValue(
0932: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0933: attrib);
0934: prop_styleClass
0935: .setValue(
0936: Constants.PropertyDescriptor.CATEGORY,
0937: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
0938:
0939: PropertyDescriptor prop_tabIndex = new PropertyDescriptor(
0940: "tabIndex", beanClass, "getTabIndex", "setTabIndex");
0941: prop_tabIndex.setDisplayName(resources
0942: .getString("IconHyperlink_tabIndex_DisplayName"));
0943: prop_tabIndex.setShortDescription(resources
0944: .getString("IconHyperlink_tabIndex_Description"));
0945: prop_tabIndex
0946: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.IntegerPropertyEditor"));
0947: prop_tabIndex.setExpert(false);
0948: prop_tabIndex.setHidden(false);
0949: prop_tabIndex.setPreferred(false);
0950: attrib = new AttributeDescriptor("tabIndex", false, null,
0951: true);
0952: prop_tabIndex.setValue(
0953: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0954: attrib);
0955: prop_tabIndex
0956: .setValue(
0957: Constants.PropertyDescriptor.CATEGORY,
0958: com.sun.rave.designtime.base.CategoryDescriptors.ACCESSIBILITY);
0959: prop_tabIndex.setValue(
0960: "com.sun.rave.propertyeditors.MIN_VALUE", "1");
0961:
0962: PropertyDescriptor prop_target = new PropertyDescriptor(
0963: "target", beanClass, "getTarget", "setTarget");
0964: prop_target.setDisplayName(resources
0965: .getString("IconHyperlink_target_DisplayName"));
0966: prop_target.setShortDescription(resources
0967: .getString("IconHyperlink_target_Description"));
0968: prop_target
0969: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
0970: prop_target.setExpert(false);
0971: prop_target.setHidden(false);
0972: prop_target.setPreferred(false);
0973: attrib = new AttributeDescriptor("target", false, null,
0974: true);
0975: prop_target.setValue(
0976: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
0977: attrib);
0978: prop_target
0979: .setValue(
0980: Constants.PropertyDescriptor.CATEGORY,
0981: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
0982: prop_target
0983: .setValue(
0984: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
0985: com.sun.rave.propertyeditors.domains.HtmlFrameTargetsDomain.class);
0986:
0987: PropertyDescriptor prop_text = new PropertyDescriptor(
0988: "text", beanClass, "getText", "setText");
0989: prop_text.setDisplayName(resources
0990: .getString("IconHyperlink_text_DisplayName"));
0991: prop_text.setShortDescription(resources
0992: .getString("IconHyperlink_text_Description"));
0993: prop_text
0994: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
0995: prop_text.setExpert(false);
0996: prop_text.setHidden(false);
0997: prop_text.setPreferred(false);
0998: attrib = new AttributeDescriptor("text", false, null, true);
0999: prop_text.setValue(
1000: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1001: attrib);
1002: prop_text
1003: .setValue(
1004: Constants.PropertyDescriptor.CATEGORY,
1005: com.sun.rave.designtime.base.CategoryDescriptors.APPEARANCE);
1006:
1007: PropertyDescriptor prop_toolTip = new PropertyDescriptor(
1008: "toolTip", beanClass, "getToolTip", "setToolTip");
1009: prop_toolTip.setDisplayName(resources
1010: .getString("IconHyperlink_toolTip_DisplayName"));
1011: prop_toolTip.setShortDescription(resources
1012: .getString("IconHyperlink_toolTip_Description"));
1013: prop_toolTip
1014: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.StringPropertyEditor"));
1015: prop_toolTip.setExpert(false);
1016: prop_toolTip.setHidden(false);
1017: prop_toolTip.setPreferred(false);
1018: attrib = new AttributeDescriptor("toolTip", false, null,
1019: true);
1020: prop_toolTip.setValue(
1021: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1022: attrib);
1023: prop_toolTip
1024: .setValue(
1025: Constants.PropertyDescriptor.CATEGORY,
1026: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
1027:
1028: PropertyDescriptor prop_type = new PropertyDescriptor(
1029: "type", beanClass, "getType", "setType");
1030: prop_type.setDisplayName(resources
1031: .getString("IconHyperlink_type_DisplayName"));
1032: prop_type.setShortDescription(resources
1033: .getString("IconHyperlink_type_Description"));
1034: prop_type
1035: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
1036: prop_type.setExpert(false);
1037: prop_type.setHidden(false);
1038: prop_type.setPreferred(false);
1039: attrib = new AttributeDescriptor("type", false, null, true);
1040: prop_type.setValue(
1041: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1042: attrib);
1043: prop_type
1044: .setValue(
1045: Constants.PropertyDescriptor.CATEGORY,
1046: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1047: prop_type
1048: .setValue(
1049: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
1050: com.sun.rave.propertyeditors.domains.MimeTypesDomain.class);
1051:
1052: PropertyDescriptor prop_url = new PropertyDescriptor("url",
1053: beanClass, "getUrl", "setUrl");
1054: prop_url.setDisplayName(resources
1055: .getString("IconHyperlink_url_DisplayName"));
1056: prop_url.setShortDescription(resources
1057: .getString("IconHyperlink_url_Description"));
1058: prop_url
1059: .setPropertyEditorClass(loadClass("org.netbeans.modules.visualweb.web.ui.dt.component.propertyeditors.SunWebUrlPropertyEditor"));
1060: prop_url.setExpert(false);
1061: prop_url.setHidden(false);
1062: prop_url.setPreferred(false);
1063: attrib = new AttributeDescriptor("url", false, null, true);
1064: prop_url.setValue(
1065: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1066: attrib);
1067: prop_url
1068: .setValue(
1069: Constants.PropertyDescriptor.CATEGORY,
1070: com.sun.rave.designtime.base.CategoryDescriptors.BEHAVIOR);
1071:
1072: PropertyDescriptor prop_urlLang = new PropertyDescriptor(
1073: "urlLang", beanClass, "getUrlLang", "setUrlLang");
1074: prop_urlLang.setDisplayName(resources
1075: .getString("IconHyperlink_urlLang_DisplayName"));
1076: prop_urlLang.setShortDescription(resources
1077: .getString("IconHyperlink_urlLang_Description"));
1078: prop_urlLang
1079: .setPropertyEditorClass(loadClass("com.sun.rave.propertyeditors.SelectOneDomainEditor"));
1080: prop_urlLang.setExpert(false);
1081: prop_urlLang.setHidden(false);
1082: prop_urlLang.setPreferred(false);
1083: attrib = new AttributeDescriptor("urlLang", false, null,
1084: true);
1085: prop_urlLang.setValue(
1086: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1087: attrib);
1088: prop_urlLang
1089: .setValue(
1090: Constants.PropertyDescriptor.CATEGORY,
1091: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1092: prop_urlLang
1093: .setValue(
1094: "com.sun.rave.propertyeditors.DOMAIN_CLASS",
1095: com.sun.rave.propertyeditors.domains.LanguagesDomain.class);
1096:
1097: PropertyDescriptor prop_attributes = new PropertyDescriptor(
1098: "attributes", beanClass, "getAttributes", null);
1099: prop_attributes.setDisplayName(resources
1100: .getString("IconHyperlink_attributes_DisplayName"));
1101: prop_attributes.setShortDescription(resources
1102: .getString("IconHyperlink_attributes_Description"));
1103: prop_attributes.setExpert(false);
1104: prop_attributes.setHidden(true);
1105: prop_attributes.setPreferred(false);
1106: prop_attributes
1107: .setValue(
1108: Constants.PropertyDescriptor.CATEGORY,
1109: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1110:
1111: PropertyDescriptor prop_childCount = new PropertyDescriptor(
1112: "childCount", beanClass, "getChildCount", null);
1113: prop_childCount.setDisplayName(resources
1114: .getString("IconHyperlink_childCount_DisplayName"));
1115: prop_childCount.setShortDescription(resources
1116: .getString("IconHyperlink_childCount_Description"));
1117: prop_childCount.setExpert(false);
1118: prop_childCount.setHidden(true);
1119: prop_childCount.setPreferred(false);
1120: prop_childCount
1121: .setValue(
1122: Constants.PropertyDescriptor.CATEGORY,
1123: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1124:
1125: PropertyDescriptor prop_children = new PropertyDescriptor(
1126: "children", beanClass, "getChildren", null);
1127: prop_children.setDisplayName(resources
1128: .getString("IconHyperlink_children_DisplayName"));
1129: prop_children.setShortDescription(resources
1130: .getString("IconHyperlink_children_Description"));
1131: prop_children.setExpert(false);
1132: prop_children.setHidden(true);
1133: prop_children.setPreferred(false);
1134: prop_children
1135: .setValue(
1136: Constants.PropertyDescriptor.CATEGORY,
1137: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1138:
1139: PropertyDescriptor prop_facets = new PropertyDescriptor(
1140: "facets", beanClass, "getFacets", null);
1141: prop_facets.setDisplayName(resources
1142: .getString("IconHyperlink_facets_DisplayName"));
1143: prop_facets.setShortDescription(resources
1144: .getString("IconHyperlink_facets_Description"));
1145: prop_facets.setExpert(false);
1146: prop_facets.setHidden(true);
1147: prop_facets.setPreferred(false);
1148: prop_facets
1149: .setValue(
1150: Constants.PropertyDescriptor.CATEGORY,
1151: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1152:
1153: PropertyDescriptor prop_family = new PropertyDescriptor(
1154: "family", beanClass, "getFamily", null);
1155: prop_family.setDisplayName(resources
1156: .getString("IconHyperlink_family_DisplayName"));
1157: prop_family.setShortDescription(resources
1158: .getString("IconHyperlink_family_Description"));
1159: prop_family.setExpert(false);
1160: prop_family.setHidden(true);
1161: prop_family.setPreferred(false);
1162: prop_family
1163: .setValue(
1164: Constants.PropertyDescriptor.CATEGORY,
1165: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1166:
1167: PropertyDescriptor prop_id = new PropertyDescriptor("id",
1168: beanClass, "getId", "setId");
1169: prop_id.setDisplayName(resources
1170: .getString("IconHyperlink_id_DisplayName"));
1171: prop_id.setShortDescription(resources
1172: .getString("IconHyperlink_id_Description"));
1173: prop_id.setExpert(false);
1174: prop_id.setHidden(true);
1175: prop_id.setPreferred(false);
1176: attrib = new AttributeDescriptor("id", false, null, true);
1177: prop_id.setValue(
1178: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1179: attrib);
1180: prop_id
1181: .setValue(
1182: Constants.PropertyDescriptor.CATEGORY,
1183: com.sun.rave.designtime.base.CategoryDescriptors.GENERAL);
1184:
1185: PropertyDescriptor prop_immediate = new PropertyDescriptor(
1186: "immediate", beanClass, "isImmediate",
1187: "setImmediate");
1188: prop_immediate.setDisplayName(resources
1189: .getString("IconHyperlink_immediate_DisplayName"));
1190: prop_immediate.setShortDescription(resources
1191: .getString("IconHyperlink_immediate_Description"));
1192: prop_immediate.setExpert(false);
1193: prop_immediate.setHidden(false);
1194: prop_immediate.setPreferred(false);
1195: attrib = new AttributeDescriptor("immediate", false, null,
1196: true);
1197: prop_immediate.setValue(
1198: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1199: attrib);
1200: prop_immediate
1201: .setValue(
1202: Constants.PropertyDescriptor.CATEGORY,
1203: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1204:
1205: PropertyDescriptor prop_parent = new PropertyDescriptor(
1206: "parent", beanClass, "getParent", null);
1207: prop_parent.setDisplayName(resources
1208: .getString("IconHyperlink_parent_DisplayName"));
1209: prop_parent.setShortDescription(resources
1210: .getString("IconHyperlink_parent_Description"));
1211: prop_parent.setExpert(false);
1212: prop_parent.setHidden(true);
1213: prop_parent.setPreferred(false);
1214: prop_parent
1215: .setValue(
1216: Constants.PropertyDescriptor.CATEGORY,
1217: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1218:
1219: PropertyDescriptor prop_rendered = new PropertyDescriptor(
1220: "rendered", beanClass, "isRendered", "setRendered");
1221: prop_rendered.setDisplayName(resources
1222: .getString("IconHyperlink_rendered_DisplayName"));
1223: prop_rendered.setShortDescription(resources
1224: .getString("IconHyperlink_rendered_Description"));
1225: prop_rendered.setExpert(false);
1226: prop_rendered.setHidden(false);
1227: prop_rendered.setPreferred(false);
1228: attrib = new AttributeDescriptor("rendered", false, null,
1229: true);
1230: prop_rendered.setValue(
1231: Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR,
1232: attrib);
1233: prop_rendered
1234: .setValue(
1235: Constants.PropertyDescriptor.CATEGORY,
1236: com.sun.rave.designtime.base.CategoryDescriptors.ADVANCED);
1237:
1238: PropertyDescriptor prop_rendererType = new PropertyDescriptor(
1239: "rendererType", beanClass, "getRendererType",
1240: "setRendererType");
1241: prop_rendererType
1242: .setDisplayName(resources
1243: .getString("IconHyperlink_rendererType_DisplayName"));
1244: prop_rendererType
1245: .setShortDescription(resources
1246: .getString("IconHyperlink_rendererType_Description"));
1247: prop_rendererType.setExpert(false);
1248: prop_rendererType.setHidden(true);
1249: prop_rendererType.setPreferred(false);
1250: prop_rendererType
1251: .setValue(
1252: Constants.PropertyDescriptor.CATEGORY,
1253: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1254:
1255: PropertyDescriptor prop_rendersChildren = new PropertyDescriptor(
1256: "rendersChildren", beanClass, "getRendersChildren",
1257: null);
1258: prop_rendersChildren
1259: .setDisplayName(resources
1260: .getString("IconHyperlink_rendersChildren_DisplayName"));
1261: prop_rendersChildren
1262: .setShortDescription(resources
1263: .getString("IconHyperlink_rendersChildren_Description"));
1264: prop_rendersChildren.setExpert(false);
1265: prop_rendersChildren.setHidden(true);
1266: prop_rendersChildren.setPreferred(false);
1267: prop_rendersChildren
1268: .setValue(
1269: Constants.PropertyDescriptor.CATEGORY,
1270: com.sun.rave.designtime.base.CategoryDescriptors.INTERNAL);
1271:
1272: propDescriptors = new PropertyDescriptor[] { prop_action,
1273: prop_actionListener, prop_align, prop_alt,
1274: prop_attributes, prop_border, prop_childCount,
1275: prop_children, prop_disabled, prop_facets,
1276: prop_family, prop_height, prop_hspace, prop_icon,
1277: prop_id, prop_imageURL, prop_immediate,
1278: prop_onBlur, prop_onClick, prop_onDblClick,
1279: prop_onFocus, prop_onKeyDown, prop_onKeyPress,
1280: prop_onKeyUp, prop_onMouseDown, prop_onMouseMove,
1281: prop_onMouseOut, prop_onMouseOver, prop_onMouseUp,
1282: prop_parent, prop_rendered, prop_rendererType,
1283: prop_rendersChildren, prop_shape, prop_style,
1284: prop_styleClass, prop_tabIndex, prop_target,
1285: prop_text, prop_textPosition, prop_toolTip,
1286: prop_type, prop_url, prop_urlLang, prop_value,
1287: prop_visible, prop_vspace, prop_width, };
1288: return propDescriptors;
1289:
1290: } catch (IntrospectionException e) {
1291: e.printStackTrace();
1292: return null;
1293: }
1294:
1295: }
1296:
1297: }
1298: //GEN-END:BeanInfo
|