|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.fr.design.chart.series.SeriesCondition.impl; |
|
|
|
|
|
|
|
|
|
import com.fr.base.Parameter; |
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.chart.chartattr.ChartCollection; |
|
|
|
|
import com.fr.chart.web.ChartHyperPoplink; |
|
|
|
|
import com.fr.design.editor.ValueEditorPane; |
|
|
|
@ -72,9 +73,9 @@ public class ChartHyperPopAttrPane extends AbstractChartAttrPane {
|
|
|
|
|
double[] rowSize = { p,p,p,p,p,p}; |
|
|
|
|
|
|
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
|
new Component[]{new BoldFontTextLabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title") + ":", SwingConstants.RIGHT), titleField}, |
|
|
|
|
new Component[]{new BoldFontTextLabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Designer_Width") + ":", SwingConstants.RIGHT), widthField}, |
|
|
|
|
new Component[]{new BoldFontTextLabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Chart_Height") + ":", SwingConstants.RIGHT), heightField}, |
|
|
|
|
new Component[]{new BoldFontTextLabel(BidiUtils.reverseConcatenateStrings(getBoldFontTextLabelName("Fine-Design_Form_Widget_Style_Title")), getBoldFontTextLabelHorizontalAlignment()), titleField}, |
|
|
|
|
new Component[]{new BoldFontTextLabel(BidiUtils.reverseConcatenateStrings(getBoldFontTextLabelName("Fine-Design_Basic_Designer_Width")), getBoldFontTextLabelHorizontalAlignment()), widthField}, |
|
|
|
|
new Component[]{new BoldFontTextLabel(BidiUtils.reverseConcatenateStrings(getBoldFontTextLabelName("Fine-Design_Chart_Height")), getBoldFontTextLabelHorizontalAlignment()), heightField}, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
widthField.setText(String.valueOf(DEFAULT_V_VALUE)); |
|
|
|
@ -90,6 +91,13 @@ public class ChartHyperPopAttrPane extends AbstractChartAttrPane {
|
|
|
|
|
|
|
|
|
|
return pane; |
|
|
|
|
} |
|
|
|
|
private int getBoldFontTextLabelHorizontalAlignment() { |
|
|
|
|
return BidiUtils.rtl() ? SwingConstants.LEFT : SwingConstants.RIGHT; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private String getBoldFontTextLabelName(String i18ney) { |
|
|
|
|
return BidiUtils.reverseConcatenateStrings(com.fr.design.i18n.Toolkit.i18nText(i18ney), ":"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void populateBean(ChartHyperPoplink chartHyperlink) { |
|
|
|
|
|
|
|
|
|