From 0dddce8205d218460ad0fe8e66bed6bb480724a0 Mon Sep 17 00:00:00 2001 From: zjz1993 <1429595365@qq.com> Date: Fri, 30 Aug 2019 14:29:49 +0800 Subject: [PATCH] =?UTF-8?q?update:=E4=B8=80=E4=BA=9B=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E7=9A=84=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/design/ui/component/UIDescriptionTextArea.java | 2 +- .../fanruan/api/design/ui/component/UIRoundedBorder.java | 3 +++ .../com/fanruan/api/design/ui/factory/FormulaFactory.java | 3 +++ src/main/java/com/fanruan/api/design/util/GUICoreKit.java | 8 ++++---- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/fanruan/api/design/ui/component/UIDescriptionTextArea.java b/src/main/java/com/fanruan/api/design/ui/component/UIDescriptionTextArea.java index 9ce14c5..a04ab38 100644 --- a/src/main/java/com/fanruan/api/design/ui/component/UIDescriptionTextArea.java +++ b/src/main/java/com/fanruan/api/design/ui/component/UIDescriptionTextArea.java @@ -1,7 +1,7 @@ package com.fanruan.api.design.ui.component; /* -* 这个空间主要是用来在界面显示帮助信息的 +* 这个控件主要是用来在界面显示帮助信息的 * */ public class UIDescriptionTextArea extends com.fr.design.gui.itextarea.DescriptionTextArea{ } diff --git a/src/main/java/com/fanruan/api/design/ui/component/UIRoundedBorder.java b/src/main/java/com/fanruan/api/design/ui/component/UIRoundedBorder.java index 8c393ab..37b33e5 100644 --- a/src/main/java/com/fanruan/api/design/ui/component/UIRoundedBorder.java +++ b/src/main/java/com/fanruan/api/design/ui/component/UIRoundedBorder.java @@ -1,6 +1,9 @@ package com.fanruan.api.design.ui.component; import java.awt.*; +/* +* UI组件的边框 +* */ public class UIRoundedBorder extends com.fr.design.border.UIRoundedBorder{ public UIRoundedBorder(Color color){ super(color); diff --git a/src/main/java/com/fanruan/api/design/ui/factory/FormulaFactory.java b/src/main/java/com/fanruan/api/design/ui/factory/FormulaFactory.java index fb5ce9f..ed74925 100644 --- a/src/main/java/com/fanruan/api/design/ui/factory/FormulaFactory.java +++ b/src/main/java/com/fanruan/api/design/ui/factory/FormulaFactory.java @@ -1,4 +1,7 @@ package com.fanruan.api.design.ui.factory; +/* +* FormulaFactory:公式编辑管理器 +* */ public class FormulaFactory extends com.fr.design.formula.FormulaFactory{ } diff --git a/src/main/java/com/fanruan/api/design/util/GUICoreKit.java b/src/main/java/com/fanruan/api/design/util/GUICoreKit.java index 226db88..8446f02 100644 --- a/src/main/java/com/fanruan/api/design/util/GUICoreKit.java +++ b/src/main/java/com/fanruan/api/design/util/GUICoreKit.java @@ -101,19 +101,19 @@ public class GUICoreKit { GUICoreUtils.showPopupMenu(menu, component, x, y); } /** - * 创建一个正常靠左空边框面板 + * 创建一个带有左空边框的面板 * * @return 返回一个JPanel对象 */ - public static JPanel createNormalFlowInnerContainer_M_Pane(){ + public static JPanel createNormalFlowInnerContainerPane(){ return FRGUIPaneFactory.createNormalFlowInnerContainer_M_Pane(); } /** - * 创建边框面板S + * 创建一个带有边框面板 * * @return 返回一个JPanel对象 */ - public static JPanel createBorderLayout_S_Pane(){ + public static JPanel createBorderLayoutPane(){ return FRGUIPaneFactory.createBorderLayout_S_Pane(); } }