|
|
|
@ -22,7 +22,6 @@ import com.fr.design.mainframe.WidgetPropertyPane;
|
|
|
|
|
import com.fr.design.mainframe.mobile.ui.MobileCollapsedStyleExpandPane; |
|
|
|
|
import com.fr.design.mainframe.mobile.ui.MobileComboBoxDialogEditor; |
|
|
|
|
import com.fr.form.ui.ElementCaseEditor; |
|
|
|
|
|
|
|
|
|
import com.fr.form.ui.mobile.MobileCollapsedStyle; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
@ -30,7 +29,9 @@ import javax.swing.BorderFactory;
|
|
|
|
|
import javax.swing.JOptionPane; |
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import javax.swing.SwingConstants; |
|
|
|
|
import java.awt.*; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Component; |
|
|
|
|
import java.awt.Container; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 报表块-移动端属性面板 |
|
|
|
@ -123,7 +124,6 @@ public class ElementCaseDefinePane extends MobileWidgetDefinePane {
|
|
|
|
|
panelWrapper.add(panel, BorderLayout.NORTH); |
|
|
|
|
UIExpandablePane folderPane = new UIExpandablePane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Fit"), 280, 20, panelWrapper); |
|
|
|
|
this.add(folderPane, BorderLayout.NORTH); |
|
|
|
|
this.bingListeners2Widgets(); |
|
|
|
|
this.setGlobalNames(); |
|
|
|
|
this.repaint(); |
|
|
|
|
} |
|
|
|
@ -178,6 +178,7 @@ public class ElementCaseDefinePane extends MobileWidgetDefinePane {
|
|
|
|
|
this.mobileCollapsedStyleEditor.setStyle(elementCaseEditor.getMobileCollapsedStyle()); |
|
|
|
|
fix(elementCaseEditor.getMobileCollapsedStyle()); |
|
|
|
|
this.mobileCollapsedStyleEditor.setSelected(elementCaseEditor.getMobileCollapsedStyle().isCollapsedWork()); |
|
|
|
|
this.bingListeners2Widgets(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -191,7 +192,6 @@ public class ElementCaseDefinePane extends MobileWidgetDefinePane {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void update() { |
|
|
|
|
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified(); // 触发设计器保存按钮亮起来
|
|
|
|
|
String globalName = this.getGlobalName(); |
|
|
|
|
switch (globalName) { |
|
|
|
|
case "hComboBox": |
|
|
|
@ -220,6 +220,7 @@ public class ElementCaseDefinePane extends MobileWidgetDefinePane {
|
|
|
|
|
style.setCollapsedWork(this.mobileCollapsedStyleEditor.isSelectedCustom() && !FormDesignerUtils.isInAbsoluteLayout(xCreator)); |
|
|
|
|
((ElementCaseEditor) xCreator.toData()).setMobileCollapsedStyle(style); |
|
|
|
|
} |
|
|
|
|
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified(); // 触发设计器保存按钮亮起来
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void setGlobalNames() { |
|
|
|
|