@ -37,6 +37,7 @@ public class ITReplaceWestPanel {
private static final String HELP_URL = CloudCenter . getInstance ( ) . acquireUrlByKind ( "design.replace.help" , "https://help.fanruan.com/finereport/doc-view-4954.html?source=3" ) ;
private static final String HELP_URL = CloudCenter . getInstance ( ) . acquireUrlByKind ( "design.replace.help" , "https://help.fanruan.com/finereport/doc-view-4954.html?source=3" ) ;
private static final int FILL_COUNT = 12 ;
private static final int FILL_COUNT = 12 ;
public static final int LEFT_WIDTH = 100 ;
public static final int LEFT_WIDTH = 100 ;
public static final String CONTENT_TEXT = "<html><font color = 'rgb(255,255,255)'>" + Toolkit . i18nText ( "Fine-Design_Basic_Templates_Content" ) + "</font></html>" ;
public ITReplaceWestPanel ( ) {
public ITReplaceWestPanel ( ) {
@ -44,12 +45,12 @@ public class ITReplaceWestPanel {
iconLabel = new UILabel ( "<html><u><font color = 'rgb(61,153,249)'>" + Toolkit . i18nText ( "Fine-Design_Report_Community_Help" ) + "</font></u></html>" ) ;
iconLabel = new UILabel ( "<html><u><font color = 'rgb(61,153,249)'>" + Toolkit . i18nText ( "Fine-Design_Report_Community_Help" ) + "</font></u></html>" ) ;
UIToggleButton contentButton = new UIToggleButton ( Toolkit . i18nText ( "Fine-Design_Basic_Templates_Content" ) ) ;
UIToggleButton contentButton = new UIToggleButton ( Toolkit . i18nText ( "Fine-Design_Basic_Templates_Content" ) ) ;
contentButton . setText ( "<html><font color = 'rgb(255,255,255)'>" + Toolkit . i18nText ( "Fine-Design_Basic_Templates_Content" ) + "</font></html>" ) ;
contentButton . setText ( CONTENT_TEXT ) ;
contentButton . addActionListener ( new ActionListener ( ) {
contentButton . addActionListener ( new ActionListener ( ) {
@Override
@Override
public void actionPerformed ( ActionEvent e ) {
public void actionPerformed ( ActionEvent e ) {
if ( ! contentButton . isSelected ( ) ) {
if ( ! contentButton . isSelected ( ) ) {
contentButton . setText ( "<html><font color = 'rgb(255,255,255)'>" + Toolkit . i18nText ( "Fine-Design_Basic_Templates_Content" ) + "</font></html>" ) ;
contentButton . setText ( CONTENT_TEXT ) ;
} else {
} else {
contentButton . setText ( Toolkit . i18nText ( "Fine-Design_Basic_Templates_Content" ) ) ;
contentButton . setText ( Toolkit . i18nText ( "Fine-Design_Basic_Templates_Content" ) ) ;
}
}