|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.fr.van.chart.map.designer.style.tooltip; |
|
|
|
package com.fr.van.chart.map.designer.style.tooltip; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
|
|
|
import com.fr.design.ui.ModernUIPane; |
|
|
|
import com.fr.plugin.chart.base.AttrTooltipContent; |
|
|
|
import com.fr.plugin.chart.base.AttrTooltipContent; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipAreaNameFormat; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipAreaNameFormat; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipFormat; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipFormat; |
|
|
@ -13,7 +14,12 @@ import com.fr.van.chart.designer.component.format.MapAreaNameFormatPaneWithCheck |
|
|
|
import com.fr.van.chart.designer.component.format.PercentFormatPaneWithCheckBox; |
|
|
|
import com.fr.van.chart.designer.component.format.PercentFormatPaneWithCheckBox; |
|
|
|
import com.fr.van.chart.designer.component.format.SeriesNameFormatPaneWithCheckBox; |
|
|
|
import com.fr.van.chart.designer.component.format.SeriesNameFormatPaneWithCheckBox; |
|
|
|
import com.fr.van.chart.designer.component.format.ValueFormatPaneWithCheckBox; |
|
|
|
import com.fr.van.chart.designer.component.format.ValueFormatPaneWithCheckBox; |
|
|
|
|
|
|
|
import com.fr.van.chart.designer.component.richText.VanChartFieldAttrPane; |
|
|
|
|
|
|
|
import com.fr.van.chart.designer.component.richText.VanChartFieldListPane; |
|
|
|
|
|
|
|
import com.fr.van.chart.designer.component.richText.VanChartRichEditorModel; |
|
|
|
|
|
|
|
import com.fr.van.chart.designer.component.richText.VanChartRichTextPane; |
|
|
|
import com.fr.van.chart.designer.style.VanChartStylePane; |
|
|
|
import com.fr.van.chart.designer.style.VanChartStylePane; |
|
|
|
|
|
|
|
import com.fr.van.chart.map.designer.style.VanChartMapRichTextFieldListPane; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
|
|
|
|
@ -33,6 +39,20 @@ public class VanChartMapTooltipContentPane extends VanChartTooltipContentPane { |
|
|
|
setPercentFormatPane(new PercentFormatPaneWithCheckBox(parent, showOnPane)); |
|
|
|
setPercentFormatPane(new PercentFormatPaneWithCheckBox(parent, showOnPane)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected VanChartRichTextPane createRichTextPane(ModernUIPane<VanChartRichEditorModel> richEditorPane) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return new VanChartRichTextPane(richEditorPane) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected VanChartFieldListPane createFieldListPane(VanChartFieldAttrPane fieldAttrPane, ModernUIPane<VanChartRichEditorModel> richEditor) { |
|
|
|
|
|
|
|
return new VanChartMapRichTextFieldListPane(fieldAttrPane, richEditor); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected AttrTooltipContent getInitialTooltipContent() { |
|
|
|
|
|
|
|
return createAttrTooltip(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected String[] getRichTextFieldNames() { |
|
|
|
protected String[] getRichTextFieldNames() { |
|
|
|
return new String[]{ |
|
|
|
return new String[]{ |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Area_Name"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Area_Name"), |
|
|
|