code: public final void setProgressBarType(final ProgressBarType type) {
  		ProgressBarType currentType = getProgressBarType();
  		ProgressBarType typeToSet = type == null ? DEFAULT_TYPE : type;
  		if (typeToSet != currentType) {
  			getOrCreateComponentModel().barType = typeToSet;
  		}
  	}
docs: Sets the progress bar type.
  
  @param type the progress bar type.