|
|
@ -37,13 +37,14 @@ public class BoxPlotReportDataContentPane extends AbstractReportDataContentPane |
|
|
|
this.add(createSeriesPane(parent), BorderLayout.CENTER); |
|
|
|
this.add(createSeriesPane(parent), BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
|
|
initDataTypeListener(); |
|
|
|
initDataTypeListener(); |
|
|
|
|
|
|
|
checkDataPaneVisible(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private JPanel createDataTypePane() { |
|
|
|
private JPanel createDataTypePane() { |
|
|
|
JPanel pane = new JPanel(new BorderLayout(4, 0)); |
|
|
|
JPanel pane = new JPanel(new BorderLayout(4, 0)); |
|
|
|
pane.setBorder(BorderFactory.createMatteBorder(0, 0, 6, 1, getBackground())); |
|
|
|
pane.setBorder(BorderFactory.createMatteBorder(0, 0, 6, 1, getBackground())); |
|
|
|
|
|
|
|
|
|
|
|
UILabel label = new UILabel(Toolkit.i18nText("Fine-Design_Chart_Data_Type")); |
|
|
|
UILabel label = new UILabel(Toolkit.i18nText("Fine-Design_Chart_Data_Form")); |
|
|
|
label.setPreferredSize(new Dimension(ChartDataPane.LABEL_WIDTH, ChartDataPane.LABEL_HEIGHT)); |
|
|
|
label.setPreferredSize(new Dimension(ChartDataPane.LABEL_WIDTH, ChartDataPane.LABEL_HEIGHT)); |
|
|
|
|
|
|
|
|
|
|
|
String[] names = new String[]{ |
|
|
|
String[] names = new String[]{ |
|
|
@ -52,6 +53,7 @@ public class BoxPlotReportDataContentPane extends AbstractReportDataContentPane |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
dataType = new UIButtonGroup(names); |
|
|
|
dataType = new UIButtonGroup(names); |
|
|
|
|
|
|
|
dataType.setSelectedIndex(0); |
|
|
|
dataType.setPreferredSize(new Dimension(100, 20)); |
|
|
|
dataType.setPreferredSize(new Dimension(100, 20)); |
|
|
|
|
|
|
|
|
|
|
|
pane.add(GUICoreUtils.createBorderLayoutPane(new Component[]{dataType, null, null, label, null})); |
|
|
|
pane.add(GUICoreUtils.createBorderLayoutPane(new Component[]{dataType, null, null, label, null})); |
|
|
|