@ -4,6 +4,8 @@ import com.fr.base.iofile.attr.FormTabPaddingAttrMark;
import com.fr.design.constants.LayoutConstants ;
import com.fr.design.constants.LayoutConstants ;
import com.fr.design.designer.IntervalConstants ;
import com.fr.design.designer.IntervalConstants ;
import com.fr.design.designer.creator.XCreator ;
import com.fr.design.designer.creator.XCreator ;
import com.fr.design.dialog.AttrScrollPane ;
import com.fr.design.dialog.BasicScrollPane ;
import com.fr.design.foldablepane.UIExpandablePane ;
import com.fr.design.foldablepane.UIExpandablePane ;
import com.fr.design.form.util.FormDesignerUtils ;
import com.fr.design.form.util.FormDesignerUtils ;
import com.fr.design.gui.frpane.AttributeChangeListener ;
import com.fr.design.gui.frpane.AttributeChangeListener ;
@ -15,7 +17,6 @@ import com.fr.design.mainframe.FormDesigner;
import com.fr.design.mainframe.WidgetPropertyPane ;
import com.fr.design.mainframe.WidgetPropertyPane ;
import com.fr.design.mainframe.widget.accessibles.AccessibleTemplateStyleEditor ;
import com.fr.design.mainframe.widget.accessibles.AccessibleTemplateStyleEditor ;
import com.fr.design.mainframe.widget.accessibles.MobileTemplateStylePane ;
import com.fr.design.mainframe.widget.accessibles.MobileTemplateStylePane ;
import com.fr.design.widget.ui.designer.mobile.component.MobileAdvanceInnerPane ;
import com.fr.design.widget.ui.designer.mobile.component.MobileBookMarkUsePane ;
import com.fr.design.widget.ui.designer.mobile.component.MobileBookMarkUsePane ;
import com.fr.design.widget.ui.designer.mobile.component.MobileComponentMarginPane ;
import com.fr.design.widget.ui.designer.mobile.component.MobileComponentMarginPane ;
import com.fr.design.widget.ui.designer.mobile.component.MobileComponentLayoutIntervalPane ;
import com.fr.design.widget.ui.designer.mobile.component.MobileComponentLayoutIntervalPane ;
@ -24,6 +25,7 @@ import com.fr.form.ui.container.cardlayout.WCardTagLayout;
import com.fr.general.cardtag.mobile.MobileTemplateStyle ;
import com.fr.general.cardtag.mobile.MobileTemplateStyle ;
import javax.swing.JPanel ;
import javax.swing.JPanel ;
import javax.swing.BorderFactory ;
import java.awt.BorderLayout ;
import java.awt.BorderLayout ;
import java.awt.Component ;
import java.awt.Component ;
@ -36,9 +38,20 @@ public class TabMobileWidgetDefinePane extends MobileWidgetDefinePane {
private MobileComponentLayoutIntervalPane intervalPane ;
private MobileComponentLayoutIntervalPane intervalPane ;
private MobileBookMarkUsePane mobileBookMarkUsePane ;
private MobileBookMarkUsePane mobileBookMarkUsePane ;
private MobileTabCommonSettingPane mobileTabCommonSettingPane ;
private MobileTabCommonSettingPane mobileTabCommonSettingPane ;
private JPanel contentJPanel ;
private BasicScrollPane scrollPane ;
public TabMobileWidgetDefinePane ( XCreator xCreator ) {
public TabMobileWidgetDefinePane ( XCreator xCreator ) {
this . xCreator = xCreator ;
this . xCreator = xCreator ;
contentJPanel = new JPanel ( ) ;
scrollPane = new AttrScrollPane ( ) {
@Override
protected JPanel createContentPane ( ) {
return contentJPanel ;
}
} ;
scrollPane . setBorder ( null ) ;
}
}
private void bindListeners2Widgets ( ) {
private void bindListeners2Widgets ( ) {
@ -61,6 +74,7 @@ public class TabMobileWidgetDefinePane extends MobileWidgetDefinePane {
@Override
@Override
public void initPropertyGroups ( Object source ) {
public void initPropertyGroups ( Object source ) {
this . setLayout ( FRGUIPaneFactory . createBorderLayout ( ) ) ;
this . setLayout ( FRGUIPaneFactory . createBorderLayout ( ) ) ;
this . setBorder ( BorderFactory . createEmptyBorder ( 10 , 0 , 10 , 0 ) ) ;
this . designer = WidgetPropertyPane . getInstance ( ) . getEditingFormDesigner ( ) ;
this . designer = WidgetPropertyPane . getInstance ( ) . getEditingFormDesigner ( ) ;
UILabel label = new UILabel ( com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Form_Tab_Style_Template" ) ) ;
UILabel label = new UILabel ( com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Form_Tab_Style_Template" ) ) ;
templateStyleEditor = new AccessibleTemplateStyleEditor ( new MobileTemplateStylePane ( ( WCardTagLayout ) xCreator . toData ( ) ) ) ;
templateStyleEditor = new AccessibleTemplateStyleEditor ( new MobileTemplateStylePane ( ( WCardTagLayout ) xCreator . toData ( ) ) ) ;
@ -89,7 +103,8 @@ public class TabMobileWidgetDefinePane extends MobileWidgetDefinePane {
//高级
//高级
holder . add ( advancePane , BorderLayout . CENTER ) ;
holder . add ( advancePane , BorderLayout . CENTER ) ;
this . add ( holder , BorderLayout . NORTH ) ;
contentJPanel . add ( holder , BorderLayout . CENTER ) ;
this . add ( scrollPane , BorderLayout . CENTER ) ;
}
}
@Override
@Override