|
|
@ -216,8 +216,8 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> { |
|
|
|
if (pageQueryBox.isSelected()){ |
|
|
|
if (pageQueryBox.isSelected()){ |
|
|
|
pageQueryPane.setVisible(true); |
|
|
|
pageQueryPane.setVisible(true); |
|
|
|
} |
|
|
|
} |
|
|
|
radioButtons.get(0).setSelected(ob.getEngineState() == LayerReportAttr.ENGINE_X ? true : false); |
|
|
|
radioButtons.get(0).setSelected(ob.getEngineState() == LayerReportAttr.ENGINE_X); |
|
|
|
radioButtons.get(1).setSelected(ob.getEngineState() == LayerReportAttr.LINE_ENGINE ? true : false); |
|
|
|
radioButtons.get(1).setSelected(ob.getEngineState() == LayerReportAttr.LINE_ENGINE); |
|
|
|
//有一个默认值,一定会显示分页选项界面
|
|
|
|
//有一个默认值,一定会显示分页选项界面
|
|
|
|
outEngineXSettingPane.setVisible(true); |
|
|
|
outEngineXSettingPane.setVisible(true); |
|
|
|
|
|
|
|
|
|
|
@ -228,7 +228,7 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> { |
|
|
|
//这里注意一下怎么更新的,后续可能存在判断为空的调用,从而对老引擎造成影响。
|
|
|
|
//这里注意一下怎么更新的,后续可能存在判断为空的调用,从而对老引擎造成影响。
|
|
|
|
LayerReportAttr attr = new LayerReportAttr(); |
|
|
|
LayerReportAttr attr = new LayerReportAttr(); |
|
|
|
attr.setPageQuery(pageQueryBox.isSelected()); |
|
|
|
attr.setPageQuery(pageQueryBox.isSelected()); |
|
|
|
attr.setCountPerPage(Math.min(500, ((Integer)countPerPageEditor.getValue()).intValue())); |
|
|
|
attr.setCountPerPage(Math.min(500, (countPerPageEditor.getValue()).intValue())); |
|
|
|
attr.setClientPaging(clientPaging.isSelected()); |
|
|
|
attr.setClientPaging(clientPaging.isSelected()); |
|
|
|
attr.setShowDataNumber(showDataNumber.isSelected()); |
|
|
|
attr.setShowDataNumber(showDataNumber.isSelected()); |
|
|
|
for (int i = 0; i < radioButtons.size(); i++){ |
|
|
|
for (int i = 0; i < radioButtons.size(); i++){ |
|
|
@ -253,7 +253,7 @@ public class ReportEnginePane extends BasicBeanPane<LayerReportAttr> { |
|
|
|
} |
|
|
|
} |
|
|
|
public void setDefaultAttr(){ |
|
|
|
public void setDefaultAttr(){ |
|
|
|
clientPaging.setSelected(false); |
|
|
|
clientPaging.setSelected(false); |
|
|
|
countPerPageEditor.setValue(new Integer(30)); |
|
|
|
countPerPageEditor.setValue(30); |
|
|
|
countPerPageEditor.setEnabled(false); |
|
|
|
countPerPageEditor.setEnabled(false); |
|
|
|
pageQueryBox.setSelected(false); |
|
|
|
pageQueryBox.setSelected(false); |
|
|
|
pageQueryBox.setEnabled(false); |
|
|
|
pageQueryBox.setEnabled(false); |
|
|
|