📄 tabledecoratorone.java
字号:
package org.displaytag.decorator;
/**
* Test decorator used in tests.
* @author Fabrizio Giustina
* @version $Revision: 907 $ ($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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -