|
|
@ -85,7 +85,6 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> { |
|
|
|
JPanel clientPagingpanel = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
JPanel clientPagingpanel = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
clientPaging = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Enable_Client_Page")); |
|
|
|
clientPaging = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Enable_Client_Page")); |
|
|
|
clientPaging.setSelected(false); |
|
|
|
clientPaging.setSelected(false); |
|
|
|
clientPaging.addActionListener(new SelectActionListener(clientPaging, outPagingEngineSelectPane)); |
|
|
|
|
|
|
|
clientPagingpanel.add(clientPaging); |
|
|
|
clientPagingpanel.add(clientPaging); |
|
|
|
reportEnginePane.add(clientPagingpanel); |
|
|
|
reportEnginePane.add(clientPagingpanel); |
|
|
|
outPagingEngineSelectPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Paging_Engine_Select")); |
|
|
|
outPagingEngineSelectPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Paging_Engine_Select")); |
|
|
@ -93,17 +92,19 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> { |
|
|
|
outPagingEngineSelectPane.setVisible(false); |
|
|
|
outPagingEngineSelectPane.setVisible(false); |
|
|
|
outPagingEngineSelectPane.setPreferredSize(new Dimension(600, 300)); |
|
|
|
outPagingEngineSelectPane.setPreferredSize(new Dimension(600, 300)); |
|
|
|
outPagingEngineSelectPane.add(createPagingEngineSelectPane()); |
|
|
|
outPagingEngineSelectPane.add(createPagingEngineSelectPane()); |
|
|
|
|
|
|
|
clientPaging.addActionListener(new SelectActionListener(clientPaging, outPagingEngineSelectPane)); |
|
|
|
return reportEnginePane; |
|
|
|
return reportEnginePane; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private JPanel createPagingEngineSelectPane(){ |
|
|
|
private JPanel createPagingEngineSelectPane(){ |
|
|
|
JPanel pagingEngineSelectPane = FRGUIPaneFactory.createY_AXISBoxInnerContainer_M_Pane(); |
|
|
|
JPanel pagingEngineSelectPane = FRGUIPaneFactory.createY_AXISBoxInnerContainer_M_Pane(); |
|
|
|
pagingEngineSelectPane.add(createPagingEngineRadioPanel()); |
|
|
|
|
|
|
|
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")); |
|
|
|
pagingEngineSelectPane.add(outEngineXSettingPane); |
|
|
|
|
|
|
|
outEngineXSettingPane.setVisible(false); |
|
|
|
outEngineXSettingPane.setVisible(false); |
|
|
|
outEngineXSettingPane.setPreferredSize(new Dimension(570, 240)); |
|
|
|
outEngineXSettingPane.setPreferredSize(new Dimension(570, 240)); |
|
|
|
outEngineXSettingPane.add(createEngineXSettingPane()); |
|
|
|
outEngineXSettingPane.add(createEngineXSettingPane()); |
|
|
|
|
|
|
|
pagingEngineSelectPane.add(createPagingEngineRadioPanel()); |
|
|
|
|
|
|
|
pagingEngineSelectPane.add(outEngineXSettingPane); |
|
|
|
|
|
|
|
|
|
|
|
return pagingEngineSelectPane; |
|
|
|
return pagingEngineSelectPane; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -115,9 +116,9 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> { |
|
|
|
pageQueryBoxPanel.add(pageQueryBox); |
|
|
|
pageQueryBoxPanel.add(pageQueryBox); |
|
|
|
engineXSettingPane.add(pageQueryBoxPanel); |
|
|
|
engineXSettingPane.add(pageQueryBoxPanel); |
|
|
|
pageQueryPane = createPageQueryPane(); |
|
|
|
pageQueryPane = createPageQueryPane(); |
|
|
|
pageQueryBox.addActionListener(new SelectActionListener(pageQueryBox, pageQueryPane)); |
|
|
|
|
|
|
|
pageQueryPane.setVisible(false); |
|
|
|
pageQueryPane.setVisible(false); |
|
|
|
engineXSettingPane.add(pageQueryPane); |
|
|
|
engineXSettingPane.add(pageQueryPane); |
|
|
|
|
|
|
|
pageQueryBox.addActionListener(new SelectActionListener(pageQueryBox, pageQueryPane)); |
|
|
|
JPanel tipPane = new JPanel(); |
|
|
|
JPanel tipPane = new JPanel(); |
|
|
|
UILabel tip = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Report_Engine_tip"), SwingConstants.LEFT); |
|
|
|
UILabel tip = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Report_Engine_tip"), SwingConstants.LEFT); |
|
|
|
tipPane.add(tip); |
|
|
|
tipPane.add(tip); |
|
|
@ -256,7 +257,6 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> { |
|
|
|
countPerPageEditor.setValue(30); |
|
|
|
countPerPageEditor.setValue(30); |
|
|
|
countPerPageEditor.setEnabled(false); |
|
|
|
countPerPageEditor.setEnabled(false); |
|
|
|
pageQueryBox.setSelected(false); |
|
|
|
pageQueryBox.setSelected(false); |
|
|
|
pageQueryBox.setEnabled(false); |
|
|
|
|
|
|
|
radioButtons.get(0).setSelected(false); |
|
|
|
radioButtons.get(0).setSelected(false); |
|
|
|
radioButtons.get(1).setSelected(false); |
|
|
|
radioButtons.get(1).setSelected(false); |
|
|
|
} |
|
|
|
} |
|
|
|