|
|
|
@ -26,7 +26,7 @@ public abstract class AbstractExtendedChartReportDataPane<T extends AbstractData
|
|
|
|
|
|
|
|
|
|
protected void initComponents() { |
|
|
|
|
String[] labels = fieldLabel(); |
|
|
|
|
TinyFormulaPane[] formulaPanes = formulaPanes(); |
|
|
|
|
Component[] formulaPanes = fieldComponents(); |
|
|
|
|
|
|
|
|
|
int len = Math.min(labels.length, formulaPanes.length); |
|
|
|
|
|
|
|
|
@ -49,6 +49,10 @@ public abstract class AbstractExtendedChartReportDataPane<T extends AbstractData
|
|
|
|
|
this.add(panel, BorderLayout.CENTER); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected Component[] fieldComponents() { |
|
|
|
|
return formulaPanes(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected abstract String[] fieldLabel(); |
|
|
|
|
|
|
|
|
|
protected abstract TinyFormulaPane[] formulaPanes(); |
|
|
|
|