|
|
@ -3,7 +3,6 @@ package com.fr.design.widget.ui.designer.mobile; |
|
|
|
import com.fr.design.designer.creator.XCreator; |
|
|
|
import com.fr.design.designer.creator.XCreator; |
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
import com.fr.design.mainframe.FormDesigner; |
|
|
|
import com.fr.design.mainframe.FormDesigner; |
|
|
|
import com.fr.design.widget.ui.designer.mobile.component.MobileTextEditSettingPane; |
|
|
|
|
|
|
|
import com.fr.design.widget.ui.designer.mobile.component.MobileTextFieldInputSettingPane; |
|
|
|
import com.fr.design.widget.ui.designer.mobile.component.MobileTextFieldInputSettingPane; |
|
|
|
import com.fr.form.ui.TextEditor; |
|
|
|
import com.fr.form.ui.TextEditor; |
|
|
|
|
|
|
|
|
|
|
@ -31,9 +30,10 @@ public class TextEditorMobileDefinePane extends BaseTextEditorMobileDefinePane { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void initSettingPane(JPanel container) { |
|
|
|
protected void initSettingPane(JPanel container) { |
|
|
|
inputSettingPane = new MobileTextFieldInputSettingPane(); |
|
|
|
inputSettingPane = new MobileTextFieldInputSettingPane(); |
|
|
|
textSettingPane = new MobileTextEditSettingPane(); |
|
|
|
/// 延期,屏蔽入口
|
|
|
|
|
|
|
|
/// textSettingPane = new MobileTextEditSettingPane();
|
|
|
|
container.add(inputSettingPane); |
|
|
|
container.add(inputSettingPane); |
|
|
|
container.add(textSettingPane); |
|
|
|
/// container.add(textSettingPane);
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -41,7 +41,7 @@ public class TextEditorMobileDefinePane extends BaseTextEditorMobileDefinePane { |
|
|
|
public void populate(FormDesigner designer) { |
|
|
|
public void populate(FormDesigner designer) { |
|
|
|
TextEditor textEditor = (TextEditor) getxCreator().toData(); |
|
|
|
TextEditor textEditor = (TextEditor) getxCreator().toData(); |
|
|
|
inputSettingPane.populateBean(textEditor.getMobileScanCodeAttr()); |
|
|
|
inputSettingPane.populateBean(textEditor.getMobileScanCodeAttr()); |
|
|
|
textSettingPane.populateBean(textEditor.getMobileTextEditAttr()); |
|
|
|
/// textSettingPane.populateBean(textEditor.getMobileTextEditAttr());
|
|
|
|
this.bindListeners2Widgets(); |
|
|
|
this.bindListeners2Widgets(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -49,7 +49,7 @@ public class TextEditorMobileDefinePane extends BaseTextEditorMobileDefinePane { |
|
|
|
public void update() { |
|
|
|
public void update() { |
|
|
|
TextEditor textEditor = (TextEditor) getxCreator().toData(); |
|
|
|
TextEditor textEditor = (TextEditor) getxCreator().toData(); |
|
|
|
inputSettingPane.updateBean(textEditor.getMobileScanCodeAttr()); |
|
|
|
inputSettingPane.updateBean(textEditor.getMobileScanCodeAttr()); |
|
|
|
textSettingPane.updateBean(textEditor.getMobileTextEditAttr()); |
|
|
|
/// textSettingPane.updateBean(textEditor.getMobileTextEditAttr());
|
|
|
|
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified(); |
|
|
|
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|