|
|
|
@ -27,6 +27,7 @@ import com.fr.design.style.BorderUtils;
|
|
|
|
|
import com.fr.design.style.FRFontPane; |
|
|
|
|
import com.fr.design.style.FormatPane; |
|
|
|
|
import com.fr.design.style.background.BackgroundPane; |
|
|
|
|
import com.fr.design.utils.gui.AdjustWorkBookDefaultStyleUtils; |
|
|
|
|
import com.fr.general.FRFont; |
|
|
|
|
import com.fr.grid.selection.CellSelection; |
|
|
|
|
import com.fr.grid.selection.FloatSelection; |
|
|
|
@ -66,6 +67,7 @@ public class ReportStylePane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
private final CellStylePreviewPane previewArea; |
|
|
|
|
private final UIButtonGroup<String> followingThemeButtonGroup; |
|
|
|
|
private JPanel followingThemePane; |
|
|
|
|
private final CustomFloatStyleSettingPane customStylePane; |
|
|
|
|
private final ThemedFloatStyleSettingPane themedFloatStyleSettingPane; |
|
|
|
|
private final CardLayout cardLayout; |
|
|
|
@ -106,7 +108,7 @@ public class ReportStylePane extends BasicPane {
|
|
|
|
|
add(createPreviewPane(), BorderLayout.NORTH); |
|
|
|
|
|
|
|
|
|
JPanel settingContainer = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
JPanel followingThemePane = createFollowingThemePane(); |
|
|
|
|
followingThemePane = createFollowingThemePane(); |
|
|
|
|
followingThemePane.setBorder(BorderFactory.createEmptyBorder(20, 0, 10, 0)); |
|
|
|
|
settingContainer.add(followingThemePane, BorderLayout.NORTH); |
|
|
|
|
settingContainer.add(contentPane, BorderLayout.CENTER); |
|
|
|
@ -319,6 +321,8 @@ public class ReportStylePane extends BasicPane {
|
|
|
|
|
setSelectedIndex(1); |
|
|
|
|
customStylePane.populateBean(style); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
followingThemePane.setVisible(AdjustWorkBookDefaultStyleUtils.supportTheme()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void updatePreviewArea() { |
|
|
|
|