⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simplei18nbean.java

📁 XDoclet 使自动生成部署描述符更为便利。XDoclet 是一个代码生成实用程序
💻 JAVA
字号:
package test.javabean;

/**
 * Example of a JavaBean with tags to generate the associated BeanInfo class.
 *
 * @javabean.class
 *     displayName="Simple Bean"
 *     name="SimpleI18NBean"
 *     shortDescription="Simple example of JavaBean BeanInfo generation"
 *
 * @javabean.icons
 *     color16="/toolbarButtonGraphics/general/Stop16.gif"
 *
 * @javabean.attribute
 *    name="literal"
 *    value="A sample attribute"
 *
 * @javabean.attribute
 *    name="expression"
 *    value="new StringBuffer()"
 *    rtexpr="true"
 *
 */
public class SimpleI18NBean extends SimpleBean {
  
    /** Constructs a new SimpleI18NBean. */
    public SimpleI18NBean() {
    }

    /**
     * The first method
     *
     * @javabean.method
     *     displayName="My First Method"
     *     name="myFirstMethod"
     *     shortDescription="Example of method without parameters"
     */
    public void myFirstMethod() {
    }

    /**
     * The second method
     *
     * @param param1 Description of the Parameter 1
     * @param param2 Description of the Parameter 2
     *
     * @javabean.method
     *     displayName="My Second Method"
     *     name="mySecondMethod"
     *     shortDescription="Example of method with parameters"
     *
     * @javabean.param
     *     class="java.lang.String"
     *     displayName="Parameter 1"
     *     name="param1"
     *
     * @javabean.param
     *     class="boolean"
     *     displayName="Parameter 2"
     *     name="param2"
     */
    public void mySecondMethod(String param1, boolean param2) {
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -