Browse Source

Merge pull request #7 in BA/design from ~SHINE/design:dev to dev

* commit '2ae594dfc48d6f2d754a1beab87e1e193fd5c59e':
  条件选项
master
richie 9 years ago
parent
commit
a13b7ea624
  1. 6
      designer_chart/src/com/fr/design/chart/series/SeriesCondition/DataSeriesConditionPane.java

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

@ -5,6 +5,7 @@ import com.fr.chart.base.AttrAlpha;
import com.fr.chart.base.AttrBackground; import com.fr.chart.base.AttrBackground;
import com.fr.chart.base.AttrContents; import com.fr.chart.base.AttrContents;
import com.fr.chart.base.DataSeriesCondition; import com.fr.chart.base.DataSeriesCondition;
import com.fr.chart.chartattr.ChartCollection;
import com.fr.chart.chartattr.Plot; import com.fr.chart.chartattr.Plot;
import com.fr.chart.chartglyph.ConditionAttr; import com.fr.chart.chartglyph.ConditionAttr;
import com.fr.data.condition.AbstractCondition; import com.fr.data.condition.AbstractCondition;
@ -49,10 +50,13 @@ public class DataSeriesConditionPane extends ConditionAttributesPane<ConditionAt
pane.setBorder(BorderFactory.createEmptyBorder()); pane.setBorder(BorderFactory.createEmptyBorder());
// 条件界面 // 条件界面
pane.add(liteConditionPane = ChartConditionPaneFactory.createChartConditionPane(getClass()), BorderLayout.CENTER); pane.add(liteConditionPane = createListConditionPane(), BorderLayout.CENTER);
// kunsnat_size 加载属性之后 被遮挡, 最少的高度为300, 5个按钮 // kunsnat_size 加载属性之后 被遮挡, 最少的高度为300, 5个按钮
liteConditionPane.setPreferredSize(new Dimension(300, 300)); liteConditionPane.setPreferredSize(new Dimension(300, 300));
} }
protected ChartConditionPane createListConditionPane() {
return ChartConditionPaneFactory.createChartConditionPane(getClass());
}
protected void addBasicAction() { protected void addBasicAction() {
classPaneMap.put(AttrAlpha.class, new LabelAlphaPane(this)); classPaneMap.put(AttrAlpha.class, new LabelAlphaPane(this));

Loading…
Cancel
Save