@ -67,19 +67,19 @@ public class MobileStyleDefinePane extends BasicBeanPane<MobileStyle> {
this . customBeanPane . populateBean ( ob ) ;
this . customBeanPane . populateBean ( ob ) ;
customCombo . setSelectedIndex ( ob . isCommonCustom ( ) ? 1 : 0 ) ;
customCombo . setSelectedIndex ( ob . isCommonCustom ( ) ? 1 : 0 ) ;
if ( ob . getBackground ( ) ! = null ) {
if ( ob . getCommon Background ( ) ! = null ) {
colorSelectBox . setSelectObject ( ( ( ColorBackground ) ob . getBackground ( ) ) . getColor ( ) ) ;
colorSelectBox . setSelectObject ( ( ( ColorBackground ) ob . getCommon Background ( ) ) . getColor ( ) ) ;
}
}
borderType . setSelectedLineStyle ( ob . getBorderType ( ) ) ;
borderType . setSelectedLineStyle ( ob . getCommon BorderType ( ) ) ;
if ( ob . getBorderColor ( ) ! = null ) {
if ( ob . getCommon BorderColor ( ) ! = null ) {
borderColor . setSelectObject ( ob . getBorderColor ( ) ) ;
borderColor . setSelectObject ( ob . getCommon BorderColor ( ) ) ;
}
}
borderRadius . setValue ( ob . getBorderRadius ( ) ) ;
borderRadius . setValue ( ob . getCommon BorderRadius ( ) ) ;
if ( ob . getIconColor ( ) ! = null ) {
if ( ob . getCommon IconColor ( ) ! = null ) {
iconColor . setSelectObject ( ob . getIconColor ( ) ) ;
iconColor . setSelectObject ( ob . getCommon IconColor ( ) ) ;
}
}
if ( ob . getFont ( ) ! = null ) {
if ( ob . getCommon Font ( ) ! = null ) {
fontConfigPane . populateBean ( ob . getFont ( ) ) ;
fontConfigPane . populateBean ( ob . getCommon Font ( ) ) ;
}
}
}
}
@ -89,12 +89,12 @@ public class MobileStyleDefinePane extends BasicBeanPane<MobileStyle> {
this . widget . setMobileStyle ( mobileStyle ) ;
this . widget . setMobileStyle ( mobileStyle ) ;
this . customBeanPane . updateBean ( ) ;
this . customBeanPane . updateBean ( ) ;
mobileStyle . setCommonCustom ( customCombo . getSelectedIndex ( ) = = 1 ) ;
mobileStyle . setCommonCustom ( customCombo . getSelectedIndex ( ) = = 1 ) ;
mobileStyle . setBackground ( ColorBackground . getInstance ( colorSelectBox . getSelectObject ( ) ) ) ;
mobileStyle . setCommon Background ( ColorBackground . getInstance ( colorSelectBox . getSelectObject ( ) ) ) ;
mobileStyle . setBorderType ( borderType . getSelectedLineStyle ( ) ) ;
mobileStyle . setCommon BorderType ( borderType . getSelectedLineStyle ( ) ) ;
mobileStyle . setBorderColor ( borderColor . getSelectObject ( ) ) ;
mobileStyle . setCommon BorderColor ( borderColor . getSelectObject ( ) ) ;
mobileStyle . setBorderRadius ( borderRadius . getValue ( ) ) ;
mobileStyle . setCommon BorderRadius ( borderRadius . getValue ( ) ) ;
mobileStyle . setIconColor ( iconColor . getSelectObject ( ) ) ;
mobileStyle . setCommon IconColor ( iconColor . getSelectObject ( ) ) ;
mobileStyle . setFont ( fontConfigPane . updateBean ( ) ) ;
mobileStyle . setCommon Font ( fontConfigPane . updateBean ( ) ) ;
return mobileStyle ;
return mobileStyle ;
}
}