|
|
|
@ -27,6 +27,7 @@ import javax.swing.SwingUtilities;
|
|
|
|
|
import javax.swing.event.ChangeEvent; |
|
|
|
|
import javax.swing.event.ChangeListener; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Color; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
import java.util.Iterator; |
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
@ -36,6 +37,8 @@ import java.util.Map;
|
|
|
|
|
* Created by kerry on 2020-08-26 |
|
|
|
|
*/ |
|
|
|
|
public class PredefinedStyleEditPane extends AbstractAttrNoScrollPane { |
|
|
|
|
private static final Color TIP_COLOR = Color.decode("#8F8F92"); |
|
|
|
|
|
|
|
|
|
private PredefinedStylePreviewPane previewPane; |
|
|
|
|
private UITextField styleNameField; |
|
|
|
|
private PredefinedBackgroundSettingPane backgroundSettingPane; |
|
|
|
@ -189,9 +192,13 @@ public class PredefinedStyleEditPane extends AbstractAttrNoScrollPane {
|
|
|
|
|
|
|
|
|
|
private JPanel createComponentStyleSettingPane() { |
|
|
|
|
JPanel jPanel = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
jPanel.setLayout(new BorderLayout(0, 5)); |
|
|
|
|
jPanel.setBorder(BorderFactory.createEmptyBorder(10, 5, 10, 5)); |
|
|
|
|
this.componentStyleSettingPane = new ComponentStyleSettingPane(); |
|
|
|
|
jPanel.add(this.componentStyleSettingPane); |
|
|
|
|
UILabel label = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Predefined_ComponentStyle_Setting_Tip")); |
|
|
|
|
label.setForeground(TIP_COLOR); |
|
|
|
|
jPanel.add(label, BorderLayout.NORTH); |
|
|
|
|
jPanel.add(this.componentStyleSettingPane, BorderLayout.CENTER); |
|
|
|
|
return jPanel; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|