forked from fanruan/demo-show-charts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
package com.fr.plugin.demo; |
|
|
|
import com.fr.design.gui.frpane.AttributeChangeListener; |
|
import com.fr.design.mainframe.chart.AbstractChartAttrPane; |
|
import com.fr.design.mainframe.chart.gui.data.report.AbstractReportDataContentPane; |
|
import com.fr.extended.chart.AbstractExtendedChartTableDataPane; |
|
import com.fr.extended.chart.AbstractExtendedChartUIProvider; |
|
import com.fr.extended.chart.ExtendedOtherPane; |
|
|
|
/** |
|
* Created by shine on 2018/3/24. |
|
*/ |
|
public class DemoUI extends AbstractExtendedChartUIProvider { |
|
@Override |
|
protected AbstractExtendedChartTableDataPane getTableDataSourcePane() { |
|
return new DemoTableDataPane(); |
|
} |
|
|
|
@Override |
|
protected AbstractReportDataContentPane getReportDataSourcePane() { |
|
return new DemoReportDataPane(); |
|
} |
|
|
|
@Override |
|
public String getIconPath() { |
|
return "com/fr/plugin/demo/icon.png"; |
|
} |
|
|
|
@Override |
|
public AbstractChartAttrPane[] getAttrPaneArray(AttributeChangeListener listener) { |
|
return new AbstractChartAttrPane[]{ |
|
new DemoStylePane(), |
|
new ExtendedOtherPane() |
|
}; |
|
} |
|
}
|
|
|