stringeditor.java
来自「webwork source」· Java 代码 · 共 30 行
JAVA
30 行
/*
* WebWork, Web Application Framework
*
* Distributable under Apache license.
* See terms of license at opensource.org
*/
package webwork.util.editor;
import webwork.action.ValidationEditorSupport;
/**
* @see java.beans.PropertyEditorSupport
* @see ValidationEditorSupport
* @see FastPropertyEditor
* @author Dick Zetterberg (dick@transitor.se)
* @version $Revision: 1.2 $
*/
public class StringEditor extends ValidationEditorSupport implements FastPropertyEditor {
public void setAsText(String txt) {
setValue(txt);
}
public Object getAsValue(String txt)
{
return txt;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?