|
|
|
@ -16,6 +16,7 @@ import com.fr.design.mainframe.widget.accessibles.AccessibleIconEditor;
|
|
|
|
|
import com.fr.form.ui.Button; |
|
|
|
|
|
|
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
|
import com.fr.widgettheme.util.WidgetThemeDesignerUtils; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Created by IntelliJ IDEA. |
|
|
|
@ -43,7 +44,7 @@ public abstract class ButtonWithHotkeysDetailPane<T extends Button> extends Butt
|
|
|
|
|
JPanel labelPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
|
iconPane = new AccessibleIconEditor(); |
|
|
|
|
labelPane.add(iconPane); |
|
|
|
|
Component comp = createCenterPane(); |
|
|
|
|
Component comp = createCenterPane(WidgetThemeDesignerUtils.enableWidgetEnhance()); |
|
|
|
|
Component[][] n_components = { |
|
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Button_Type")), createCustomButtonTypeComboBox()}, |
|
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Button_Name")), buttonNameTextField = new UITextField()}, |
|
|
|
@ -62,7 +63,7 @@ public abstract class ButtonWithHotkeysDetailPane<T extends Button> extends Butt
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected abstract Component createCenterPane(); |
|
|
|
|
protected abstract Component createCenterPane(boolean needWidgetDisplayEnhance); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 判断是按钮控件下拉框的种类:1.有自定义按钮 2.无自定义按钮 |
|
|
|
|