|
|
@ -2,7 +2,7 @@ package com.fr.design.chartx.data.map; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.chartx.data.field.diff.LineMapColumnFieldCollection; |
|
|
|
import com.fr.chartx.data.field.diff.LineMapColumnFieldCollection; |
|
|
|
import com.fr.design.chartx.fields.AbstractDataSetFieldsPane; |
|
|
|
import com.fr.design.chartx.fields.AbstractDataSetFieldsPane; |
|
|
|
import com.fr.design.chartx.fields.diff.LineMapDataSetFieldsPane; |
|
|
|
import com.fr.design.chartx.fields.diff.MapDataSetFieldsPane; |
|
|
|
import com.fr.design.gui.icombobox.UIComboBox; |
|
|
|
import com.fr.design.gui.icombobox.UIComboBox; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
|
|
|
|
|
|
@ -24,15 +24,15 @@ public class LineMapAreaLngLatPaneWithComboBox extends LineMapAreaLngLatPaneWith |
|
|
|
private UIComboBox toLng_tab1; |
|
|
|
private UIComboBox toLng_tab1; |
|
|
|
private UIComboBox toLat_tab1; |
|
|
|
private UIComboBox toLat_tab1; |
|
|
|
|
|
|
|
|
|
|
|
private LineMapDataSetFieldsPane lineMapDataSetFieldsPane; |
|
|
|
private MapDataSetFieldsPane mapDataSetFieldsPane; |
|
|
|
|
|
|
|
|
|
|
|
public LineMapAreaLngLatPaneWithComboBox(LineMapDataSetFieldsPane lineMapDataSetFieldsPane) { |
|
|
|
public LineMapAreaLngLatPaneWithComboBox(MapDataSetFieldsPane mapDataSetFieldsPane) { |
|
|
|
this.lineMapDataSetFieldsPane = lineMapDataSetFieldsPane; |
|
|
|
this.mapDataSetFieldsPane = mapDataSetFieldsPane; |
|
|
|
initComponents(); |
|
|
|
initComponents(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected void initComponents() { |
|
|
|
protected void initComponents() { |
|
|
|
if (lineMapDataSetFieldsPane == null) { |
|
|
|
if (mapDataSetFieldsPane == null) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
super.initComponents(); |
|
|
|
super.initComponents(); |
|
|
@ -48,7 +48,7 @@ public class LineMapAreaLngLatPaneWithComboBox extends LineMapAreaLngLatPaneWith |
|
|
|
return createPane( |
|
|
|
return createPane( |
|
|
|
new String[]{Toolkit.i18nText("Fine-Design_Chart_Start_Area_Name"), |
|
|
|
new String[]{Toolkit.i18nText("Fine-Design_Chart_Start_Area_Name"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_End_Area_Name")}, |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_End_Area_Name")}, |
|
|
|
lineMapDataSetFieldsPane.createAreaPanel(fromArea_tab0), lineMapDataSetFieldsPane.createAreaPanel(toArea_tab0) |
|
|
|
mapDataSetFieldsPane.createAreaPanel(fromArea_tab0), mapDataSetFieldsPane.createAreaPanel(toArea_tab0) |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -64,18 +64,19 @@ public class LineMapAreaLngLatPaneWithComboBox extends LineMapAreaLngLatPaneWith |
|
|
|
} |
|
|
|
} |
|
|
|
return createPane( |
|
|
|
return createPane( |
|
|
|
new String[]{ |
|
|
|
new String[]{ |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Start_Area_Name"), |
|
|
|
|
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Start_Longitude"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Start_Longitude"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Start_Latitude"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Start_Latitude"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_End_Area_Name"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Start_Area_Name"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_End_Longitude"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_End_Longitude"), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_End_Latitude")}, |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_End_Latitude"), |
|
|
|
lineMapDataSetFieldsPane.createAreaPanel(fromArea_tab1), |
|
|
|
Toolkit.i18nText("Fine-Design_Chart_End_Area_Name") |
|
|
|
|
|
|
|
}, |
|
|
|
fromLng_tab1, |
|
|
|
fromLng_tab1, |
|
|
|
fromLat_tab1, |
|
|
|
fromLat_tab1, |
|
|
|
lineMapDataSetFieldsPane.createAreaPanel(toArea_tab1), |
|
|
|
fromArea_tab1, |
|
|
|
toLng_tab1, |
|
|
|
toLng_tab1, |
|
|
|
toLat_tab1); |
|
|
|
toLat_tab1, |
|
|
|
|
|
|
|
toArea_tab1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected void populateTab0(LineMapColumnFieldCollection fieldCollection) { |
|
|
|
protected void populateTab0(LineMapColumnFieldCollection fieldCollection) { |
|
|
|