Browse Source

REPORT-82895 【11.0.11延期】单元格重复冻结优化 更改变量命名

feature/x
Destiny.Lin 2 years ago
parent
commit
6005267621
  1. 8
      designer-realize/src/main/java/com/fr/design/report/freeze/FreezePagePane.java

8
designer-realize/src/main/java/com/fr/design/report/freeze/FreezePagePane.java

@ -9,7 +9,7 @@ import com.fr.stable.StableUtils;
public class FreezePagePane extends FreezeAndRepeatPane {
private boolean isNumber;
private boolean isFoot;
private boolean foot;
public FreezePagePane(boolean isNumber) {
this.isNumber = isNumber;
@ -18,8 +18,8 @@ public class FreezePagePane extends FreezeAndRepeatPane {
super.initComponent();
}
public FreezePagePane(boolean isNumber, boolean isFoot) {
this.isFoot = isFoot;
public FreezePagePane(boolean isNumber, boolean foot) {
this.foot = foot;
this.isNumber = isNumber;
start = new UILabel(isNumber ? com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Frozen_N.O.")+" 1" : com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Frozen_N.O.")+" A", SwingConstants.CENTER);
end = new UILabel(isNumber ? " 1"+com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Row") : " A"+com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Column"), SwingConstants.CENTER);
@ -38,7 +38,7 @@ public class FreezePagePane extends FreezeAndRepeatPane {
} else {
((UILabel) end).setText(StableUtils.convertIntToABC(ob.getTo() + 1)+com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Column"));
}
if (isFoot) {
if (foot) {
if (isNumber) {
((UILabel) start).setText(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Frozen_N.O.")+String.valueOf(ob.getFrom() + 1));
} else {

Loading…
Cancel
Save