|
|
|
@ -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 { |
|
|
|
|