|
|
@ -73,6 +73,7 @@ public class VanChartTooltipContentPane extends BasicBeanPane<AttrTooltipContent |
|
|
|
private JPanel commonPanel; |
|
|
|
private JPanel commonPanel; |
|
|
|
private JPanel editorPanel; |
|
|
|
private JPanel editorPanel; |
|
|
|
private JPanel htmlPanel; |
|
|
|
private JPanel htmlPanel; |
|
|
|
|
|
|
|
private JPanel stylePanel; |
|
|
|
private UIButtonGroup<Integer> styleButton; |
|
|
|
private UIButtonGroup<Integer> styleButton; |
|
|
|
private ChartTextAttrPane textAttrPane; |
|
|
|
private ChartTextAttrPane textAttrPane; |
|
|
|
private VanChartHtmlLabelPane htmlLabelPane; |
|
|
|
private VanChartHtmlLabelPane htmlLabelPane; |
|
|
@ -202,6 +203,7 @@ public class VanChartTooltipContentPane extends BasicBeanPane<AttrTooltipContent |
|
|
|
|
|
|
|
|
|
|
|
content.add(createButtonPane(), BorderLayout.NORTH); |
|
|
|
content.add(createButtonPane(), BorderLayout.NORTH); |
|
|
|
content.add(centerPanel, BorderLayout.CENTER); |
|
|
|
content.add(centerPanel, BorderLayout.CENTER); |
|
|
|
|
|
|
|
content.add(stylePanel, BorderLayout.SOUTH); |
|
|
|
|
|
|
|
|
|
|
|
initContentListener(); |
|
|
|
initContentListener(); |
|
|
|
|
|
|
|
|
|
|
@ -209,9 +211,10 @@ public class VanChartTooltipContentPane extends BasicBeanPane<AttrTooltipContent |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void initDetailPane() { |
|
|
|
private void initDetailPane() { |
|
|
|
commonPanel = createCommonPanel(); |
|
|
|
commonPanel = createCommonFormatPanel(); |
|
|
|
editorPanel = createRichEditorPanel(); |
|
|
|
editorPanel = createRichEditorPanel(); |
|
|
|
htmlPanel = createHtmlPane(); |
|
|
|
htmlPanel = createHtmlPane(); |
|
|
|
|
|
|
|
stylePanel = createCommonStylePane(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void initCenterPane() { |
|
|
|
private void initCenterPane() { |
|
|
@ -261,15 +264,6 @@ public class VanChartTooltipContentPane extends BasicBeanPane<AttrTooltipContent |
|
|
|
return TableLayout4VanChartHelper.createGapTableLayoutPane(components, row, column); |
|
|
|
return TableLayout4VanChartHelper.createGapTableLayoutPane(components, row, column); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private JPanel createCommonPanel() { |
|
|
|
|
|
|
|
JPanel common = new JPanel(new BorderLayout()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
common.add(createCommonFormatPanel(), BorderLayout.CENTER); |
|
|
|
|
|
|
|
common.add(createCommonStylePane(), BorderLayout.SOUTH); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return common; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected JPanel createCommonFormatPanel() { |
|
|
|
protected JPanel createCommonFormatPanel() { |
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double f = TableLayout.FILL; |
|
|
|
double f = TableLayout.FILL; |
|
|
@ -469,6 +463,8 @@ public class VanChartTooltipContentPane extends BasicBeanPane<AttrTooltipContent |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
cardLayout.show(centerPanel, Toolkit.i18nText("Fine-Design_Chart_Common")); |
|
|
|
cardLayout.show(centerPanel, Toolkit.i18nText("Fine-Design_Chart_Common")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stylePanel.setVisible(content.getSelectedIndex() != 1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected void setCustomFormatterText() { |
|
|
|
protected void setCustomFormatterText() { |
|
|
|