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