|
|
|
@ -2,7 +2,6 @@ package com.fr.van.chart.designer.component.marker;
|
|
|
|
|
|
|
|
|
|
import com.fr.chart.chartglyph.Marker; |
|
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
|
import com.fr.design.constants.LayoutConstants; |
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.gui.ispinner.UISpinner; |
|
|
|
|
import com.fr.design.gui.xcombox.MarkerComboBox; |
|
|
|
@ -57,6 +56,7 @@ public class VanChartCommonMarkerPane extends BasicBeanPane<VanChartAttrMarker>
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static Marker[] normalMarkersWithAuto = null; |
|
|
|
|
|
|
|
|
|
protected static Marker[] getNormalMarkersWithAuto() { |
|
|
|
|
if (normalMarkersWithAuto == null) { |
|
|
|
|
normalMarkersWithAuto = new Marker[NORMAL_TYPES.length + 1]; |
|
|
|
@ -130,17 +130,17 @@ public class VanChartCommonMarkerPane extends BasicBeanPane<VanChartAttrMarker>
|
|
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
|
double f = TableLayout.FILL; |
|
|
|
|
|
|
|
|
|
double e = TableLayout4VanChartHelper.EDIT_AREA_WIDTH; |
|
|
|
|
double e = getColumnSize()[1]; |
|
|
|
|
double[] columnSize = {f, e}; |
|
|
|
|
double[] rowSize = {p, p, p}; |
|
|
|
|
|
|
|
|
|
return TableLayoutHelper.createGapTableLayoutPane(getPaneComponents(), rowSize, columnSize, 0, LayoutConstants.VGAP_MEDIUM); |
|
|
|
|
return TableLayoutHelper.createTableLayoutPane(getPaneComponents(), rowSize, columnSize); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected Component[][] getPaneComponents() { |
|
|
|
|
return new Component[][]{ |
|
|
|
|
new Component[]{null, null}, |
|
|
|
|
new Component[]{null, typeComboBox}, |
|
|
|
|
new Component[]{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Chart_Fill_Color")), typeComboBox}, |
|
|
|
|
new Component[]{null, centerPane}, |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
@ -175,7 +175,7 @@ public class VanChartCommonMarkerPane extends BasicBeanPane<VanChartAttrMarker>
|
|
|
|
|
|
|
|
|
|
protected Component[][] getMarkerConfigComponent() { |
|
|
|
|
return new Component[][]{ |
|
|
|
|
new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Chart_Fill_Color")), markerFillColor}, |
|
|
|
|
new Component[]{markerFillColor, null}, |
|
|
|
|
new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Chart_Radius")), radius} |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|