|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package com.fr.design.widgettheme; |
|
|
|
|
|
|
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
|
import com.fr.widgettheme.theme.widget.theme.ParaEditorTheme; |
|
|
|
|
import com.fr.widgettheme.theme.widget.theme.ParaSelectEditorTheme; |
|
|
|
|
import com.fr.widgettheme.theme.widget.theme.cell.EditorTheme; |
|
|
|
|
|
|
|
|
@ -30,17 +29,17 @@ public class ParaSelectEditorSettingPane<T extends Widget> extends ParaEditorSet
|
|
|
|
|
@Override |
|
|
|
|
protected void populateEditorBean(EditorTheme editorTheme) { |
|
|
|
|
ParaSelectEditorTheme paraSelectEditorTheme= new ParaSelectEditorTheme(editorTheme); |
|
|
|
|
if (!editorTheme.isFollowTheme()) { |
|
|
|
|
if (!paraSelectEditorTheme.isFollowTheme()) { |
|
|
|
|
selectBgColorBox.setSelectObject(paraSelectEditorTheme.getSelectBoxBgColor()); |
|
|
|
|
} |
|
|
|
|
super.populateEditorBean(editorTheme); |
|
|
|
|
super.populateEditorBean(paraSelectEditorTheme); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected void updateEditorStyleBean(EditorTheme editorTheme) { |
|
|
|
|
protected EditorTheme updateEditorStyleBean(EditorTheme editorTheme) { |
|
|
|
|
ParaSelectEditorTheme paraSelectEditorTheme= new ParaSelectEditorTheme(editorTheme); |
|
|
|
|
paraSelectEditorTheme.setSelectBoxBgColor(selectBgColorBox.getSelectObject()); |
|
|
|
|
super.updateEditorStyleBean(editorTheme); |
|
|
|
|
return super.updateEditorStyleBean(paraSelectEditorTheme); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|