Browse Source

REPORT-59567:修改报表引擎属性界面一些与交互不同的地方

research/11.0
fly.li 3 years ago
parent
commit
6a99c142cd
  1. 12
      designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java

12
designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java

@ -121,20 +121,18 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> {
/** /**
* 目前先屏蔽后面新引擎显示页码再加上相关代码 * 目前先屏蔽后面新引擎显示页码再加上相关代码
* */ * */
private JPanel createEngineXSettingPane(){ private void createEngineXSettingPane(){
outEngineXSettingPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_New_Engine")); outEngineXSettingPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_New_Engine"));
outEngineXSettingPane.setBounds(0, 0, 570, 240); outEngineXSettingPane.setBounds(0, 0, 570, 240);
return outEngineXSettingPane;
} }
private JPanel createLineEngineSettingPane(){ private void createLineEngineSettingPane(){
outLineEngineSettingPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Line_Engine")); outLineEngineSettingPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Line_Engine"));
outLineEngineSettingPane.setBounds(0, 0, 570, 240); outLineEngineSettingPane.setBounds(0, 0, 570, 240);
JPanel lineEngineSettingPane = createCommonEngineSettingPane(); JPanel lineEngineSettingPane = createCommonEngineSettingPane();
JPanel tipPane = createTipPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Line_Engine_tip")); JPanel tipPane = createTipPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Line_Engine_tip"));
lineEngineSettingPane.add(tipPane); lineEngineSettingPane.add(tipPane);
outLineEngineSettingPane.add(lineEngineSettingPane); outLineEngineSettingPane.add(lineEngineSettingPane);
return outLineEngineSettingPane;
} }
private JPanel createCommonEngineSettingPane(){ private JPanel createCommonEngineSettingPane(){
@ -319,7 +317,11 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> {
this.showTarget = showTarget; this.showTarget = showTarget;
this.notShowTarget = notShowTarget; this.notShowTarget = notShowTarget;
} }
//由于屏蔽了新引擎设置,由于新引擎设置界面是空的,行式引擎的设置会显示出来,每次转换时,因此将不需要显示的屏蔽
/**
* 由于屏蔽了新引擎设置由于新引擎设置界面是空的行式引擎的设置界面会显示出来因此每次界面转换时将不需要显示的界面屏蔽
* 不需要屏蔽新引擎设置时就不需要showTarget.setVisible(true);notShowTarget.setVisible(false);这两行代码了
* **/
@Override @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
if (source.isSelected()){ if (source.isSelected()){

Loading…
Cancel
Save