brockcarson / controlp5

Automatically exported from code.google.com/p/controlp5
0 stars 0 forks source link

ListBox and al. could support generics #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
it would be nice to have support of generics to store anything in listboxes, 
radios and non-numeric widgets.

So I can do:
for(File f : myfiles) {
    d.addItem(f.getName(), f);
}

That way we can select objects more easily.
Thanks,

Charles

Original issue reported on code.google.com by charlesg...@gmail.com on 13 Dec 2011 at 11:28