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.
45 lines
1.3 KiB
45 lines
1.3 KiB
4 years ago
|
package com.fr.plugin.cutcornerrank;
|
||
|
|
||
|
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.cutcornerrank.data.CutCornerDataPane;
|
||
|
import com.fr.plugin.cutcornerrank.data.CutCornerReportDataPane;
|
||
|
import com.fr.plugin.cutcornerrank.ui.CutCornerStylePane;
|
||
|
|
||
|
/**
|
||
|
* @author fr.open
|
||
|
* @date 2021/4/19
|
||
|
*/
|
||
|
public class CutCornerChartUI extends AbstractExtendedChartUIProvider {
|
||
|
|
||
|
@Override
|
||
|
protected AbstractExtendedChartTableDataPane getTableDataSourcePane() {
|
||
|
return new CutCornerDataPane();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected AbstractReportDataContentPane getReportDataSourcePane() {
|
||
|
return new CutCornerReportDataPane();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String getIconPath() {
|
||
|
return "com/fr/plugin/cutcornerrank/images/wcicon.png";
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public AbstractChartAttrPane[] getAttrPaneArray(AttributeChangeListener attributeChangeListener) {
|
||
|
return new AbstractChartAttrPane[]{
|
||
|
new CutCornerStylePane(attributeChangeListener)
|
||
|
};
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String[] getDemoImagePath() {
|
||
|
return new String[0];
|
||
|
}
|
||
|
}
|