|
|
@ -2,11 +2,8 @@ package com.fr.design.widgettheme.common; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.widgettheme.StyleSetting; |
|
|
|
import com.fr.design.widgettheme.StyleSetting; |
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
import com.fr.widgettheme.theme.widget.theme.cell.EditorTheme; |
|
|
|
|
|
|
|
import com.fr.widgettheme.theme.widget.theme.cell.SelectEditTheme; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 单元格下拉框编辑控件配置面板 |
|
|
|
* 单元格下拉框编辑控件配置面板 |
|
|
@ -32,25 +29,4 @@ public class SelectEditorSettingPane <T extends Widget> extends EditorSettingPan |
|
|
|
protected String title4PopupWindow() { |
|
|
|
protected String title4PopupWindow() { |
|
|
|
return "selectEditorSetting"; |
|
|
|
return "selectEditorSetting"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected EditorTheme getEditorTheme() { |
|
|
|
|
|
|
|
return new SelectEditTheme(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected void populateEditorBean(EditorTheme editorTheme) { |
|
|
|
|
|
|
|
SelectEditTheme selectEditTheme = new SelectEditTheme(editorTheme); |
|
|
|
|
|
|
|
if (!selectEditTheme.isFollowTheme()) { |
|
|
|
|
|
|
|
selectBgColorBox.setSelectObject(selectEditTheme.getSelectBoxBgColor()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
super.populateEditorBean(selectEditTheme); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected void updateEditorStyleBean(EditorTheme editorTheme) { |
|
|
|
|
|
|
|
SelectEditTheme selectEditTheme = new SelectEditTheme(editorTheme); |
|
|
|
|
|
|
|
selectEditTheme.setSelectBoxBgColor(selectBgColorBox.getSelectObject()); |
|
|
|
|
|
|
|
super.updateEditorStyleBean(selectEditTheme); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|