public void setAlphaSliderVisible ( boolean visible ) { if ( showAlphaPanel != visible ) { showAlphaPanel = visible ; /* * Force recreation. */ valShader = null ; satShader = null ; alphaShader = null ; hueBackgroundCache = null ; satValBackgroundCache = null ; requestLayout ( ) ; } }
Set if the user is allowed to adjust the alpha panel . Default is false . If it is set to false no alpha will be set .