From b5bb2b0aac6cab9ccd8e57cf7ac1802c5005d931 Mon Sep 17 00:00:00 2001 From: richie Date: Tue, 29 Oct 2019 18:12:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=92=8C=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basic/UneditableAccessibleEditor.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/main/java/com/fanruan/api/design/work/form/basic/UneditableAccessibleEditor.java b/src/main/java/com/fanruan/api/design/work/form/basic/UneditableAccessibleEditor.java index 879e2ff..55b910d 100644 --- a/src/main/java/com/fanruan/api/design/work/form/basic/UneditableAccessibleEditor.java +++ b/src/main/java/com/fanruan/api/design/work/form/basic/UneditableAccessibleEditor.java @@ -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); + } }