boolean bEnableUI = this.laCurrent.isVisible( ); if ( this.bEnableVisibility ) { cbVisible.setEnabled( bState ); } if ( this.bEnableStyles ) { lblStyle.setEnabled( bState & bEnableUI ); cmbStyle.setEnabled( bState & bEnableUI ); } if ( this.bEnableWidths ) { lblWidth.setEnabled( bState & bEnableUI ); cmbWidth.setEnabled( bState & bEnableUI ); } if ( this.bEnableColor ) { lblColor.setEnabled( bState & bEnableUI ); cmbColor.setEnabled( bState & bEnableUI ); } this.bEnabled = bState;
setAttributesEnabled( bState );
	public void setEnabled( boolean bState )	{		boolean bEnableUI = this.laCurrent.isVisible( );		if ( this.bEnableVisibility )		{			cbVisible.setEnabled( bState );		}		if ( this.bEnableStyles )		{			lblStyle.setEnabled( bState & bEnableUI );			cmbStyle.setEnabled( bState & bEnableUI );		}		if ( this.bEnableWidths )		{			lblWidth.setEnabled( bState & bEnableUI );			cmbWidth.setEnabled( bState & bEnableUI );		}		if ( this.bEnableColor )		{			lblColor.setEnabled( bState & bEnableUI );			cmbColor.setEnabled( bState & bEnableUI );		}		this.bEnabled = bState;	}