Empyreus / lanterna

Automatically exported from code.google.com/p/lanterna
GNU Lesser General Public License v3.0
0 stars 0 forks source link

It would be nice to have radio buttons and a way to group them #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Having mutually exclusive selection options are well worth adding to the GUI 
component list. 

Original issue reported on code.google.com by m.vino...@gmail.com on 2 Jul 2012 at 7:28

GoogleCodeExporter commented 9 years ago
Yes, indeed. There are some components in the 1.0.x version but it wasn't very 
user friendly. I've cleaned up this code in the 2.0 snapshot, please give it a 
try!
`com.googlecode.lanterna.gui.component.RadioCheckBoxList`

Original comment by mab...@gmail.com on 7 Jul 2012 at 8:59

GoogleCodeExporter commented 9 years ago
yup. radio buttons work like a charm. I like that I can associate a custom 
object with the button rather than just a String enabling me to perform 
additional operations.

Original comment by m.vino...@gmail.com on 11 Jul 2012 at 5:33