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.
43 lines
1.3 KiB
43 lines
1.3 KiB
3 years ago
|
package com.fr.plugin.shdcmap;
|
||
|
|
||
|
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.plugin.shdcmap.data.CustomDataPane;
|
||
|
import com.fr.plugin.shdcmap.data.CustomReportDataPane;
|
||
|
import com.fr.plugin.shdcmap.ui.CustomStylePane;
|
||
|
|
||
|
/**
|
||
|
* @author duan.jingliang
|
||
|
*/
|
||
|
public class CustomChartUI extends AbstractExtendedChartUIProvider {
|
||
|
@Override
|
||
|
protected AbstractExtendedChartTableDataPane getTableDataSourcePane() {
|
||
|
return new CustomDataPane();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected AbstractReportDataContentPane getReportDataSourcePane() {
|
||
|
return new CustomReportDataPane();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String[] getDemoImagePath() {
|
||
|
return new String[0];
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String getIconPath() {
|
||
|
return "com/fr/plugin/shdcmap/images/icon.png";
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public AbstractChartAttrPane[] getAttrPaneArray(AttributeChangeListener attributeChangeListener) {
|
||
|
return new AbstractChartAttrPane[]{
|
||
|
new CustomStylePane(attributeChangeListener)
|
||
|
};
|
||
|
}
|
||
|
}
|