|
|
@ -5,8 +5,6 @@ import com.fr.base.Style; |
|
|
|
import com.fr.config.predefined.PredefinedCellStyle; |
|
|
|
import com.fr.config.predefined.PredefinedCellStyle; |
|
|
|
import com.fr.config.predefined.PredefinedCellStyleConfig; |
|
|
|
import com.fr.config.predefined.PredefinedCellStyleConfig; |
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
import com.fr.design.dialog.AttrScrollPane; |
|
|
|
|
|
|
|
import com.fr.design.dialog.BasicScrollPane; |
|
|
|
|
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
import com.fr.design.gui.NameInspector; |
|
|
|
import com.fr.design.gui.NameInspector; |
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
@ -110,7 +108,6 @@ public class CellStyleSettingPane extends BasicBeanPane<PredefinedCellStyleConfi |
|
|
|
|
|
|
|
|
|
|
|
private JPanel createCenterPane() { |
|
|
|
private JPanel createCenterPane() { |
|
|
|
JPanel panel = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
JPanel panel = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
panel.setPreferredSize(new Dimension(230, 267)); |
|
|
|
|
|
|
|
JPanel titlePreviewPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Preview")); |
|
|
|
JPanel titlePreviewPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Preview")); |
|
|
|
titlePreviewPane.setLayout(new FlowLayout(FlowLayout.CENTER, 0, 0)); |
|
|
|
titlePreviewPane.setLayout(new FlowLayout(FlowLayout.CENTER, 0, 0)); |
|
|
|
previewPane = new CellStylePreviewPane(); |
|
|
|
previewPane = new CellStylePreviewPane(); |
|
|
@ -120,15 +117,7 @@ public class CellStyleSettingPane extends BasicBeanPane<PredefinedCellStyleConfi |
|
|
|
panel.add(titlePreviewPane, BorderLayout.NORTH); |
|
|
|
panel.add(titlePreviewPane, BorderLayout.NORTH); |
|
|
|
cardLayout = new CardLayout(); |
|
|
|
cardLayout = new CardLayout(); |
|
|
|
centerPane = new JPanel(cardLayout); |
|
|
|
centerPane = new JPanel(cardLayout); |
|
|
|
centerPane.setPreferredSize(new Dimension(226, 500)); |
|
|
|
panel.add(centerPane, BorderLayout.CENTER); |
|
|
|
BasicScrollPane basicScrollPane = new AttrScrollPane() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected JPanel createContentPane() { |
|
|
|
|
|
|
|
return centerPane; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
basicScrollPane.setPreferredSize(new Dimension(230, 214)); |
|
|
|
|
|
|
|
panel.add(basicScrollPane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return panel; |
|
|
|
return panel; |
|
|
|
} |
|
|
|
} |
|
|
|