tabledecoratorone.java

来自「displaytag-1.0修正版」· Java 代码 · 共 40 行

JAVA
40
字号
package org.displaytag.decorator;


/**
 * Test decorator used in tests.
 * @author Fabrizio Giustina
 * @version $Revision: 1.1 $ ($Author: fgiust $)
 */
public class TableDecoratorOne extends TableDecorator
{

    /**
     * getter property for "one".
     * @return "one"
     */
    public String getOne()
    {
        return "one";
    }

    /**
     * getter for a mapped property.
     * @param key property name
     * @return "mapped property"
     */
    public String getMapped(String key)
    {
        return "mapped property";
    }

    /**
     * getter for an indexed property.
     * @param key property index
     * @return "indexed property"
     */
    public String getIndexed(int key)
    {
        return "indexed property";
    }
}

⌨️ 快捷键说明

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