|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.fr.design.dscolumn; |
|
|
|
|
|
|
|
|
|
import com.fr.base.BaseFormula; |
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.design.border.UITitledBorder; |
|
|
|
|
import com.fr.design.data.DesignTableDataManager; |
|
|
|
|
import com.fr.design.dialog.BasicPane; |
|
|
|
@ -248,7 +249,7 @@ public class DSColumnAdvancedPane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
private static class SortPane extends CellDSColumnSortPane { |
|
|
|
|
SortPane() { |
|
|
|
|
this.setLayout(new FlowLayout(FlowLayout.LEFT)); |
|
|
|
|
this.setLayout(new FlowLayout(BidiUtils.rtl() ? FlowLayout.RIGHT : FlowLayout.LEFT)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected boolean needSortHeaderPane() { |
|
|
|
@ -305,14 +306,14 @@ public class DSColumnAdvancedPane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
//not define pane
|
|
|
|
|
|
|
|
|
|
JPanel undefinedPane = GUICoreUtils.createFlowPane(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Undefined")), FlowLayout.LEFT); |
|
|
|
|
JPanel undefinedPane = GUICoreUtils.createFlowPane(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Undefined")), BidiUtils.rtl() ? FlowLayout.RIGHT : FlowLayout.LEFT); |
|
|
|
|
topFormulaPane = new JFormulaField("-1"); |
|
|
|
|
bottomFormulaPane = new JFormulaField("-1"); |
|
|
|
|
serialTextField = new UITextField(18); |
|
|
|
|
JPanel oddPane = GUICoreUtils.createFlowPane(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Bind_Column_Result_Serial_Number_Start_From_1") |
|
|
|
|
+ " " + com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Bind_Column_Odd_Selected_(1,3,5...)")), FlowLayout.LEFT); |
|
|
|
|
+ " " + com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Bind_Column_Odd_Selected_(1,3,5...)")), BidiUtils.rtl() ? FlowLayout.RIGHT : FlowLayout.LEFT); |
|
|
|
|
JPanel evenPane = GUICoreUtils.createFlowPane(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Bind_Column_Result_Serial_Number_Start_From_1") |
|
|
|
|
+ " " + com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Bind_Column_Even_Selected_(2,4,6...)")), FlowLayout.LEFT); |
|
|
|
|
+ " " + com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Bind_Column_Even_Selected_(2,4,6...)")), BidiUtils.rtl() ? FlowLayout.RIGHT : FlowLayout.LEFT); |
|
|
|
|
JPanel specifyPane = GUICoreUtils.createFlowPane(new JComponent[]{ |
|
|
|
|
serialTextField, new UILabel( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_DSColumn_Result_Group_Format", "1,2-3,5,8", "$__count__") |
|
|
|
@ -404,7 +405,7 @@ public class DSColumnAdvancedPane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
UIButton bottomFrmulaButton = new UIButton("..."); |
|
|
|
|
this.add(bottomFrmulaButton); |
|
|
|
|
bottomFrmulaButton.setToolTipText(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Formula") + "..."); |
|
|
|
|
bottomFrmulaButton.setToolTipText(BidiUtils.reverseConcatenateStrings(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Formula"), "...")); |
|
|
|
|
bottomFrmulaButton.setPreferredSize(new Dimension(25, formulaTextField.getPreferredSize().height)); |
|
|
|
|
bottomFrmulaButton.addActionListener(formulaButtonActionListener); |
|
|
|
|
} |
|
|
|
@ -467,7 +468,7 @@ public class DSColumnAdvancedPane extends BasicPane {
|
|
|
|
|
public ValuePane() { |
|
|
|
|
this.setLayout(FRGUIPaneFactory.createBoxFlowLayout()); |
|
|
|
|
|
|
|
|
|
this.add(new UILabel(InsetText + com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Value") + ":")); |
|
|
|
|
this.add(new UILabel(BidiUtils.reverseConcatenateStrings(InsetText, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Value"), ":"))); |
|
|
|
|
this.add(Box.createHorizontalStrut(2)); |
|
|
|
|
this.add((formulaField = new JFormulaField("$$$"))); |
|
|
|
|
} |
|
|
|
|