private < T extends Enum < T > > EnumerationRadioButtonSelect < T > createRadioButtonGroup ( final T [ ] options ) { EnumerationRadioButtonSelect < T > rbSelect = new EnumerationRadioButtonSelect <> ( options ) ; rbSelect . setButtonLayout ( EnumerationRadioButtonSelect . Layout . FLAT ) ; rbSelect . setFrameless ( true ) ; return rbSelect ; }
Create a radio button select containing the options .