Browse Source

update

master
xiaohu 9 years ago
parent
commit
310c9bc453
  1. 5
      designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java
  2. 7
      designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java
  3. 4
      designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java
  4. 2
      designer_chart/src/com/fr/design/chart/series/SeriesCondition/DataSeriesConditionPane.java

5
designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java

@ -159,11 +159,6 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh
return chartTypeInterfaces.get(plot.getPlotID()).getPlotConditionPane(plot); return chartTypeInterfaces.get(plot.getPlotID()).getPlotConditionPane(plot);
} }
//大数据需要通过chart判断
public ConditionAttributesPane getPlotConditionPane(Chart chart) {
return chartTypeInterfaces.get(chart.getPlot().getPlotID()).getPlotConditionPane(chart);
}
public BasicBeanPane<Plot> getPlotSeriesPane(ChartStylePane parent, Plot plot) { public BasicBeanPane<Plot> getPlotSeriesPane(ChartStylePane parent, Plot plot) {
return chartTypeInterfaces.get(plot.getPlotID()).getPlotSeriesPane(parent, plot); return chartTypeInterfaces.get(plot.getPlotID()).getPlotSeriesPane(parent, plot);
} }

7
designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java

@ -54,13 +54,6 @@ public interface IndependentChartUIProvider extends Level {
*/ */
ConditionAttributesPane getPlotConditionPane(Plot plot); ConditionAttributesPane getPlotConditionPane(Plot plot);
/**
* 条件属性界面
*
* @return 条件属性界面
*/
ConditionAttributesPane getPlotConditionPane(Chart chart);
/** /**
* 系列界面 * 系列界面
* *

4
designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java

@ -47,8 +47,4 @@ public abstract class AbstractIndependentChartUIWithAPILevel implements Independ
public ConditionAttributesPane getPlotConditionPane(Plot plot){ public ConditionAttributesPane getPlotConditionPane(Plot plot){
return new DataSeriesConditionPane(); return new DataSeriesConditionPane();
} }
public ConditionAttributesPane getPlotConditionPane(Chart chart){
return null;
}
} }

2
designer_chart/src/com/fr/design/chart/series/SeriesCondition/DataSeriesConditionPane.java

@ -54,7 +54,7 @@ public class DataSeriesConditionPane extends ConditionAttributesPane<ConditionAt
// kunsnat_size 加载属性之后 被遮挡, 最少的高度为300, 5个按钮 // kunsnat_size 加载属性之后 被遮挡, 最少的高度为300, 5个按钮
liteConditionPane.setPreferredSize(new Dimension(300, 300)); liteConditionPane.setPreferredSize(new Dimension(300, 300));
} }
protected ChartConditionPane createListConditionPane() { protected ChartConditionPane createListConditionPane() {
return ChartConditionPaneFactory.createChartConditionPane(getClass()); return ChartConditionPaneFactory.createChartConditionPane(getClass());
} }

Loading…
Cancel
Save