|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.fr.design.chart.series.SeriesCondition.impl; |
|
|
|
|
|
|
|
|
|
import com.fr.base.Utils; |
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.chart.web.ChartHyperRelateFloatLink; |
|
|
|
|
import com.fr.design.DesignModelAdapter; |
|
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
|
@ -53,7 +54,7 @@ public class ChartHyperRelateFloatLinkPane extends AbstractHyperLinkPane<ChartHy
|
|
|
|
|
|
|
|
|
|
if (needRenamePane()) { |
|
|
|
|
itemNameTextField = new UITextField(); |
|
|
|
|
this.add(GUICoreUtils.createNamedPane(itemNameTextField, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Name") + ":"), BorderLayout.NORTH); |
|
|
|
|
this.add(GUICoreUtils.createNamedPane(itemNameTextField, BidiUtils.reverseConcatenateStrings(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Name"), ":")), BorderLayout.NORTH); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.add(centerPane, BorderLayout.CENTER); |
|
|
|
@ -61,12 +62,13 @@ public class ChartHyperRelateFloatLinkPane extends AbstractHyperLinkPane<ChartHy
|
|
|
|
|
floatNameBox.setPreferredSize(new Dimension(90, 20)); |
|
|
|
|
|
|
|
|
|
JPanel pane = FRGUIPaneFactory.createBoxFlowInnerContainer_S_Pane(); |
|
|
|
|
pane.add(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_M_Insert-Float") + ":")); |
|
|
|
|
pane.add(new UILabel(BidiUtils.reverseConcatenateStrings(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_M_Insert-Float"), ":"))); |
|
|
|
|
pane.add(floatNameBox); |
|
|
|
|
|
|
|
|
|
BidiUtils.applyOrientationByLocale(pane); |
|
|
|
|
Border boder = new LineBorder(UIConstants.TITLED_BORDER_COLOR); |
|
|
|
|
Font font = null; |
|
|
|
|
TitledBorder border = new TitledBorder(boder, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Chart_Hyper_Related_Float"), 4, 2, font, new Color(1, 159, 222)); |
|
|
|
|
border.setTitleJustification(BidiUtils.rtl() ? TitledBorder.RIGHT : TitledBorder.LEFT); |
|
|
|
|
// 圆角不行
|
|
|
|
|
centerPane.setBorder(border); |
|
|
|
|
|
|
|
|
|