|
|
@ -152,14 +152,11 @@ public class EditToolBar extends BasicPane { |
|
|
|
this.add(splitPane); |
|
|
|
this.add(splitPane); |
|
|
|
list.addListSelectionListener(listSelectionListener); |
|
|
|
list.addListSelectionListener(listSelectionListener); |
|
|
|
JPanel backgroundPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
JPanel backgroundPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
// UIButton bgButton = new UIButton(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Background", "Set"}));
|
|
|
|
|
|
|
|
UIButton bgButton = new UIButton(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Background")); |
|
|
|
UIButton bgButton = new UIButton(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Background")); |
|
|
|
// defaultCheckBox = new UICheckBox(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Default", "Background"}));
|
|
|
|
|
|
|
|
defaultCheckBox = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Default_Background")); |
|
|
|
defaultCheckBox = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Default_Background")); |
|
|
|
bgButton.addActionListener(actioner); |
|
|
|
bgButton.addActionListener(actioner); |
|
|
|
backgroundPane.add(defaultCheckBox); |
|
|
|
backgroundPane.add(defaultCheckBox); |
|
|
|
backgroundPane.add(bgButton); |
|
|
|
backgroundPane.add(bgButton); |
|
|
|
// backgroundPane.setBorder(BorderFactory.createTitledBorder(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Background", "Set"})));
|
|
|
|
|
|
|
|
backgroundPane.setBorder(BorderFactory.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Background"))); |
|
|
|
backgroundPane.setBorder(BorderFactory.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Background"))); |
|
|
|
this.add(backgroundPane, BorderLayout.SOUTH); |
|
|
|
this.add(backgroundPane, BorderLayout.SOUTH); |
|
|
|
} |
|
|
|
} |
|
|
@ -383,14 +380,12 @@ public class EditToolBar extends BasicPane { |
|
|
|
double rowSize[] = {p, p}; |
|
|
|
double rowSize[] = {p, p}; |
|
|
|
double columnSize[] = {p, p}; |
|
|
|
double columnSize[] = {p, p}; |
|
|
|
|
|
|
|
|
|
|
|
// Component[][] coms = new Component[][]{{new UILabel(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Widget", "Printer-Alias"}) + ":"), nameField}, {new UILabel(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Widget", "Icon"}) + ":"), iconPane}};
|
|
|
|
|
|
|
|
Component[][] coms = new Component[][]{{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Widget_Printer_Alias") + ":"), nameField}, {new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Widget_Icon") + ":"), iconPane}}; |
|
|
|
Component[][] coms = new Component[][]{{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Widget_Printer_Alias") + ":"), nameField}, {new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Widget_Icon") + ":"), iconPane}}; |
|
|
|
|
|
|
|
|
|
|
|
JPanel nameIconPane = TableLayoutHelper.createTableLayoutPane(coms, rowSize, columnSize); |
|
|
|
JPanel nameIconPane = TableLayoutHelper.createTableLayoutPane(coms, rowSize, columnSize); |
|
|
|
|
|
|
|
|
|
|
|
north.add(nameIconPane, BorderLayout.SOUTH); |
|
|
|
north.add(nameIconPane, BorderLayout.SOUTH); |
|
|
|
|
|
|
|
|
|
|
|
// north.setBorder(BorderFactory.createTitledBorder(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Form-Button", "Property", "Set"})));
|
|
|
|
|
|
|
|
north.setBorder(BorderFactory.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Form_Button_Property"))); |
|
|
|
north.setBorder(BorderFactory.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Form_Button_Property"))); |
|
|
|
this.add(north, BorderLayout.NORTH); |
|
|
|
this.add(north, BorderLayout.NORTH); |
|
|
|
JPanel none = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
JPanel none = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
@ -447,7 +442,6 @@ public class EditToolBar extends BasicPane { |
|
|
|
export = exportToolBarProviders[i].updateCenterPane(export); |
|
|
|
export = exportToolBarProviders[i].updateCenterPane(export); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// export.setBorder(GUICoreUtils.createTitledBorder(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Form-Button", "Property", "Set"}), null));
|
|
|
|
|
|
|
|
export.setBorder(GUICoreUtils.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Form_Button_Property"), null)); |
|
|
|
export.setBorder(GUICoreUtils.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Form_Button_Property"), null)); |
|
|
|
return export; |
|
|
|
return export; |
|
|
|
} |
|
|
|
} |
|
|
@ -455,7 +449,6 @@ public class EditToolBar extends BasicPane { |
|
|
|
private JPanel getCpane() { |
|
|
|
private JPanel getCpane() { |
|
|
|
JPanel appendCountPane = FRGUIPaneFactory.createY_AXISBoxInnerContainer_S_Pane(); |
|
|
|
JPanel appendCountPane = FRGUIPaneFactory.createY_AXISBoxInnerContainer_S_Pane(); |
|
|
|
count = new UIBasicSpinner(new SpinnerNumberModel(1, 0, Integer.MAX_VALUE, 1)); |
|
|
|
count = new UIBasicSpinner(new SpinnerNumberModel(1, 0, Integer.MAX_VALUE, 1)); |
|
|
|
// UILabel countLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Add", "Row", "Column", "Numbers"}) + ":");
|
|
|
|
|
|
|
|
UILabel countLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Add_Row_Column_Numbers") + ":"); |
|
|
|
UILabel countLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Add_Row_Column_Numbers") + ":"); |
|
|
|
JPanel cpane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
JPanel cpane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
cpane.add(countLabel); |
|
|
|
cpane.add(countLabel); |
|
|
@ -467,11 +460,9 @@ public class EditToolBar extends BasicPane { |
|
|
|
|
|
|
|
|
|
|
|
private JPanel getSubmitPane() { |
|
|
|
private JPanel getSubmitPane() { |
|
|
|
isVerify = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Verify-Data_Verify")); |
|
|
|
isVerify = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Verify-Data_Verify")); |
|
|
|
// failSubmit = new UICheckBox(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Verify_Fail", "Still", "Submit"}));
|
|
|
|
|
|
|
|
failSubmit = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Verify_Fail_Still_Submit")); |
|
|
|
failSubmit = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Verify_Fail_Still_Submit")); |
|
|
|
isCurSheet = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Only_Submit_Current_Sheet")); |
|
|
|
isCurSheet = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Only_Submit_Current_Sheet")); |
|
|
|
JPanel submitPane = FRGUIPaneFactory.createY_AXISBoxInnerContainer_S_Pane(); |
|
|
|
JPanel submitPane = FRGUIPaneFactory.createY_AXISBoxInnerContainer_S_Pane(); |
|
|
|
// submitPane.setBorder(GUICoreUtils.createTitledBorder(com.fr.design.i18n.Toolkit.i18nTextArray(new String[]{"Form-Button", "Property", "Set"}), null));
|
|
|
|
|
|
|
|
submitPane.setBorder(GUICoreUtils.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Form_Button_Property"), null)); |
|
|
|
submitPane.setBorder(GUICoreUtils.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Form_Button_Property"), null)); |
|
|
|
submitPane.add(isVerify); |
|
|
|
submitPane.add(isVerify); |
|
|
|
submitPane.add(failSubmit); |
|
|
|
submitPane.add(failSubmit); |
|
|
|