|
Kirlill,
I would probably have a no-arg constructor as well. Then also a separate getter/setter for the three arrays. I would have the Range array be the lead for how many ranges there would be an interpret the other two arrays in a lenient way (having no icon and a string that said "Empty" for missing/null elements) so that the component wouldn't fail mid-config.
Cheers,
Mikael |