public boolean isSpeedControllerAvailable(int displaySlider){
switch (displaySlider) {
case STEPDISPLAY:
    return (speedSpinner != null);
case SLIDERDISPLAY:
  return (speedSlider != null);
case SLIDERDISPLAYCONTINUOUS:
return (speedSliderContinuous != null);
default :
return false;
}
}

public boolean isSpeedControllerAvailable ( int displaySlider ) { switch ( displaySlider ) { case STEPDISPLAY : return ( speedSpinner != null ) ; case SLIDERDISPLAY : return ( speedSlider != null ) ; case SLIDERDISPLAYCONTINUOUS : return ( speedSliderContinuous != null ) ; default : return false ; } }
is this speed control selection method possible ?
