|
|
|
@ -117,7 +117,9 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
|
|
|
|
|
|
|
|
|
|
private JPanel initParamsPane() { |
|
|
|
|
extendParametersCheckBox = new UICheckBox(Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Extends_Report_Parameters")); |
|
|
|
|
extendParametersCheckBox.setSelected(true); |
|
|
|
|
parameterViewPane = new ReportletParameterViewPane(getChartParaType(), getValueEditorPane(), getValueEditorPane()); |
|
|
|
|
parameterViewPane.setVisible(false); |
|
|
|
|
parameterViewPane.addTableEditorListener(new TableModelListener() { |
|
|
|
|
public void tableChanged(TableModelEvent e) { |
|
|
|
|
List<ParameterProvider> list = parameterViewPane.update(); |
|
|
|
@ -158,6 +160,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
|
|
|
|
|
customNameRadio = new UIRadioButton(Toolkit.i18nText("Fine-Design_Basic_Export_JS_Filename_Custom")); |
|
|
|
|
addRadioToGroup(fileNameRadioGroup, defaultNameRadio, customNameRadio); |
|
|
|
|
fileNameFormulaEditor = new FormulaEditor(Toolkit.i18nText("Fine-Design_Report_Parameter_Formula")); |
|
|
|
|
fileNameFormulaEditor.setEnabled(false); |
|
|
|
|
fileNameRadioGroup.addActionListener(new ActionListener() { |
|
|
|
|
@Override |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
@ -238,6 +241,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
|
|
|
|
|
// 选择路径按钮
|
|
|
|
|
browserButton = new UIButton(Toolkit.i18nText("Fine-Design_Basic_Select")); |
|
|
|
|
browserButton.setPreferredSize(new Dimension(browserButton.getPreferredSize().width, 20)); |
|
|
|
|
browserButton.setEnabled(false); |
|
|
|
|
reportletNamePane.add(browserButton, BorderLayout.EAST); |
|
|
|
|
browserButton.addActionListener(new ActionListener() { |
|
|
|
|
@Override |
|
|
|
|