|
|
@ -159,14 +159,14 @@ public class VanChartTooltipContentPane extends BasicBeanPane<AttrTooltipContent |
|
|
|
|
|
|
|
|
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
new Component[]{null, null}, |
|
|
|
new Component[]{null, null}, |
|
|
|
new Component[]{null, createContentStylePane()} |
|
|
|
new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Chart_Content_Style")), createContentStylePane()} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
return TableLayoutHelper.createTableLayoutPane(components, rowSize, columnSize); |
|
|
|
return TableLayoutHelper.createTableLayoutPane(components, rowSize, columnSize); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private JComponent createContentStylePane() { |
|
|
|
private JComponent createContentStylePane() { |
|
|
|
UIButton contentTextArea = new UIButton(Toolkit.i18nText("Fine-Design_Chart_Content_Style")); |
|
|
|
UIButton contentTextArea = new UIButton(Toolkit.i18nText("Fine-Design_Report_RichTextEditor")); |
|
|
|
|
|
|
|
|
|
|
|
contentTextArea.addMouseListener(new MouseAdapter() { |
|
|
|
contentTextArea.addMouseListener(new MouseAdapter() { |
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
@ -395,6 +395,14 @@ public class VanChartTooltipContentPane extends BasicBeanPane<AttrTooltipContent |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VanChartFormatPaneWithCheckBox[] formatPaneGroup = getFormatPaneGroup(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (VanChartFormatPaneWithCheckBox formatPane : formatPaneGroup) { |
|
|
|
|
|
|
|
if (formatPane != null) { |
|
|
|
|
|
|
|
formatPane.setSelected(false); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for (String param : params) { |
|
|
|
for (String param : params) { |
|
|
|
VanChartFormatPaneWithCheckBox formatPane = getTargetFormatPane(param); |
|
|
|
VanChartFormatPaneWithCheckBox formatPane = getTargetFormatPane(param); |
|
|
|
|
|
|
|
|
|
|
@ -450,9 +458,11 @@ public class VanChartTooltipContentPane extends BasicBeanPane<AttrTooltipContent |
|
|
|
private void updateTooltipRichText(AttrTooltipContent attrTooltipContent) { |
|
|
|
private void updateTooltipRichText(AttrTooltipContent attrTooltipContent) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (attrTooltipContent != null) { |
|
|
|
if (attrTooltipContent != null) { |
|
|
|
attrTooltipContent.setRichText((AttrTooltipRichText) richText.clone()); |
|
|
|
AttrTooltipRichText tooltipRichText = attrTooltipContent.getRichText(); |
|
|
|
|
|
|
|
tooltipRichText.setContent(richText.getContent()); |
|
|
|
|
|
|
|
tooltipRichText.setAuto(richText.isAuto()); |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (Exception e){ |
|
|
|
} catch (Exception e) { |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|