|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.fanruan.api.design.work.form.basic; |
|
|
|
|
|
|
|
|
|
import com.fr.common.annotations.Compatible; |
|
|
|
|
import com.fr.design.designer.properties.Encoder; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -8,8 +9,29 @@ import com.fr.design.designer.properties.Encoder;
|
|
|
|
|
* Created by Kalven on 2019/9/4 |
|
|
|
|
* 无法修改的编辑器 |
|
|
|
|
*/ |
|
|
|
|
@Compatible |
|
|
|
|
public abstract class UneditableAccessibleEditor extends com.fr.design.mainframe.widget.accessibles.UneditableAccessibleEditor { |
|
|
|
|
public UneditableAccessibleEditor(Encoder enc) { |
|
|
|
|
super(enc); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取编辑器的值 |
|
|
|
|
* |
|
|
|
|
* @return 新值 |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public Object getValue() { |
|
|
|
|
return super.getValue(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 设置编辑器的值 |
|
|
|
|
* |
|
|
|
|
* @param o 新值 |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public void setValue(Object o) { |
|
|
|
|
super.setValue(o); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|