private void setSelectedRadioButton ( final E enumValue ) { if ( enumValue != null ) { final JRadioButton radioButton = this . radioButtonMap . get ( enumValue ) ; radioButton . setSelected ( true ) ; } else { for ( final JRadioButton radioButton : this . radioButtonMap . values ( ) ) { radioButton . setSelected ( false ) ; } } }
Sets the selected radio button .