|
|
|
@ -5,12 +5,16 @@ import com.fr.design.gui.icheckbox.UICheckBox;
|
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
import com.fr.design.layout.VerticalFlowLayout; |
|
|
|
|
|
|
|
|
|
import com.fr.widgettheme.control.attr.WidgetDisplayEnhanceMarkAttr; |
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Color; |
|
|
|
|
|
|
|
|
|
import static com.fine.swing.ui.layout.Layouts.cell; |
|
|
|
|
import static com.fine.swing.ui.layout.Layouts.column; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 控件主题显示增强配置窗口 |
|
|
|
|
* |
|
|
|
@ -27,20 +31,17 @@ public class WidgetThemeDisplayConfigPane extends BasicPane {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initComponents() { |
|
|
|
|
VerticalFlowLayout layout = new VerticalFlowLayout(); |
|
|
|
|
layout.setAlignLeft(true); |
|
|
|
|
this.setLayout(layout); |
|
|
|
|
this.setLayout(new BorderLayout()); |
|
|
|
|
JPanel northPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
this.add(northPane); |
|
|
|
|
widgetEnhance = new UICheckBox(Toolkit.i18nText("Fine-Design_Widget_Enable_Display_Enhance")); |
|
|
|
|
widgetEnhance.setSelected(true); |
|
|
|
|
northPane.add(widgetEnhance); |
|
|
|
|
|
|
|
|
|
JPanel southPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
this.add(southPane); |
|
|
|
|
UILabel label = new UILabel(Toolkit.i18nText("Fine-Design_Widget_Display_Enhance_Tip")); |
|
|
|
|
label.setForeground(Color.GRAY); |
|
|
|
|
southPane.add(label); |
|
|
|
|
this.add(column(10, cell(northPane), cell(southPane)).getComponent()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|