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