diff --git a/src/com/fr/plugin/demo/DemoStylePane.java b/src/com/fr/plugin/demo/DemoStylePane.java index e134a14..4ec241d 100644 --- a/src/com/fr/plugin/demo/DemoStylePane.java +++ b/src/com/fr/plugin/demo/DemoStylePane.java @@ -1,5 +1,6 @@ package com.fr.plugin.demo; +import com.fr.design.gui.frpane.AttributeChangeListener; import com.fr.extended.chart.AbstractExtendedStylePane; import com.fr.extended.chart.ExtendedScrollPane; @@ -10,6 +11,11 @@ import java.util.List; * Created by shine on 2018/3/25. */ public class DemoStylePane extends AbstractExtendedStylePane{ + + public DemoStylePane(AttributeChangeListener listener) { + super(listener); + } + @Override protected List> initPaneList() { List> list = new ArrayList>(); diff --git a/src/com/fr/plugin/demo/DemoUI.java b/src/com/fr/plugin/demo/DemoUI.java index 4d3d3c1..95a1571 100644 --- a/src/com/fr/plugin/demo/DemoUI.java +++ b/src/com/fr/plugin/demo/DemoUI.java @@ -29,7 +29,7 @@ public class DemoUI extends AbstractExtendedChartUIProvider { @Override public AbstractChartAttrPane[] getAttrPaneArray(AttributeChangeListener listener) { return new AbstractChartAttrPane[]{ - new DemoStylePane(), + new DemoStylePane(listener), new ExtendedOtherPane() }; }