|
|
|
@ -2,7 +2,6 @@ package com.fr.design.report;
|
|
|
|
|
|
|
|
|
|
import com.fr.base.theme.ReportTheme; |
|
|
|
|
import com.fr.base.theme.TemplateTheme; |
|
|
|
|
import com.fr.base.theme.settings.ThemedComponentStyle; |
|
|
|
|
import com.fr.base.theme.settings.ThemedReportBodyStyle; |
|
|
|
|
import com.fr.design.designer.IntervalConstants; |
|
|
|
|
import com.fr.design.dialog.BasicPane; |
|
|
|
@ -10,21 +9,19 @@ import com.fr.design.gui.frpane.AbstractAttrNoScrollPane;
|
|
|
|
|
import com.fr.design.gui.frpane.AttributeChangeListener; |
|
|
|
|
import com.fr.design.gui.icheckbox.UICheckBox; |
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.gui.style.ReportBackgroundSpecialPane; |
|
|
|
|
import com.fr.design.gui.style.FollowingThemePane; |
|
|
|
|
import com.fr.design.gui.style.ReportBackgroundSpecialPane; |
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
|
import com.fr.design.mainframe.theme.ui.BorderUtils; |
|
|
|
|
import com.fr.form.ui.PaddingMargin; |
|
|
|
|
import com.fr.general.Background; |
|
|
|
|
import com.fr.page.ReportSettingsProvider; |
|
|
|
|
import com.fr.report.stable.ReportSettings; |
|
|
|
|
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import javax.swing.SwingConstants; |
|
|
|
|
import javax.swing.border.CompoundBorder; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Color; |
|
|
|
@ -168,7 +165,7 @@ public class NewReportBackgroundPane extends BasicPane {
|
|
|
|
|
container.setBorder(BorderFactory.createEmptyBorder()); |
|
|
|
|
JPanel titledPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
titledPane.setBorder(new CompoundBorder( |
|
|
|
|
BorderUtils.createTitleBorder("预览", 12), |
|
|
|
|
BorderUtils.createTitleBorder(Toolkit.i18nText("Fine-Design_Basic_Preview"), 12), |
|
|
|
|
BorderFactory.createEmptyBorder(5, 5, 4, 5) |
|
|
|
|
)); |
|
|
|
|
titledPane.setPreferredSize(new Dimension(377, 502)); |
|
|
|
|