|
|
|
@ -242,6 +242,7 @@ public class RepeatAndFreezeSettingPane extends BasicPane {
|
|
|
|
|
JPanel pagePanel = new JPanel(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
JPanel repeatHeadPanel = FRGUIPaneFactory.createNColumnGridInnerContainer_S_Pane(1); |
|
|
|
|
JPanel repeatFootPanel = FRGUIPaneFactory.createNColumnGridInnerContainer_S_Pane(1); |
|
|
|
|
tabbedPane = new UITabbedPane(); |
|
|
|
|
|
|
|
|
|
//添加上方的边界线
|
|
|
|
|
addBorder(repeatHeadPanel, REPEAT_AND_FROZEN_HEAD); |
|
|
|
@ -268,14 +269,12 @@ public class RepeatAndFreezeSettingPane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
outfreezePanel.add(initPageFrozenPane(), BorderLayout.NORTH); |
|
|
|
|
outfreezePanel.add(initPageFrozenFootPane(),BorderLayout.CENTER); |
|
|
|
|
tabbedPane.addTab(Toolkit.i18nText("Fine-Design_Basic_M_Page_Preview"), pagePanel); |
|
|
|
|
JPanel writePanel = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Engine_Frozen")); |
|
|
|
|
addWriteFrozen(writePanel); |
|
|
|
|
|
|
|
|
|
tabbedPane = new UITabbedPane(); |
|
|
|
|
//去除对应的焦点虚线边框
|
|
|
|
|
tabbedPane.setFocusable(false); |
|
|
|
|
tabbedPane.addTab(Toolkit.i18nText("Fine-Design_Basic_M_Page_Preview"), pagePanel); |
|
|
|
|
tabbedPane.addTab(Toolkit.i18nText("Fine-Design_Basic_M_Write_Preview"), writePanel); |
|
|
|
|
this.add(tabbedPane); |
|
|
|
|
initPageRwoListener(); |
|
|
|
|
initPageColListener(); |
|
|
|
@ -322,6 +321,7 @@ public class RepeatAndFreezeSettingPane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
protected void addWriteFrozen(JPanel freezePanel) { |
|
|
|
|
freezePanel.add(initWriteFrozenPane(), BorderLayout.CENTER); |
|
|
|
|
tabbedPane.addTab(Toolkit.i18nText("Fine-Design_Basic_M_Write_Preview"), freezePanel); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected void addFootColStart(JPanel repeatPanel) { |
|
|
|
@ -509,7 +509,7 @@ public class RepeatAndFreezeSettingPane extends BasicPane {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.usePageHeadFrozenRCheckBox.setSelected(attribute.isUsePageFrozenRow()); |
|
|
|
|
this.usePageFootFrozenRCheckBox.setSelected(attribute.isUsePageFrozenRow()); |
|
|
|
|
this.usePageFootFrozenRCheckBox.setSelected(attribute.isUsePageFootRowFrozen()); |
|
|
|
|
this.freezePageRowPane.setEnabled(attribute.isUsePageFrozenRow()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -536,7 +536,7 @@ public class RepeatAndFreezeSettingPane extends BasicPane {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.usePageHeadFrozenCCheckBox.setSelected(attribute.isUsePageFrozenColumn()); |
|
|
|
|
this.usePageFootFrozenCCheckBox.setSelected(attribute.isUsePageFrozenColumn()); |
|
|
|
|
this.usePageFootFrozenCCheckBox.setSelected(attribute.isUsePageFootColFrozen()); |
|
|
|
|
this.freezePageColPane.setEnabled(attribute.isUsePageFrozenColumn()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|