Browse Source

国际化

final/10.0
zheng 6 years ago
parent
commit
05484d3f2e
  1. 6
      designer-chart/src/main/java/com/fr/extended/chart/AbstractExtendedChartReportDataPane.java
  2. 6
      designer-chart/src/main/java/com/fr/extended/chart/ExtendedCustomFieldComboBoxPane.java

6
designer-chart/src/main/java/com/fr/extended/chart/AbstractExtendedChartReportDataPane.java

@ -43,14 +43,14 @@ public abstract class AbstractExtendedChartReportDataPane<T extends AbstractData
if (hasCustomFieldPane()) {
seriesPane = new TinyFormulaPane();
valuePane = new TinyFormulaPane();
components[len] = new Component[]{new UILabel("series", SwingConstants.LEFT), seriesPane};
components[len + 1] = new Component[]{new UILabel("series", SwingConstants.LEFT), valuePane};
components[len] = new Component[]{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Chart_Series_Name"), SwingConstants.LEFT), seriesPane};
components[len + 1] = new Component[]{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Chart_Use_Value"), SwingConstants.LEFT), valuePane};
}
double p = TableLayout.PREFERRED;
double f = TableLayout.FILL;
double[] columnSize = {f, COMPONENT_WIDTH};
double[] rowSize = new double[len];
double[] rowSize = new double[len + (hasCustomFieldPane() ? 2 : 0)];
Arrays.fill(rowSize, p);
JPanel panel = TableLayoutHelper.createGapTableLayoutPane(components, rowSize, columnSize, 24, 6);

6
designer-chart/src/main/java/com/fr/extended/chart/ExtendedCustomFieldComboBoxPane.java

@ -123,9 +123,9 @@ public class ExtendedCustomFieldComboBoxPane extends UIComboBoxPane<AbstractData
function = new CalculateComboBox();
Component[][] components = new Component[][]{
new Component[]{new UILabel("series", SwingConstants.LEFT), series},
new Component[]{new UILabel("value", SwingConstants.LEFT), value},
new Component[]{new UILabel("function", SwingConstants.LEFT), function},
new Component[]{new UILabel(HEADS[1], SwingConstants.LEFT), series},
new Component[]{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Chart_Use_Value"), SwingConstants.LEFT), value},
new Component[]{new UILabel(HEADS[2], SwingConstants.LEFT), function},
};
double p = TableLayout.PREFERRED;

Loading…
Cancel
Save