setEnabled( this.cbVisible.getSelection( ) );
setVisibleState( cbVisible.getSelection( ) && cbVisible.isEnabled( ) );
	public void setLabel( org.eclipse.birt.chart.model.component.Label lbl,			String sUnits )	{		this.lblCurrent = lbl;		this.sUnits = sUnits;		this.fdCurrent = lblCurrent.getCaption( ).getFont( );		this.cdFont = lblCurrent.getCaption( ).getColor( );		this.fBackground = lblCurrent.getBackground( );		this.laCurrent = lblCurrent.getOutline( );		// update the UI		if ( this.bVisibilityEnabled )		{			this.cbVisible.setSelection( lblCurrent.isVisible( ) );			setEnabled( this.cbVisible.getSelection( ) );		}		if ( this.bInsetsEnabled )		{			this.insets = lblCurrent.getInsets( );			this.icInsets.setInsets( insets, this.sUnits );		}		if ( this.bShadowEnabled )		{			this.cdShadow = lblCurrent.getShadowColor( );			this.fccShadow.setFill( cdShadow );		}		this.fdcFont.setFontDefinition( fdCurrent );		this.fdcFont.setFontColor( cdFont );		this.fccBackground.setFill( fBackground );		this.liacOutline.setLineAttributes( laCurrent );		redraw( );	}