Browse Source

地图数据配置界面

master
fr_shine 9 years ago
parent
commit
a592965905
  1. 6
      designer_chart/src/com/fr/design/mainframe/chart/gui/data/table/SeriesNameUseFieldNamePane.java
  2. 6
      designer_chart/src/com/fr/design/mainframe/chart/gui/data/table/SeriesNameUseFieldValuePane.java

6
designer_chart/src/com/fr/design/mainframe/chart/gui/data/table/SeriesNameUseFieldNamePane.java

@ -224,6 +224,10 @@ public class SeriesNameUseFieldNamePane extends FurtherBasicBeanPane<ChartCollec
return CalculateComboBox.CALCULATE_ARRAY[0];
}
protected MoreNameCDDefinition createMoreNameCDDefinition() {
return new MoreNameCDDefinition();
}
/**
* 保存界面属性到ChartCollection
*/
@ -233,7 +237,7 @@ public class SeriesNameUseFieldNamePane extends FurtherBasicBeanPane<ChartCollec
if (normalDefinition instanceof MoreNameCDDefinition) {
moreDefinition = (MoreNameCDDefinition) normalDefinition;
} else {
moreDefinition = new MoreNameCDDefinition();
moreDefinition = createMoreNameCDDefinition();
}
List<Object[]> data = seriesDataPane.updateBean();

6
designer_chart/src/com/fr/design/mainframe/chart/gui/data/table/SeriesNameUseFieldValuePane.java

@ -278,7 +278,7 @@ public class SeriesNameUseFieldValuePane extends FurtherBasicBeanPane<ChartColle
* 保存界面内容 字段值
*/
public void updateBean(ChartCollection collection) {
OneValueCDDefinition oneDefinition = new OneValueCDDefinition();
OneValueCDDefinition oneDefinition = createOneValueCDDefinition();
String seriesName = (String) this.seriesName.getSelectedItem();
oneDefinition.setSeriesColumnName(seriesName);
@ -292,6 +292,10 @@ public class SeriesNameUseFieldValuePane extends FurtherBasicBeanPane<ChartColle
collection.getSelectedChart().setFilterDefinition(oneDefinition);
}
protected OneValueCDDefinition createOneValueCDDefinition(){
return new OneValueCDDefinition();
}
/**
* 保存界面属性 新的ChartCollection
*/

Loading…
Cancel
Save