From 8e34056d1ab20e38a0f353f2b7433ef2fc002e72 Mon Sep 17 00:00:00 2001 From: MoMeak Date: Tue, 25 Jul 2017 18:00:05 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-2897=209.0=E8=AE=BE=E8=AE=A1=E5=99=A8?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=8D=95=E5=85=83=E6=A0=BC=E5=B1=9E?= =?UTF-8?q?=E6=80=A7-=E6=A0=B7=E5=BC=8F=3D=E3=80=8B=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=A0=B7=E5=BC=8F=3D=E3=80=8B=E5=8D=95=E5=85=83?= =?UTF-8?q?=E6=A0=BC=E3=80=81=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cell/settingpane/CellExpandAttrPane.java | 15 - .../settingpane/style/CustomStylePane.java | 287 ++++---- .../design/gui/ibutton/FiveButtonLayout.java | 22 +- .../com/fr/design/gui/ibutton/UITabGroup.java | 2 +- .../fr/design/gui/style/AlignmentPane.java | 686 +++++++++--------- .../com/fr/design/gui/style/BorderPane.java | 386 +++++----- .../com/fr/design/gui/style/FRFontPane.java | 47 +- .../com/fr/design/gui/style/FormatPane.java | 55 +- .../com/fr/design/locale/designer.properties | 17 + .../design/locale/designer_en_US.properties | 17 + .../design/locale/designer_ja_JP.properties | 58 +- .../design/locale/designer_ko_KR.properties | 56 +- .../design/locale/designer_zh_CN.properties | 17 + .../design/locale/designer_zh_TW.properties | 58 +- 14 files changed, 913 insertions(+), 810 deletions(-) diff --git a/designer/src/com/fr/design/mainframe/cell/settingpane/CellExpandAttrPane.java b/designer/src/com/fr/design/mainframe/cell/settingpane/CellExpandAttrPane.java index 128c01418..3ca8bff0c 100644 --- a/designer/src/com/fr/design/mainframe/cell/settingpane/CellExpandAttrPane.java +++ b/designer/src/com/fr/design/mainframe/cell/settingpane/CellExpandAttrPane.java @@ -89,21 +89,6 @@ public class CellExpandAttrPane extends AbstractCellAttrPane { layoutPane.add(basicPane,BorderLayout.NORTH); layoutPane.add(seniorPane,BorderLayout.CENTER); return layoutPane; -// double f = TableLayout.FILL; -// double p = TableLayout.PREFERRED; -// Component[][] components = new Component[][]{ -// new Component[]{new UILabel(Inter.getLocText("ExpandD-Expand_Direction") + ":", SwingConstants.RIGHT), expandDirectionButton}, -// new Component[]{new UILabel(Inter.getLocText("LeftParent") + ":", SwingConstants.RIGHT), leftFatherPane}, -// new Component[]{new UILabel(Inter.getLocText("ExpandD-Up_Father_Cell") + ":", SwingConstants.RIGHT), rightFatherPane}, -// new Component[]{new JSeparator(), null}, -// new Component[]{new UILabel(Inter.getLocText("ExpandD-Expandable") + ":", SwingConstants.RIGHT), horizontalExpandableCheckBox}, -// new Component[]{null, verticalExpandableCheckBox}, -// new Component[]{new UILabel(Inter.getLocText("ExpandD-Sort_After_Expand") + ":", SwingConstants.RIGHT), sortAfterExpand}, -// }; -// double[] rowSize = {p, p, p, p, p, p, p, p, p, p, p, p, p}; -// double[] columnSize = {p, f}; -// int[][] rowCount = {{1, 1}, {1, 3}, {1, 3}, {1, 1}, {1, 1}, {1, 1}, {1, 3}}; -// return TableLayoutHelper.createGapTableLayoutPane(components, rowSize, columnSize, rowCount, LayoutConstants.VGAP_MEDIUM, LayoutConstants.VGAP_MEDIUM); } private JPanel basicPane(){ diff --git a/designer/src/com/fr/design/mainframe/cell/settingpane/style/CustomStylePane.java b/designer/src/com/fr/design/mainframe/cell/settingpane/style/CustomStylePane.java index 7caadd105..019417c09 100644 --- a/designer/src/com/fr/design/mainframe/cell/settingpane/style/CustomStylePane.java +++ b/designer/src/com/fr/design/mainframe/cell/settingpane/style/CustomStylePane.java @@ -1,29 +1,25 @@ package com.fr.design.mainframe.cell.settingpane.style; -import java.awt.*; -import java.util.ArrayList; -import java.util.List; - -import javax.swing.event.ChangeListener; - import com.fr.base.CellBorderStyle; import com.fr.base.NameStyle; import com.fr.base.Style; import com.fr.design.actions.utils.ReportActionUtils; -import com.fr.design.gui.ibutton.FiveButtonLayout; -import com.fr.design.gui.style.AbstractBasicStylePane; -import com.fr.design.gui.style.AlignmentPane; -import com.fr.design.gui.style.BackgroundPane; -import com.fr.design.gui.style.BorderPane; -import com.fr.design.gui.style.FRFontPane; -import com.fr.design.gui.style.FormatPane; -import com.fr.design.style.BorderUtils; import com.fr.design.dialog.BasicPane; import com.fr.design.dialog.MultiTabPane; -import com.fr.general.Inter; +import com.fr.design.gui.ibutton.FiveButtonLayout; +import com.fr.design.gui.style.*; import com.fr.design.mainframe.ElementCasePane; +import com.fr.design.style.BorderUtils; +import com.fr.design.utils.gui.GUICoreUtils; +import com.fr.general.Inter; import com.fr.stable.Constants; +import javax.swing.*; +import javax.swing.event.ChangeListener; +import java.awt.*; +import java.util.ArrayList; +import java.util.List; + /** * 哎,复杂的原型图导致复杂的画法。非我所愿也 @@ -32,130 +28,143 @@ import com.fr.stable.Constants; * @since 2012-5-24上午10:36:10 */ public class CustomStylePane extends MultiTabPane