|
|
@ -12,6 +12,7 @@ import com.fr.form.ui.mobile.MobileParamStyle; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.report.ExtraReportClassManager; |
|
|
|
import com.fr.report.ExtraReportClassManager; |
|
|
|
import com.fr.report.fun.MobileParamStyleProvider; |
|
|
|
import com.fr.report.fun.MobileParamStyleProvider; |
|
|
|
|
|
|
|
import com.fr.report.mobile.EmptyMobileParamStyle; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.CardLayout; |
|
|
|
import java.awt.CardLayout; |
|
|
|
import java.awt.Component; |
|
|
|
import java.awt.Component; |
|
|
@ -103,7 +104,10 @@ public class MobileParamSettingPane extends BasicPane { |
|
|
|
if (ComparatorUtils.equals(mobileParamStyle.disPlayName(), provider.displayName())) { |
|
|
|
if (ComparatorUtils.equals(mobileParamStyle.disPlayName(), provider.displayName())) { |
|
|
|
String displayName = provider.displayName(); |
|
|
|
String displayName = provider.displayName(); |
|
|
|
paramStyleList.setSelectedIndex(i); |
|
|
|
paramStyleList.setSelectedIndex(i); |
|
|
|
map.get(displayName).populateBean(mobileParamStyle); |
|
|
|
// 如果是兼容空类型 无须填充面板
|
|
|
|
|
|
|
|
if (!(mobileParamStyle instanceof EmptyMobileParamStyle)) { |
|
|
|
|
|
|
|
map.get(displayName).populateBean(mobileParamStyle); |
|
|
|
|
|
|
|
} |
|
|
|
card.show(right, displayName); |
|
|
|
card.show(right, displayName); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|