richie
5 years ago
2 changed files with 36 additions and 5 deletions
@ -1,15 +1,47 @@
|
||||
package com.fanruan.api.design.work.form.basic; |
||||
|
||||
import com.fr.design.Exception.ValidationException; |
||||
import com.fr.design.mainframe.widget.accessibles.AccessibleEditor; |
||||
|
||||
/** |
||||
* @author Kalven |
||||
* @version 10.0 |
||||
* Created by Kalven on 2019/9/4 |
||||
* 可以通过按钮或其他方式进去编辑面板的编辑器 |
||||
* 控件属性值的编辑器 |
||||
*/ |
||||
public class AccessiblePropertyEditor extends com.fr.design.mainframe.widget.accessibles.AccessiblePropertyEditor { |
||||
public AccessiblePropertyEditor(AccessibleEditor editor) { |
||||
super(editor); |
||||
} |
||||
|
||||
|
||||
/** |
||||
* 给编辑器设置值 |
||||
* |
||||
* @param o 待设置的值 |
||||
*/ |
||||
@Override |
||||
public void setValue(Object o) { |
||||
super.setValue(o); |
||||
} |
||||
|
||||
/** |
||||
* 获取编辑器的值 |
||||
* |
||||
* @return 编辑器的值 |
||||
*/ |
||||
@Override |
||||
public Object getValue() { |
||||
return super.getValue(); |
||||
} |
||||
|
||||
/** |
||||
* 检验编辑器输入的值是否合法 |
||||
* |
||||
* @throws ValidationException 值不合法则抛出此异常 |
||||
*/ |
||||
@Override |
||||
public void validateValue() throws ValidationException { |
||||
super.validateValue(); |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue