From e76d14bd1d6674a48cfd8e5bab5c0214888e5833 Mon Sep 17 00:00:00 2001 From: Palin Date: Mon, 16 Sep 2019 15:35:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fanruan/api/Formula/BaseFormula.java | 12 ------ .../design/ui/layout/FRGUIPaneFactoryKit.java | 40 ------------------- .../fanruan/api/report/form/WidgetName.java | 9 ----- src/main/java/com/fanruan/api/xml/XmlKit.java | 4 +- 4 files changed, 1 insertion(+), 64 deletions(-) delete mode 100644 src/main/java/com/fanruan/api/Formula/BaseFormula.java delete mode 100644 src/main/java/com/fanruan/api/design/ui/layout/FRGUIPaneFactoryKit.java delete mode 100644 src/main/java/com/fanruan/api/report/form/WidgetName.java diff --git a/src/main/java/com/fanruan/api/Formula/BaseFormula.java b/src/main/java/com/fanruan/api/Formula/BaseFormula.java deleted file mode 100644 index a97da3a..0000000 --- a/src/main/java/com/fanruan/api/Formula/BaseFormula.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.fanruan.api.Formula; - -/** - * @author Palin - * @version 10.0 - * Created by Palin on 2019/9/16 0016 - */ -public abstract class BaseFormula extends com.fr.base.BaseFormula{ - public BaseFormula(String var1) { - this.content = var1; - } -} diff --git a/src/main/java/com/fanruan/api/design/ui/layout/FRGUIPaneFactoryKit.java b/src/main/java/com/fanruan/api/design/ui/layout/FRGUIPaneFactoryKit.java deleted file mode 100644 index 3a657d7..0000000 --- a/src/main/java/com/fanruan/api/design/ui/layout/FRGUIPaneFactoryKit.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.fanruan.api.design.ui.layout; - -import com.fr.design.layout.FRGUIPaneFactory; -import javax.swing.JPanel; -import java.awt.LayoutManager; -import java.awt.FlowLayout; -import java.awt.BorderLayout; - -/** - * @author Palin - * @version 10.0 - * Created by Palin on 2019/9/16 0016 - */ -public class FRGUIPaneFactoryKit { - - /** - * 创建边框 - */ - public static LayoutManager createBorderLayout() { - return new BorderLayout(); - } - - /** - * 创建边框布局框格 - */ - public static JPanel createBorderLayout_S_Pane() { - JPanel var0 = new JPanel(); - var0.setLayout(createBorderLayout()); - return var0; - } - - /** - * 创建普通流内部容器框格 - */ - public static JPanel createNormalFlowInnerContainer_S_Pane() { - JPanel var0 = new JPanel(); - var0.setLayout(new FlowLayout(0)); - return var0; - } -} diff --git a/src/main/java/com/fanruan/api/report/form/WidgetName.java b/src/main/java/com/fanruan/api/report/form/WidgetName.java deleted file mode 100644 index 5881e70..0000000 --- a/src/main/java/com/fanruan/api/report/form/WidgetName.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.fanruan.api.report.form; - -/** - * @author Palin - * @version 10.0 - * Created by Palin on 2019/9/13 0013 - */ -public class WidgetName extends com.fr.stable.js.WidgetName{ -} diff --git a/src/main/java/com/fanruan/api/xml/XmlKit.java b/src/main/java/com/fanruan/api/xml/XmlKit.java index 8b04292..9d74d58 100644 --- a/src/main/java/com/fanruan/api/xml/XmlKit.java +++ b/src/main/java/com/fanruan/api/xml/XmlKit.java @@ -91,11 +91,9 @@ public class XmlKit { /** * 读出xml参数 - * * @param writer xml读出对象 - * @return 返回保存参数数组 */ public static void writeParameters(XMLPrintWriter writer, ParameterProvider[] parameter) { - writer.startTAG("Parameters"); + StableXMLUtils.writeParameters(writer,parameter); } }