Browse Source

REPORT-59567:修改代码格式

research/11.0
fly.li 3 years ago
parent
commit
84c27e70b7
  1. 7
      designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java

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

@ -101,8 +101,7 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> {
private JPanel createPagingEngineSelectPane(){ private JPanel createPagingEngineSelectPane(){
engineSettingPane = new JLayeredPane(); engineSettingPane = new JLayeredPane();
engineSettingPane.setPreferredSize(new Dimension(570, 240)); engineSettingPane.setBounds(0, 0, 570, 240);
engineSettingPane.setBounds(0,0,570,240);
createEngineXSettingPane(); createEngineXSettingPane();
createLineEngineSettingPane(); createLineEngineSettingPane();
engineSettingPane.add(outEngineXSettingPane, JLayeredPane.DEFAULT_LAYER); engineSettingPane.add(outEngineXSettingPane, JLayeredPane.DEFAULT_LAYER);
@ -152,7 +151,7 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> {
private JPanel createTipPane(String tipText){ private JPanel createTipPane(String tipText){
JPanel tipPane = new JPanel(); JPanel tipPane = new JPanel();
UILabel tip = new UILabel(tipText, SwingConstants.LEFT); UILabel tip = new UILabel(tipText, SwingConstants.LEFT);
tip.setForeground(new Color(128,128,128)); tip.setForeground(new Color(128, 128, 128));
tipPane.add(tip); tipPane.add(tip);
return tipPane; return tipPane;
} }
@ -162,7 +161,7 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> {
double rowSize[] = {p, p}; double rowSize[] = {p, p};
double columnSize[] = {p, p}; double columnSize[] = {p, p};
countPerPageEditor = new IntegerEditor(new Integer(30)); countPerPageEditor = new IntegerEditor(new Integer(30));
countPerPageEditor.setPreferredSize(new Dimension(120,20)); countPerPageEditor.setPreferredSize(new Dimension(120, 20));
Component[][] components = {{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_LayerPageReport_Count_PerPage") + ":"), countPerPageEditor}}; Component[][] components = {{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_LayerPageReport_Count_PerPage") + ":"), countPerPageEditor}};
JPanel pageQueryPane = TableLayoutHelper.createTableLayoutPane(components, rowSize, columnSize); JPanel pageQueryPane = TableLayoutHelper.createTableLayoutPane(components, rowSize, columnSize);
pageQueryPane.setBorder(BorderFactory.createEmptyBorder(5, 15, 0, 0)); pageQueryPane.setBorder(BorderFactory.createEmptyBorder(5, 15, 0, 0));

Loading…
Cancel
Save